-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import products job is stuck at pre-processing #4057
Comments
I have the same issue. Export writes the file to the public bucket Any help is appreciated, thanks |
This bug still exists in the latest version v1.11.0 released |
I have the same issue with public and private buckets |
Confirming same setup, same issue. This is using the CSV import example in the docs: Also to note, downloading the template in the admin dashboard returns the following inside of the CSV file: It does not return useful columns from importing. Exporting the products works correctly however. |
@zpuckeridge, we pushed several fixes to the Import-Export domain and file plugins last week. See most recent releases here. Can I get you to ensure you are using the latest versions? |
G'day @olivermrbl - I missed this! Oops! I can confirm, import is working for me now. Template button also works as expected. Awesome work! |
Bug report
Describe the bug
Import products list job is stuck in pre-processing. When a file is selected on the import product list modal, the file is uploaded and shows preprocessing but never gets processed. The UI doesn't show any signs of exceptions or errors but an error is thrown in the console window in which the
medusa develop
command is running.Im using the MinIO file plugin.
System information
Medusa version:
v1.10.0
Medusa MinIO plugin version:
v1.2.0
Node.js version:
v19.9.0
Database:
PostgreSQL
Operating system:
GNU/Linux
Steps to reproduce the behavior
Expected behavior
The file should finish preprocessing and the import process should start. After that the imported products should show on the product list.
Screenshots
MinIO file key
![image](https://private-user-images.githubusercontent.com/39545521/237130554-eb63f2f6-791f-411c-a973-79d8191c152f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzg4ODMsIm5iZiI6MTczOTM3ODU4MywicGF0aCI6Ii8zOTU0NTUyMS8yMzcxMzA1NTQtZWI2M2YyZjYtNzkxZi00MTFjLWE5NzMtNzlkODE5MWMxNTJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE2NDMwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzZTA4OTI2YmU5NWI5ZmQ1OTA5YmMwOTU2YjQ2MmI2MTZkZGNjNWNiZThmZjc4NWM2ZTI5MDUzYTVjNDM5NDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IwNVFXNN77sWQgSeLuQ5q4XIAH3Mw7hD1rHZ9wtcbQo)
Batch Job context in database
![image](https://private-user-images.githubusercontent.com/39545521/237130791-a6f21657-339f-487c-a1fb-1a527c80584d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzg4ODMsIm5iZiI6MTczOTM3ODU4MywicGF0aCI6Ii8zOTU0NTUyMS8yMzcxMzA3OTEtYTZmMjE2NTctMzM5Zi00ODdjLWExZmItMWE1MjdjODA1ODRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE2NDMwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliMWNkODA2OGNhMTJhZTAzMDYyODI5OTQ3MTYyNjk5NGVjZDJkYTBmMTRmZmIyMmU4ZjhiNjI5OWMwOTQwOTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.h-r8swbZ-_QiGYJ-a048HBG-kK4Wx8mci78yE3i-NYc)
Additional context
Plugin Configuration
API responses
POST `/admin/uploads/protected`
POST `/admin/batch-jobs`
GET `admin/batch-jobs/batch_01H00E6H1N8RT3TDZB61MG99Z5`
The text was updated successfully, but these errors were encountered: