diff --git a/Troubleshooting.md b/Troubleshooting.md index ca08ea9..b3392b7 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -205,4 +205,19 @@ If you don't see anything happening after you triggered a webhook, double-check ### 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). \ No newline at end of file +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 +```