Graylog Installation Problem

Hi ,

Am trying to install Graylog and getting the following error . am very new with Graylog and I need some tips to fix this issue. Elasticsearch, mangodb, NGINX and Graylogs services are working fine but not getting login screen.


graylog server.conf

http_bind_address = 127.0.0.1:9000
http_publish_uri = http://127.0.0.1:9000/

Default: false

http_enable_cors = true

Enable GZIP support for HTTP interface

This compresses API responses and therefore helps to reduce

overall round trip times. This is enabled by default. Uncomment the next line to disable it.

http_enable_gzip = true
password_secret =shC9pSqkLpZu0jUb8G4ekjzAOOzm6u9owiolatUkHvu7RETQk7EzVALVVWeB0dePI2zhO1C1INVYnsN8QtYI7-4dLUNMueYq
root_password_sha2 =5c8494907586cfdb94c7f2f6ec99b113c0e4a80e1b3bd8e54944e967e983438f

The maximum size of the HTTP request headers in bytes.

http_max_header_size = 8192
elasticsearch_hosts = http://localhost:9200
mongodb_uri = mongodb://localhost:27017/graylog


Failed to decrypt values from MongoDB. This means that your password_secret has been changed or there

are some nodes in your cluster that are using a different password_secret to the one configured on this node. Secrets have to be configured
to the same value on every node and can’t be changed afterwards.
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.throwException(PasswordSecretPreflightCheck.java:75)
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.validateSecret(PasswordSecretPreflightCheck.java:69)
at java.base/java.util.Optional.ifPresentOrElse(Unknown Source)
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.runCheck(PasswordSecretPreflightCheck.java:52)
at org.graylog2.bootstrap.ServerBootstrap.runPreflightWeb(ServerBootstrap.java:195)
at org.graylog2.bootstrap.ServerBootstrap.runPreFlightChecks(ServerBootstrap.java:178)
at org.graylog2.bootstrap.ServerBootstrap.beforeInjectorCreation(ServerBootstrap.java:151)
at org.graylog2.bootstrap.CmdLineTool.doRun(CmdLineTool.java:362)
at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:287)
at org.graylog2.bootstrap.Main.main(Main.java:57)

2026-03-19T20:58:22.277+01:00 INFO [cluster] Waiting for server to become available for operation { ping: 1 } with ID 11. Remaining time: 29999 ms. Selector: ReadPreferenceServerSelector{readPreference=primary}, topology description: {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING}].
2026-03-19T20:58:22.279+01:00 INFO [cluster] Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, cryptd=false, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=27, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=2238726, minRoundTripTimeNanos=0}
2026-03-19T20:58:22.688+01:00 ERROR [CmdLineTool] Startup error:
org.graylog2.bootstrap.preflight.PreflightCheckException: Invalid password_secret!
Failed to decrypt values from MongoDB. This means that your password_secret has been changed or there
are some nodes in your cluster that are using a different password_secret to the one configured on this node. Secrets have to be configured
to the same value on every node and can’t be changed afterwards.
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.throwException(PasswordSecre# tPreflightCheck.java:75)
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.validateSecret(PasswordSecretPreflightCheck.java:69)
at java.base/java.util.Optional.ifPresentOrElse(Unknown Source)
at org.graylog2.bootstrap.preflight.PasswordSecretPreflightCheck.runCheck(PasswordSecretPreflightCheck.java:52)
at org.graylog2.bootstrap.ServerBootstrap.runPreflightWeb(ServerBootstrap.java:195)
at org.graylog2.bootstrap.ServerBootstrap.runPreFlightChecks(ServerBootstrap.java:178)
at org.graylog2.bootstrap.ServerBootstrap.beforeInjectorCreation(ServerBootstrap.java:151)
at org.graylog2.bootstrap.CmdLineTool.doRun(CmdLineTool.java:362)
at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:287)
at org.graylog2.bootstrap.Main.main(Main.java:57)


Hey @uniquewaheed,

Ensure the password_secret option within both the server.conf file on the Graylog node and datanode.conf file on the Graylog Data Node files are the same value.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.