No scan config after install docker

After I install Openvas from docker compose it’s work well untill I need to scan then No scan config.
here is log from openvas

greenbone-community-edition-mqtt-broker-1          | 1694769570: Client ospd has exceeded timeout, disconnecting.
greenbone-community-edition-mqtt-broker-1          | 1694769579: New connection from 172.18.0.5:38673 on port 1883.
greenbone-community-edition-mqtt-broker-1          | 1694769579: New client connected from 172.18.0.5:38673 as ospd (p5, c0, k60).
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:19:39.635 UTC [2074] gvmd@gvmd LOG:  could not send data to client: Broken pipe
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:19:39.635 UTC [2074] gvmd@gvmd FATAL:  connection to client lost
greenbone-community-edition-gvmd-1                 | md manage:   INFO:2023-09-15 09h19.49 UTC:2981: OSP service has different VT status (version 202309150621) from database (version (null), 0 VTs). Starting update ...
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:23:52.178 UTC [2165] [unknown]@[unknown] LOG:  PID 0 in cancel request did not match any process
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:25:06.286 UTC [2138] gvmd@gvmd LOG:  could not send data to client: Broken pipe
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:25:06.286 UTC [2138] gvmd@gvmd FATAL:  connection to client lost
greenbone-community-edition-gvmd-1                 | md manage:   INFO:2023-09-15 09h25.15 UTC:3009: OSP service has different VT status (version 202309150621) from database (version (null), 0 VTs). Starting update ...
^[^Tgreenbone-community-edition-gvmd-1                 | md manage:   INFO:2023-09-15 09h29.08 UTC:3027: OSP service has different VT status (version 202309150621) from database (version (null), 0 VTs). Starting update ...
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:29:09.141 UTC [2171] gvmd@gvmd LOG:  could not send data to client: Broken pipe
greenbone-community-edition-pg-gvm-1               | 2023-09-15 09:29:09.142 UTC [2171] gvmd@gvmd FATAL:  connection to client lost

I don’t know why. please guide me to fix this issue
Best regards.

How much time between running with docker compose and looking at the GUI and trying to set up a scan? It took a long time for me, about an hour or more (depends on how much ram, cpu speed and cores available) before things worked. It needs time to download and parse all the VTs and the like.

1 Like

It would be more appropriate to post your error code using triple backticks instead of just copying and pasting it into the post.

like this

](http://127.0.0.1:9392/cpes) Greenbone SCAP Data Feed 20230915T0504 3 days old

](http://127.0.0.1:9392/certbunds)

DFN-CERT Advisories
](http://127.0.0.1:9392/dfncerts) Greenbone CERT Data Feed 20230915T0542 3 days old
GVMD_DATA

Scan Configs
](http://127.0.0.1:9392/scanconfigs?filter=predefined%3D1) Greenbone Data Objects Feed 20230915T0504 3 days old

My feed status updated success but my configcuration (No Scan Configs available)
I don’t know I need more time to wait or I need to find sulotion to fix it.

Thank u sir

If Greenbone Data Objects Feed 20230915T0504 3 days old is shown at the Feed Status page you should have a list of scan configs. Otherwise you need to take a look at the logs for possible errors while gvmd tried to load the scan configs data.

2 Likes

Take a look at https://greenbone.github.io/docs/latest/22.4/container/workflows.html#performing-a-feed-synchronization for details about the feed synchronization and which messages should be in the log if the sync is successful.

Just a hint if you don’t have NVTs in the web ui you wont get scan configs. So please ensure the NVTs are loaded successfully too.

2 Likes