diff --git a/Troubleshooting.md b/Troubleshooting.md index 19d3369..1ee3b60 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -3,7 +3,7 @@ If your issue is not here, look through [the existing issues][issues] and eventu [issues]: (https://github.com/netbox-community/netbox-docker/issues) -### Docker Compose basics +## Docker Compose basics See all running containers: @@ -80,6 +80,24 @@ Restore of the _media_ directory: docker-compose exec -T netbox tar x -jvf - -C /opt/netbox/netbox/media < media-backup.tar.bz2 ``` +### Netbox Worker Operations + +See the status of the worker queue: + +```bash +docker-compose run --rm netbox-worker rqstats +``` + +### Netbox Shell (nbshell) + +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 +``` + +## Frequently Asked Questions (FAQ) and Common Problems + ### Nginx doesn't start As a first step, stop your docker-compose setup.