You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to run docker compose run --rm netbox ./manage.py nbshell I get the following output:
% docker compose run --rm netbox ./manage.py nbshell
WARN[0000] mount of type `volume` should not define `bind` option
Traceback (most recent call last):
File "/opt/netbox/netbox/./manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
I'm using the develop-branch debian-build 61a3afb and docker-compose up -d runs all the services as expected.
Expected Behavior
In prior builds/versions, this command worked docker compose run --rm netbox ./manage.py nbshell without any changes on my end. It seems like the netbox Python environment isn't being activated or referenced as it was before.
I do see the entries in the wiki regarding this. But those seem like workarounds more than addressing the issue. As I said in the OP, I've always used docker compose run --rm netbox ./manage.py nbshell without manually sourcing the venv or pointing to a specific Python binary in the container.
Current Behavior
When I attempt to run
docker compose run --rm netbox ./manage.py nbshell
I get the following output:I'm using the develop-branch debian-build 61a3afb and
docker-compose up -d
runs all the services as expected.Expected Behavior
In prior builds/versions, this command worked
docker compose run --rm netbox ./manage.py nbshell
without any changes on my end. It seems like the netbox Python environment isn't being activated or referenced as it was before.Docker Compose Version
Docker Compose version v2.6.0
Docker Version
The git Revision
f80cc70
The git Status
Startup Command
docker-compose up -d
NetBox Logs
Content of docker-compose.override.yml
The text was updated successfully, but these errors were encountered: