Closed bhushanmeetanshi closed 4 months ago
Hi, @bhushanmeetanshi
I guess you have created the catalog
folder within src/media
, and you can find it within the Docker container.
After generating your CSV files, ensure that the media
directory exists within the Docker container executing the bin/cli ls
script.
Ensure that the volume mappings in your compose.dev.yaml
are correctly configured:
Add the line - ./src/media:/var/www/html/media:cached
to the volumes
section.
If you have any more questions, I will be happy to help you :)
@YevhenZvieriev i have created the media directory in the src root
but its not able to generated csv file from backend admin panel
its create the csv in src/pub/media
instead of src/media
directory.
Do you expect to generate files in the src/media
or src/pub/media
?
Are you sure that the config path for generating in the CSV files is src/media
?
yes i have expected both but its based on backend configuration
If i have set yes option then it will generate in src/media
path
If i have set No option then it will generate in src/pub/media
path
If i have set yes option then it will generate in src/media
path. thats not working for me
If i have set No option then it will generate in src/pub/media
path. its working for me as per your guidance.
Description Hi i am unable to create media folder in magento docker (ubuntu)
Steps To Reproduce
Expected Result Should able to create a directory in .
/src/media/catalog/product/a/b/1.csv
after executing all above steps.Actual Result unable to create a media folder in root src directory in magento after csv upload using magento docker.