Hello,
I’m trying to use Greenbone with Docker, using the guide (docker compose) provided by the community. The installation went smoothly and without error, and I changed the default password. When I try to open the dashboard, it closes right after logging in. I’ve tried reinstalling several times and the same thing happens.
There are no apparent errors in the container logs, if I try to use a password different from the login error, which is expected. I need to know what’s happening so that when I log in to the dashboard it doesn’t close right away. I’m using Ubuntu 24.04.
Could someone help me solve this problem? Access to the dashboard is via a redirection by nginx to the container’s web port.
I am assuming this is with the default admin right?
…and so that means you don’t have any data in there at all right?
If not, I would do the docker compose down -v to completely wipe your instance. Then use the command to bring it back up. I would put it here but I usually just go to the folder the compose file is at but it’s docker compose -f /pathtocompose.ymlfile/ up -d and let it rebuild. After rebuild login using the default admin/admin login, create a new admin user. Then docker compose /pathtodocker-compose.ymlfile/ stop and let it stop then do docker compose /path/ start and that is like a reboot of the containers.
Then mess with that user and see if anything happens. Once that one is good, you can then try changing the password from within the application.
I had this happen once on the 2nd admin account I created. It logged in then crashed back to the login screen. I logged in again and it worked. So I’m just guessing it was setting up permissions or something.
This is an issue with the X-Real-IP
header not set when using a proxy in front of gsad. You need to set that header in this this case for every request to gsad. The forum should contain several topics about it already.
1 Like