Please copy/symlink the 'missing image' image
See original GitHub issuewhen I try to deploy an Oscar-based site to Heroku, I get this error:
Please copy/symlink the 'missing image' image at /app/slstore/slstore/public/media/image_not_found.jpg into your MEDIA_ROOT at /app/slstore/slstore/public/media. This exception was raised because Oscar was unable to symlink it for you.
I would think that running the collectstatic command would create the public and media dirs and put this file in the media dir. Is that not the case?
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Django-Oscar Images Error - python - Stack Overflow
I am using Django-Oscar in Mac (mavericks). and everything looks fine but, it doesnt show any image that are correctly uploaded. in the...
Read more >"Please copy/symlink the 'missing image'..." exception when ...
"Please copy/symlink the 'missing image'..." exception when MEDIA_ROOT folders are not created.
Read more >Storage link not loading image after symlink - Laracasts
Hello Team,. I have run the command - php artisan storage:link. Then it created a folder in /project/public/ with the name /storage/custom_folder/images.jpg.
Read more >symlink files | HostGator Support
So, it's like having a copy of the file in more than one folder, when actually ... ln -s /home/user/public_html/attachments/Image/_vti_cnf /home/user/vti.
Read more >azcopy copy | Microsoft Learn
Upload a single file by using OAuth authentication. If you haven't yet logged into AzCopy, please run the azcopy login command before you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had this same problem with S3 (using Oscar 0.7) and was able to resolve it by placing the following in my settings.py (having properly set my MEDIA_URL for S3 and manually uploaded the missing image placeholder there):
@rayrrr your answer was on absolute help to fixing that bug in my code. Thanks