mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-14 14:06:39 +02:00
Updated Troubleshooting (markdown)
parent
2258a7825c
commit
4d6eeda6c1
@ -206,3 +206,18 @@ If you don't see anything happening after you triggered a webhook, double-check
|
|||||||
### DBShell in Netbox container doesn't work
|
### DBShell in Netbox container doesn't work
|
||||||
|
|
||||||
We don't install `psql` into the Netbox container. Because of this the command `./manage.py dbshell` will not work. To access the database shell directly use the command mentioned under the section [Database Operations](#database-operations).
|
We don't install `psql` into the Netbox container. Because of this the command `./manage.py dbshell` will not work. To access the database shell directly use the command mentioned under the section [Database Operations](#database-operations).
|
||||||
|
|
||||||
|
### Netbox Container doesn't start when IPv6 is disabled
|
||||||
|
|
||||||
|
You can disable the IPv6 listener in the container by replacing the Nginx Unit configuration. Make a copy of the the `nginx-unit.json` from our repository (from the tag you are using) and remove the IPv6 listener section:
|
||||||
|
```json
|
||||||
|
"[::]:8080": {
|
||||||
|
"pass": "routes"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
NOTE: Also remove the trailing comma
|
||||||
|
|
||||||
|
After the section is removed you need to mount the new configuration file into the container. This can be done in a `volumes` section in `docker-compose.override.yml` with the following line:
|
||||||
|
```yaml
|
||||||
|
- /opt/netbox/configuration/nginx-unit.json:/etc/unit/nginx-unit.json:ro
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user