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
367 stars 102 forks source link

[BUG] Docker container exited right after start sql_exec_internal failed #309

Open bsusta opened 4 days ago

bsusta commented 4 days ago

Describe the bug Docker container exited right after start.

docker logs openvas

Migrate the database if needed.

(gvmd:234): md manage-WARNING **: 14:08:52.074: sql_exec_internal: PQexec failed: ERROR: role "dba" does not exist (7)

(gvmd:234): md manage-WARNING **: 14:08:52.074: sql_exec_internal: SQL: SET ROLE "dba";

(gvmd:234): md manage-WARNING **: 14:08:52.074: sqlv: sql_exec_internal failed Container stopped, performing shutdown waiting for server to shut down.... done server stopped

To Reproduce docker run --detach --publish 8080:9392 -e PASSWORD="Your admin password here" --name openvas immauss/openvas docker restart openvas

Environment (please complete the following information):

immauss commented 2 days ago

Please see here:

https://github.com/immauss/openvas/discussions/311

Thanks, Scott