Closed AlexanderLieret closed 2 years ago
please provide the logs of docker compose logs
or docker-compose logs
and also the logs from /var/log/supervisord/
and /var/log/gvm/
I'm not able to reproduce it, just starting a new fresh container via docker-compose but can't see currently any problem here. But I wait 30 minutes to check then if the problem shows up.
ℹ️ A just started container, with volumes need his time to initialize. Based on system and internet connection (basically only the system does matter her) it takes minutes, hours or sometimes days to finish. If your webui is working after 5 minutes, look to the feed status you will see if the system has done it and is ready. If it is still updating you not ready.
I don't see any network traffic on this machine which you would indicate that there is an upgrade in progress.
On my end it looks like the intialization fails because the inital download file is missing when mounting with paths.
try the deineagenturug/gvm-develop
image, maybe there is already the fix for your problem included, which will released I think at the end of the week.
Think the problem you have is fixed in develop version: https://github.com/DeineAgenturUG/greenbone-gvm-openvas-for-docker/commit/c54ed3731b35ecdb7515570e1a04451ad6aee6ea
This is fixed in the development build. It took about 50 minutes to initialize on my end.
Describe the bug When using volume bindings, the initialization and updates are not working.
To Reproduce Start GVM with this docker-compose.yml. All image variants have the same problem.
Expected behavior Container starts and initializes the database, like running
Screenshots
Host Device:
Image in use:
docker image ls deineagenturug/gvm
:Additional context Add any other context about the problem here.