500 internal server error on heroku, fresh deploy
See original GitHub issueNote: for support questions, please use the cookiecutter-django
tag on stackoverflow. This repository’s issues are reserved for feature requests and bug reports. If you need quick professional paid support for your project, contact support@cookiecutter.io.
-
I’m submitting a
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
-
What is the current behavior? My app works in my local environment, but when I deploy to heroku and try to access any page, this is the error I get in sentry:
ValueError
Missing staticfiles manifest entry for 'css/project.min.css'
compressor/templatetags/compress.py in get_original_content at line 123
compressor/templatetags/compress.py in get_compressor at line 39
compressor/templatetags/compress.py in render_compressed at line 98
compressor/templatetags/compress.py in render at line 131
Called from: django/template/base.py in render_annotated
-
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem I just deployed a fresh install to heroku following the docs.
-
Please tell us about your environment: I’m using Whitenoise, everything is working fine in local dev.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Heroku giving 500 error with little information + Internal Server ...
Locally the app works but when I pushed it to heroku I was getting an internal server error. Then I realized that the...
Read more >500 internal server error on heroku, fresh deploy #1527 - GitHub
Tried to deploy node-js-demo-app to Heroku from https://github.com/mjstenbe/HerokuDemo. The app is cloned from heroku sample app repo. After ...
Read more >When I am trying to add github repo to a heroku app it throws ...
When I am trying to add github repo to a heroku app it throws "Internal Server Error". The same ...
Read more >Using the Heroku logs to fix an Internal Server Error - O'Reilly
Using the Heroku logs to fix an Internal Server Error. Get full access to Complete Python Web Course: Build 8 Python Web Applications...
Read more >500 Error - Fix Laravel Heroku 500 Message - Webune
To fix a 500 error on your Laravel Application, follow these instructions: This is because you have not setup the a key, we...
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
Ok, found some time to look into this. I can reproduce, and I’ve confirmed my suspicions that it’s related to #1429. The fix is to replace
{% static 'css/project.min.css' %}
by{% static 'css/project.css' %}
inbase.html
(remove themin
bit in the name).This seems to be a case I didn’t cater for in that PR: compressor + Gulp.
sorry, je cherche un peu partout depuis des jours donc quand j’ai vu cette discussion je me suis dit que je pourrai avoir la solution, chui désespéré !Encore désolé