New installation - multiple containers fail to start

Hello,

I’m new to greenbone, this is the first time i attempt to install the solution. I have downloaded the docker-compose file from the tutorial “https://greenbone.github.io/docs/latest/22.4/container/index.html” but when i try to bring the containers up i face multiple problems:

1- redis-server container keeps restarting due to permission issues on the mapped folder redis_socket_vol. temporary fix is to set permissions 777 and then chown from root:root to the user from inside that container.

2- ospd-openvas container: exit(0), same reason as above, same temp workaround.

3- pg-gvm-1: fails to start because /var/lib/postgresql/13/main is not accessible or does not exist. PS: i tried with both version stable and 22.6.10 as suggested in another post. same error in both version. i tried to launch the container without mapped volume, it starts but then container gvmd can’t connect to the postgres db because no socket exist for it.

I must be doing something wrong but can’t figure out what, anyone can help troubleshoot ?

I’m on almalinux 9.6 with Docker version 28.5.1

1 Like

Helped

docker volume rm greenbone-community-edition_redis_socket_vol

The solution for the redis issue is also already documented at

2 Likes

My mistake was trying create the data folder in the /home directory which created a whole lot of permission problems. I allowed docker manage these volumes and now the containers start properly and i am able to login and run scans.

thank you for the help.