Healthchecks: No module named django after install #2009

Closed
opened 2026-02-05 03:19:04 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @florianbussmann on GitHub (Nov 15, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Healthchecks

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/healthchecks.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve)

📝 Provide a clear and concise description of the issue.

Follow up after switch to uv based on https://github.com/community-scripts/ProxmoxVE/issues/9165

Running migration.py for Healthchecks fails during install with ModuleNotFoundError: No module named 'django' although it is listed as installed by uv beforehand + django==5.2.5

🔄 Steps to reproduce the issue.

Fresh install using bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/healthchecks.sh)"

Paste the full error output (if available).

✔️ Deployed: healthchecks (3.11.2)
Setup healthchecksUsing Python 3.13.5 environment at: /usr
Resolved 32 packages in 1.71s
Built oncalendar==1.1
Built rjsmin==1.2.2
Built rcssmin==1.1.2
Prepared 32 packages in 3.90s
Installed 32 packages in 115ms

  • aiosmtpd==1.4.6
  • annotated-types==0.7.0
  • asgiref==3.10.0
  • atpublic==6.0.2
  • attrs==25.4.0
  • cffi==2.0.0
  • cronsim==2.6
  • cryptography==46.0.3
  • django==5.2.5
  • django-appconf==1.2.0
  • django-compressor==4.5.1
  • django-stubs-ext==5.2.2
  • fido2==2.0.0
  • gunicorn==23.0.0
  • oncalendar==1.1
  • packaging==25.0
  • psycopg==3.2.9
  • pycparser==2.23
  • pycurl==7.45.6
  • pydantic==2.11.7
  • pydantic-core==2.33.2
  • pyjwt==2.10.1
  • pyotp==2.9.0
  • rcssmin==1.1.2
  • rjsmin==1.2.2
  • segno==1.6.6
  • sqlparse==0.5.3
  • statsd==4.0.1
  • typing-extensions==4.15.0
  • typing-inspection==0.4.2
  • wheel==0.45.1
  • whitenoise==6.9.0
    Traceback (most recent call last):
    File "/opt/healthchecks/manage.py", line 9, in
    from django.core.management import execute_from_command_line
    ModuleNotFoundError: No module named 'django'

[ERROR] in line 86: exit code 0: while executing command $STD uv run -- python manage.py makemigrations

[ERROR] in line 1346: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

No response

Originally created by @florianbussmann on GitHub (Nov 15, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Healthchecks ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/healthchecks.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve) ### 📝 Provide a clear and concise description of the issue. Follow up after switch to uv based on https://github.com/community-scripts/ProxmoxVE/issues/9165 Running migration.py for [Healthchecks](https://community-scripts.github.io/ProxmoxVE/scripts?id=healthchecks) fails during install with `ModuleNotFoundError: No module named 'django'` although it is listed as installed by uv beforehand `+ django==5.2.5` ### 🔄 Steps to reproduce the issue. Fresh install using bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/healthchecks.sh)" ### ❌ Paste the full error output (if available). ✔️ Deployed: healthchecks (3.11.2) ⏳ Setup healthchecksUsing Python 3.13.5 environment at: /usr Resolved 32 packages in 1.71s Built oncalendar==1.1 Built rjsmin==1.2.2 Built rcssmin==1.1.2 Prepared 32 packages in 3.90s Installed 32 packages in 115ms + aiosmtpd==1.4.6 + annotated-types==0.7.0 + asgiref==3.10.0 + atpublic==6.0.2 + attrs==25.4.0 + cffi==2.0.0 + cronsim==2.6 + cryptography==46.0.3 + django==5.2.5 + django-appconf==1.2.0 + django-compressor==4.5.1 + django-stubs-ext==5.2.2 + fido2==2.0.0 + gunicorn==23.0.0 + oncalendar==1.1 + packaging==25.0 + psycopg==3.2.9 + pycparser==2.23 + pycurl==7.45.6 + pydantic==2.11.7 + pydantic-core==2.33.2 + pyjwt==2.10.1 + pyotp==2.9.0 + rcssmin==1.1.2 + rjsmin==1.2.2 + segno==1.6.6 + sqlparse==0.5.3 + statsd==4.0.1 + typing-extensions==4.15.0 + typing-inspection==0.4.2 + wheel==0.45.1 + whitenoise==6.9.0 Traceback (most recent call last): File "/opt/healthchecks/manage.py", line 9, in <module> from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django' [ERROR] in line 86: exit code 0: while executing command $STD uv run -- python manage.py makemigrations [ERROR] in line 1346: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 03:19:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2009