immauss / openvas

Containers for running the Greenbone Vulnerability Manager. Run as a single container with all services or separate single applications containers via docker-compose.
GNU Affero General Public License v3.0
355 stars 102 forks source link

fs-setup.sh error #183

Closed shandshellin closed 1 year ago

shandshellin commented 1 year ago

had to run this manually with the correct spelling of the folder /run/postgresql can you update the script in the image?

arm:latest

Fix ownership and permissions

chown -R postgres:postgres /data/database /data/var-log/postgresql /run/postgres ****/run/postgresql chmod 750 /data/database chmod 770 /run/gvm /run/ospd /var/lib/gvm/gvmd/gnupg /run/gsad chown -R gvm:gvm /data/var-lib/openvas /data/local-share/gvm /data/var-log/gvm /data/var-lib/gvm /run/gvm* /run/ospd /run/gsad /etc/openvas/gnupg chmod 777 /run chmod 740 /run/mosquitto /var/log/mosquitto chown mosquitto /run/mosquitto /var/log/mosquitto chown -R postfix:postfix /var/lib/postfix chown -R gvm:gvm /data/var-lib/notus

shandshellin commented 1 year ago

Also this folder appears to be empty

/var/lib/notus/* for the cp

immauss commented 1 year ago

Thank you. I've made those changes in my base. I don't think it was causing any issues with the container, so it will push out with the next release.

Thanks, Scott