GVM - No database update

Hello. Tell me who has come across … I’m deploying the GVM interface rises. I can not update the database, there is an error. as if he does not see the server. commands are not working

sudo greenbone-nvt-sync
sudo greenbone-scapdata-sync

sudo greenone-certdata-sync

Hello Andrey, and welcome to the Greenbone Community Forum.

The commands you’re using are failing because of the following reasons:
sudo greenbone-nvt-sync → Cannot be executed as root, use sudo -u gvm greenbone-nvt-sync
sudo greenbone-scapdata-sync → Invalid command, use sudo -u gvm greenbone-feed-sync --type SCAP
sudo greenbone-certdata-sync → Invalid command, use sudo -u gvm greenbone-feed-sync --type CERT

If the correct commands don’t work, you can check the logs at /var/log/gvm, they will give you more detailed information about occuring problems.

EDIT: I’ve changed the commands to reflect the official documentation instead of what works for me.

1 Like

The required user depends on the installation method. On Kali (and Debian derivatives) the user is _gvm. If you are building from source using our docs it is gvm. On a random container image it might be again different like gvmd.