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

feed to old on docker #117

Closed killmasta93 closed 2 years ago

killmasta93 commented 2 years ago

Hi Recently ran the docker compose file and having an issue with the feeds, as it shows that its too old, I restarted the container to see if it updates but nothing I checked the logs and got this


libgvm util:MESSAGE:2022-05-02 03h06.18 utc:778: Updated NVT cache from version 0 to 202203281001

==> /usr/local/var/log/gvm/gvmd.log <==

md manage:   INFO:2022-05-02 03h06.22 UTC:1741: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h06.32 UTC:1745: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h06.42 UTC:1748: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h06.52 UTC:1752: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.02 UTC:1755: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.13 UTC:1759: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.24 UTC:1824: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.34 UTC:1828: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.44 UTC:1831: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h07.54 UTC:1835: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h08.05 UTC:1839: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h08.15 UTC:1842: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h08.25 UTC:1908: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h08.36 UTC:1911: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-02 03h08.47 UTC:1915: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

image

Thank you

immauss commented 2 years ago

Looks like the compose file is still referencing the old image. Make sure you specify the "latest" tag in the compose file. I'm also updating the compose file in the repo.

Thanks, Scott

killmasta93 commented 2 years ago

Thank you, just edited the docker compose and re ran it but it keeps showing

md manage:   INFO:2022-05-03 03h57.35 UTC:1105: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-03 03h57.48 UTC:1171: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-03 03h58.04 UTC:1237: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-03 03h58.15 UTC:1240: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-03 03h58.25 UTC:1244: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting
carlotodeschini commented 2 years ago

Same for me, on 21.04.07 I just upgraded to 21.04.08 (same "data" dir) but the problem persist, tode

killmasta93 commented 2 years ago

hi @immauss so i deleted all my container and started again but now im getting this error

==> /usr/local/var/log/gvm/openvas.log <==

libgvm util:MESSAGE:2022-05-06 05h43.09 utc:991: Updated NVT cache from version 0 to 202204281000

==> /usr/local/var/log/gvm/gvmd.log <==

md manage:   INFO:2022-05-06 05h43.10 UTC:1136: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h43.20 UTC:1140: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h43.30 UTC:1143: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h43.40 UTC:1147: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h43.50 UTC:1150: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.01 UTC:1154: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.11 UTC:1157: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.21 UTC:1161: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.31 UTC:1164: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.41 UTC:1168: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h44.51 UTC:1171: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h45.01 UTC:1175: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

md manage:   INFO:2022-05-06 05h45.11 UTC:1178: osp_scanner_feed_version: failed to get scanner_feed_version. OSPd OpenVAS is still starting

on the feed it shows less days not sure if thats normal? but the GVMD data shows pretty old

image

immauss commented 2 years ago

Yep. That's normal. It's something Greenbone is hopefully going to fix in a future version. the GVMD Data feed does not get updated very often.

https://community.greenbone.net/t/gvmd-data-too-old-34-days-please-check-the-automatic-synchronization-of-your-system/7565/24