[GH-ISSUE #432] debug = "False" not working #322

Closed
opened 2026-02-25 23:42:02 +03:00 by kerem · 5 comments
Owner

Originally created by @blade1989 on GitHub (Sep 28, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/432

The debug mode will not de disabled. We have set the debug = "False" option in /opt/healthchecks/hc/local_settings.py, but we still see the debug warning:

Running in debug mode, do not use in production.

We also appended debug = "False" to /opt/healthchecks/hc/settings.py, but it still exists!

Any help is greatly appreciated!

Originally created by @blade1989 on GitHub (Sep 28, 2020). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/432 The debug mode will not de disabled. We have set the `debug = "False"` option in `/opt/healthchecks/hc/local_settings.py`, but we still see the debug warning: > Running in debug mode, do not use in production. We also appended ``debug = "False"`` to `/opt/healthchecks/hc/settings.py`, but it still exists! Any help is greatly appreciated!
kerem closed this issue 2026-02-25 23:42:02 +03:00
Author
Owner

@cuu508 commented on GitHub (Sep 28, 2020):

The setting names are all in UPPERCASE. DEBUG takes a boolean value (False, without quotes).
Please try adding:

DEBUG = False
<!-- gh-comment-id:699867307 --> @cuu508 commented on GitHub (Sep 28, 2020): The setting names are all in UPPERCASE. `DEBUG` takes a boolean value (`False`, without quotes). Please try adding: DEBUG = False
Author
Owner

@blade1989 commented on GitHub (Sep 28, 2020):

Thanks for the reply, I changed the string to DEBUG = False, but now I get a 500 error when visiting the website? 🤔

<!-- gh-comment-id:699889053 --> @blade1989 commented on GitHub (Sep 28, 2020): Thanks for the reply, I changed the string to `DEBUG = False`, but now I get a 500 error when visiting the website? :thinking:
Author
Owner

@blade1989 commented on GitHub (Sep 28, 2020):

@cuu508 When I add the quotes back, I can browse the website again? 🤔

<!-- gh-comment-id:699894833 --> @blade1989 commented on GitHub (Sep 28, 2020): @cuu508 When I add the quotes back, I can browse the website again? :thinking:
Author
Owner

@cuu508 commented on GitHub (Sep 28, 2020):

@blade1989 check out #203 and #283

<!-- gh-comment-id:699898607 --> @cuu508 commented on GitHub (Sep 28, 2020): @blade1989 check out #203 and #283
Author
Owner

@cuu508 commented on GitHub (Oct 1, 2020):

@blade1989 did you manage to get it working?

<!-- gh-comment-id:701911127 --> @cuu508 commented on GitHub (Oct 1, 2020): @blade1989 did you manage to get it working?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#322
No description provided.