mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #1258] Upgade from 3.11 to 4.0: "Cannot resolve keyword 'n_pings' into field." #848
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#848
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mathieumd on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1258
I upgraded from 3.11 to 4.0, and since then, each ping received get a server error 500:
Looks like there are two problems:
django.core.exceptions.FieldError: Cannot resolve keyword 'n_pings' into field. Choices are: body_raw, created, exitstatus, id, kind, method, n, object_size, owner, owner_id, remote_addr, rid, scheme, uaValueError: The ADMINS setting must be a list of 2-tuples.(which loops a few times)The first,
n_pings, is the main one. I don't understand, because I did run migrations:However,
EMAIL_HOSTis set in the environment. Just like for the second problem,ADMINS. Both are set as an environmental variable by Systemd from.envfile. They are well defined in process environment:Did I missed something for the upgrade?
@cuu508 commented on GitHub (Jan 26, 2026):
The
The ADMINS setting must be a list of 2-tuples.error makes me think you don't have the correct version of Django installed. Did you install the dependencies listed in requirements.txt?@mathieumd commented on GitHub (Jan 26, 2026):
Thank you very much!
Indeed, I completely missed out this step.
Sorry for wasting you time!