question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

500 internal server error on heroku, fresh deploy

See original GitHub issue

Note: 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:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
browniebrokecommented, Feb 23, 2018

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' %} in base.html (remove the min bit in the name).

This seems to be a case I didn’t cater for in that PR: compressor + Gulp.

0reactions
Mihkscommented, Aug 27, 2020

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é

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found