Problems with staticfiles.json while using ManifestStaticS3Storage
See original GitHub issueHello @etianen
I’m having trouble setting up static files using django_s3_storage.storage.ManifestStaticS3Storage
. While accessing static files via static tag or using collectstatic, I’m getting Exception:
OSError: S3Storage error at u’staticfiles.json’: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.
Everything works while using django_s3_storage.storage.StaticS3Storage
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Store static files on S3 but staticfiles.json manifest locally
I can see two problems with that: My app's storage instance would have to fetch staticfiles.
Read more >An empty staticfiles.json causes Internal server error - FramaGit
It appear that the file /var/ideascube/static/staticfiles.json somehow get empty. When the device start, the ideascube software runs migration ...
Read more >staticfiles.json keeps deleted entries when collectstatic is run
There are at least a few problems caused by the current setup: 1) It can lead to hard-to-find asset bugs. If you rename...
Read more >Store static files on S3 but staticfiles.json manifest locally
Django : Store static files on S3 but staticfiles. json manifest locally [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >The staticfiles app — Django 4.1.4 documentation
For guidelines on deploying static files, see How to deploy static ... names for all processed files in a file called staticfiles.json ....
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
Ahahahahahaahahaha!!!
WHY NOT BOTH!???!?!?!!! 😄 😄
https://github.com/etianen/django-s3-storage/blob/master/django_s3_storage/storage.py#L28
That’s the silliest bit of code I’m going to write all week. 😛
Let me know if it works for you.
On 26 June 2017 at 09:56, Matthias Kestenholz notifications@github.com wrote:
Oh, oops, NOW it’s fixed in master.