Unable to log in to graylog after fresh install

1. Describe your incident:

Service starts successfully and is available, but login fails. “Invalid credentials, please verify and retry.”

2. Describe your environment:

  • OS Information:

AWS EC2 /etc/os-release:

NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.5.20240916"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
  • Package Version:
elasticsearch-oss.noarch                       6.8.23-1                           @elasticsearch-6.x
graylog-3.2-repository.noarch                  1-1                                @System           
graylog-enterprise-integrations-plugins.noarch 3.2.6-1                            @graylog          
graylog-enterprise-plugins.noarch              3.2.6-1                            @graylog          
graylog-integrations-plugins.noarch            3.2.6-1                            @graylog          
graylog-server.noarch                          3.2.6-1                            @graylog          
mongodb-database-tools.x86_64                  100.10.0-1                         @mongodb-org-4.0  
mongodb-mongosh.x86_64                         2.3.1-1.el8                        @mongodb-org-4.0  
mongodb-org.x86_64                             8.0.0-1.el9                        @mongodb-org-4.0  
mongodb-org-database.x86_64                    8.0.0-1.el9                        @mongodb-org-4.0  
mongodb-org-database-tools-extra.x86_64        8.0.0-1.el9                        @mongodb-org-4.0  
mongodb-org-mongos.x86_64                      8.0.0-1.el9                        @mongodb-org-4.0  
mongodb-org-server.x86_64                      8.0.0-1.el9                        @mongodb-org-4.0  
mongodb-org-tools.x86_64                       8.0.0-1.el9                        @mongodb-org-4.0
  • Service logs, configurations, and environment variables:
pwgen -N 1 -s 96 && echo -n '<pw>' | sha256sum  | cut -d" " -f1

Inserted to password_secret, root_password_sha2 in /etc/graylog/server/server.conf.

3. What steps have you already taken to try and solve the problem?

Tried multiple passwords. Tried restarting the service and the machine.

Hello @majuscule

If possible and as you are running so such an old version of Graylog and Elastic, I would suggest you rebuild one more time but with Graylog version 6 and Opensearch version 2.12.

Check if the issue persists and if so post back here.

Hello @majuscule

I installed version 6 on docker and the initial admin password is generated when the server starts and appears in the logs.
Maybe it’s the same principle for your installation.