I’m actually on Openvas install on ubuntu VM at version 22.4.2, and I want to migrate on docker version 25.1.1.
I want to migrate my PostgreSQL database for Greenbone from version 22.4.2 to 25.1.1. I’m hesitating between using Docker or the native installation on Kali Linux.
Which method is the easiest to implement?
Are there specific steps to follow to avoid data loss?
I haven’t found any written documentation about previous docker-compose configurations for GVMD versions 23 and 24, even though the images exist in your repositories. I’m also wondering if there are mandatory compatible versions between services.
When I tried simply changing the GVMD version, I encountered errors like this:
md manage:WARNING:2025-03-12 09h20.43 utc:44: osp_scanner_feed_version: failed to connect to /var/run/ospd/ospd.sock
I opted for the installation of GVMD on Ubuntu images.
I was able to migrate the data, and I can see it correctly in my containerized environment. After changing the scanner to use the , I launched a scan, but it got stuck around 11%.ospd-openvas.sock
Here are the logs:
Container /openvas_ospd-openvas_1 Logs:
OSPD[7] 2025-03-24 16:58:27,736: INFO: (ospd.main) Starting OSPd OpenVAS version 22.8.1.
OSPD[7] 2025-03-24 16:58:37,810: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait…
OSPD[7] 2025-03-24 16:59:50,602: INFO: (ospd_openvas.daemon) Finished loading VTs. The VT cache has been updated from version 0 to 202503240642.
OSPD[7] 2025-03-24 17:05:16,451: INFO: (ospd.command.command) Scan a9ffa71b-9194-4ecb-a77f-eb1100f9958b added to the queue in position 2.
OSPD[7] 2025-03-24 17:05:16,578: INFO: (ospd.ospd) Currently 1 queued scans.