From 515fb7ad5a082c87ac889fbc8525c7d4f70240e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Tue, 25 Jul 2023 12:11:13 +0200 Subject: [PATCH 1/3] Change: Update GSA to 22.5.2 to fix links to the manual --- src/22.4/source-build/index.md | 2 +- src/changelog.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/22.4/source-build/index.md b/src/22.4/source-build/index.md index 18395d42..655b8bc5 100644 --- a/src/22.4/source-build/index.md +++ b/src/22.4/source-build/index.md @@ -100,7 +100,7 @@ The Greenbone Security Assistant (GSA) sources consist of two parts: ```{code-block} :caption: Setting the GSA version to use -export GSA_VERSION=22.5.1 +export GSA_VERSION=22.5.2 ``` ```{include} /22.4/source-build/gsa/download.md diff --git a/src/changelog.md b/src/changelog.md index 8c88e6d2..30c96ef3 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -8,7 +8,7 @@ and this project adheres to [Calendar Versioning](https://calver.org). ## Latest * Update gvmd to 22.6.0 * Update gsad to 22.5.1 -* Update GSA to 22.5.1 +* Update GSA to 22.5.2 * Update ospd-openvas to 22.5.3 * Update openvas-scanner to 22.7.3 * Remove *Setting the Version* chapter From b1122d8ab6c69290976a406ad7ad50441146fa45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Tue, 25 Jul 2023 12:11:40 +0200 Subject: [PATCH 2/3] Add symlink to the docker compose file Allow to reference the compose file without the version from the local file system. --- src/_static/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) create mode 120000 src/_static/docker-compose.yml diff --git a/src/_static/docker-compose.yml b/src/_static/docker-compose.yml new file mode 120000 index 00000000..b5365d3a --- /dev/null +++ b/src/_static/docker-compose.yml @@ -0,0 +1 @@ +docker-compose-22.4.yml \ No newline at end of file From 8ffe0e4514e9c3c126bdec0993507fdb1027a345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Tue, 25 Jul 2023 12:12:35 +0200 Subject: [PATCH 3/3] Add: Add a section about fixing a redis-server container issue Extend the troubleshooting to add a section for fixing a nasty issue with the redis-server and the permissions of the unix socket. --- src/22.4/container/troubleshooting.md | 19 +++++++++++++++++++ src/changelog.md | 2 ++ 2 files changed, 21 insertions(+) diff --git a/src/22.4/container/troubleshooting.md b/src/22.4/container/troubleshooting.md index 78f566fb..623608b3 100644 --- a/src/22.4/container/troubleshooting.md +++ b/src/22.4/container/troubleshooting.md @@ -87,3 +87,22 @@ caption: Restart {term}`gvmd` docker-compose -f $DOWNLOAD_DIR/docker-compose.yml -p greenbone-community-edition \ restart gvmd ``` + +### Redis Server keeps restarting `rm: cannot remove ‘/run/redis/redis.sock’: Permission denied` + +Under some circumstances the [Unix Domain Socket](https://en.wikipedia.org/wiki/Unix_domain_socket) +of the redis server has got wrong permissions. To fix this issue it is required +to shutdown the `redis-server` and `ospd-openvas` containers and remove the +`redis_socket_vol` [docker volume](https://docs.docker.com/storage/volumes/). +The volume can be removed safely because it gets re-created on the next startup. + +```{code-block} shell +--- +caption: Re-create redis server socket volume +--- +docker-compose -f $DOWNLOAD_DIR/docker-compose.yml -p greenbone-community-edition \ + rm -s -f redis-server ospd-openvas +docker volume rm greenbone-community-edition_redis_socket_vol +docker-compose -f $DOWNLOAD_DIR/docker-compose.yml -p greenbone-community-edition \ + up -d +``` diff --git a/src/changelog.md b/src/changelog.md index 30c96ef3..25dddbb5 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -14,6 +14,8 @@ and this project adheres to [Calendar Versioning](https://calver.org). * Remove *Setting the Version* chapter * Document how to configure a mail transport agent (MTA) for the community containers +* Add section about redis-socket error to troubleshooting chapter of the + community containers ## 23.6.2 – 23-06-27 * Update to use Debian 12 (bookworm)