diff --git a/Troubleshooting.md b/Troubleshooting.md index f096a14..9c3b73c 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -91,7 +91,7 @@ docker-compose exec -T netbox tar x -jvf - -C /opt/netbox/netbox/media < media-b See the status of the worker queue: ```bash -docker-compose run --rm netbox-worker rqstats +docker-compose run --rm netbox-worker /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py rqstats ``` ### Netbox Shell (nbshell) @@ -99,7 +99,7 @@ docker-compose run --rm netbox-worker rqstats The _nbshell_ is a way to quickly get programmatic access to Netbox. It offers about the same interface as the Netbox REST API. ```bash -docker-compose run --rm netbox ./manage.py nbshell +docker-compose run --rm netbox /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py nbshell ``` ## Frequently Asked Questions (FAQ) and Common Problems