Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README update: which password to use #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anyfactor
Copy link

Notes for Reviewers

  • The commit history must be preserved - please use the rebase-merge or standard merge option instead of squash-merge
  • Sync up with the author before merging

I am trying out the open-core version and I believe you have to use the GRAYLOG_PASSWORD_SECRET as the password for the web interface.

Also if your GRAYLOG_PASSWORD_SECRET is not 16 characters long you will get the following error:

open-core-mongodb-1     | {"t":{"$date":"2023-07-13T14:46:14.034+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1689259574:34460][1:0xffff7b4aac80], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 39, snapshot max: 39 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
open-core-graylog-1     | wait-for-it: waiting 15 seconds for opensearch:9200
open-core-graylog-1     | wait-for-it: opensearch:9200 is available after 0 seconds
open-core-graylog-1     | 2023-07-13 14:46:18,124 INFO : org.graylog2.featureflag.ImmutableFeatureFlagsCollector - Following feature flags are used: {default properties file=[scripting_api_preview=off, search_filter=on]}
open-core-graylog-1     | 2023-07-13 14:46:18,273 ERROR: org.graylog2.bootstrap.CmdLineTool - Invalid configuration
open-core-graylog-1     | com.github.joschi.jadconfig.ValidationException: The minimum length for "password_secret" is 16 characters.
open-core-graylog-1     | 	at org.graylog2.Configuration.validatePasswordSecret(Configuration.java:446) ~[graylog.jar:?]
open-core-graylog-1     | 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
open-core-graylog-1     | 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
open-core-graylog-1     | 	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
open-core-graylog-1     | 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
open-core-graylog-1     | 	at com.github.joschi.jadconfig.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:53) ~[graylog.jar:?]
open-core-graylog-1     | 	at com.github.joschi.jadconfig.JadConfig.invokeValidatorMethods(JadConfig.java:233) ~[graylog.jar:?]
open-core-graylog-1     | 	at com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:102) ~[graylog.jar:?]
open-core-graylog-1     | 	at org.graylog2.bootstrap.CmdLineTool.processConfiguration(CmdLineTool.java:477) [graylog.jar:?]
open-core-graylog-1     | 	at org.graylog2.bootstrap.CmdLineTool.doRun(CmdLineTool.java:282) [graylog.jar:?]
open-core-graylog-1     | 	at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:260) [graylog.jar:?]
open-core-graylog-1     | 	at org.graylog2.bootstrap.Main.main(Main.java:45) [graylog.jar:?]
open-core-graylog-1 exited with code 1

Note the:

open-core-graylog-1     | com.github.joschi.jadconfig.ValidationException: The minimum length for "password_secret" is 16 characters.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants