-
Notifications
You must be signed in to change notification settings - Fork 1
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
ERROR: Couldn't read "/opt/splunk/etc/splunk-launch.conf" -- maybe $SPLUNK_HOME or $SPLUNK_ETC is set wrong? #3
Comments
I have the same problem. Creating an empty config file ("touch splunk-launch.conf") inside the console at the correct path causes the message to switch to:
"Touching" splunk.version then moves it onto a different set of messages. Here is the full startup readout:
It seems the only way around this is to run Splunk on another system in order to get a working setup to copy over to the docker's settings, or to pass an Administrator login and password on initial startup of the Docker, which is definitely beyond me. |
I have the same issue. Anyone have ideas on how to pass the admin account creation portion? I really want to have Splunk :P |
I think I see the issue here. I'll have to poke around on this, but from looking at the dockerfile, the install is getting unzipped, then the mounts for the persistent storage are getting mounted. So basically, /opt/splunk/etc is getting built with files on the main docker image, then the mount for /opt/splunk/etc is causing the files to be hidden. So I think the solution would be:
-Stephen |
I was able to get it working with this docker template, using the official docker image from Splunk. :) |
Bit of a long revival of this issue, but I can confirm the recommendation of @skirven4's template changes, which amount to these important sections: Image: splunk/splunk Variable: SPLUNK_START_ARGS Variable: SPLUNK_PASSWORD Everything else was unchanged, these three changes allow the container to start normally. |
Running this image on unRAID with defaults (accept for the location of the docker files, i dont use appdata).
And i cant open the webui on port 9000
The text was updated successfully, but these errors were encountered: