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

Failed to find user. #161

Closed andreasc1 closed 1 year ago

andreasc1 commented 1 year ago

hi, latest version fails to start with this error:

` .. All transactions are logged.

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list



timestamp

13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 71 bytes received 111 bytes 121.33 bytes/sec

total size is 13 speedup is 0.07

Feed is already current, skipping synchronization.

Starting Greenbone Vulnerability Manager...

Waiting for gvmd

Time to fixup the gvm accounts.

Setting admin password

Failed to find user. `

immauss commented 1 year ago

Can you give me a little more detail?

Thanks, Scott

andreasc1 commented 1 year ago

Hi @immauss i used: docker run --detach --publish 8080:9392 -e PASSWORD=passs --volume openvas:/data --name openvas immauss/openvas

my environment is mac, Docker version 19.03.13, build 4484c46d9d fresh new container, just got it from your repository by following the commands you provided.

Thanks

immauss commented 1 year ago

Yes. There is a problem with the "-e PASSWORD=" option. I've not had a chance to debug it yet. Unless you are using it in some sort of automated environment, it is better to set the password after the container has started via the GUI. And ... this method should work now.... If not, please let me know. Otherwise, please keep an eye on issue #157.

Thanks, Scott

andreasc1 commented 1 year ago

Yes. There is a problem with the "-e PASSWORD=" option. I've not had a chance to debug it yet. Unless you are using it in some sort of automated environment, it is better to set the password after the container has started via the GUI. And ... this method should work now.... If not, please let me know. Otherwise, please keep an eye on issue #157.

Thanks, Scott

Thanks Scott, and the defaults are admin/admin ?

because i get:

md gmp:WARNING:2022-11-27 18h59.19 utc:1071: Authentication failure for 'admin' from 127.0.0.1 (gsad:652): gsad gmp-WARNING **: 18:59:19.938: Authentication failure for 'admin' from 172.17.0.1. Status was 2.