mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-19 17:40:22 +02:00
Updated Troubleshooting (markdown)
parent
854a2101e3
commit
37bdc1c13b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user