[GH-ISSUE #2153] Server install.sh fails with missing django #1338

Closed
opened 2026-03-02 02:22:37 +03:00 by kerem · 2 comments
Owner

Originally created by @davemc50 on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2153

  • OS: Debian 12.9 clean install

  • RMM Version v0.20.1

  • Standard install script

`Traceback (most recent call last):
File "/rmm/api/tacticalrmm/manage.py", line 10, in main
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/rmm/api/tacticalrmm/manage.py", line 21, in
main()
File "/rmm/api/tacticalrmm/manage.py", line 12, in main
raise ImportError(
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
`

Originally created by @davemc50 on GitHub (Feb 24, 2025). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2153 - OS: Debian 12.9 clean install - RMM Version v0.20.1 - Standard install script `Traceback (most recent call last): File "/rmm/api/tacticalrmm/manage.py", line 10, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/rmm/api/tacticalrmm/manage.py", line 21, in <module> main() File "/rmm/api/tacticalrmm/manage.py", line 12, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? `
kerem closed this issue 2026-03-02 02:22:38 +03:00
Author
Owner

@davemc50 commented on GitHub (Feb 24, 2025):

Temporary workaround....
install.sh as downloaded, modify
after this line
pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt
add
pip install --no-cache-dir Django

django is listed in requirements.txt, but perhaps there is a version issue.

<!-- gh-comment-id:2679792226 --> @davemc50 commented on GitHub (Feb 24, 2025): Temporary workaround.... install.sh as downloaded, modify after this line pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt add pip install --no-cache-dir Django django is listed in requirements.txt, but perhaps there is a version issue.
Author
Owner

@wh1te909 commented on GitHub (Feb 25, 2025):

closing as LXC not supported

<!-- gh-comment-id:2681074040 --> @wh1te909 commented on GitHub (Feb 25, 2025): closing as LXC not supported
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/tacticalrmm#1338
No description provided.