Answer the question
In order to leave comments, you need to log in
How to solve the error in the logs?
Hello! I'm setting up a django site on heroku. There were problems with the team git push heroku master
, the answer to the stackoverflow helped where it says in settings.py to add this
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
.Honestly, I did not understand how it helped, but it helped. But now when I start the application, I get an errorApplication error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
2020-09-13T14:16:18.780834+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=intense-sands-76742.herokuapp.com request_id=cf6bed7d-64e3-4ab3-803c-db7770ffadaf fwd="85.249.164.167" dyno= connect= service= status=503 bytes= protocol=https
2020-09-13T14:16:20.429109+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=intense-sands-76742.herokuapp.com request_id=d8d77007-d3ad-4907-9e43-c225e98e7c35 fwd="85.249.164.167" dyno= connect= service= status=503 bytes= protocol=https
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question