From 76d7f5e43e9f2b4eccff5fd8723c65b70e61a84f Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Wed, 31 Aug 2022 13:37:32 +0200 Subject: [PATCH] Added section for dbshell command --- Troubleshooting.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index a6c960d..2c5f901 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -200,4 +200,8 @@ docker compose run --rm -T redis sh -c 'redis-cli -h redis -a $REDIS_PASSWORD mo # Hit CTRL-C a few times to leave ``` -If you don't see anything happening after you triggered a webhook, double-check the configuration of the `netbox` and the `netbox-worker` containers, and also check the configuration of your webhook in the admin interface of NetBox. \ No newline at end of file +If you don't see anything happening after you triggered a webhook, double-check the configuration of the `netbox` and the `netbox-worker` containers, and also check the configuration of your webhook in the admin interface of NetBox. + +### DBShell in Netbox container doen'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