kolide-quickstart icon indicating copy to clipboard operation
kolide-quickstart copied to clipboard

Initial password missing

Open directionless opened this issue 6 years ago • 5 comments

On master, commit cc6d35b6c55aeef88a93706117dfe250bf82db7d I tried following the instructions.

It did not create the initial user. I went to https://127.0.0.1:8412 and was given brand new install. I created admin/admin123#

I don't know if this is a bug in the instructions or the demo script.

directionless avatar Nov 30 '17 20:11 directionless

@directionless Did you run ./demo.sh up or ./demo.sh up simple? IIRC it should only create the user if you run with simple.

zwass avatar Nov 30 '17 20:11 zwass

I ran bash demo.sh up simple

From conversation on slack, we conclude this is because I did not update /etc/hosts, and the script tries to connect to https://kolide:8412

directionless avatar Nov 30 '17 20:11 directionless

I think that either "we" should modify the script to connect to 127.0.0.1, maybe with curl's --resolve option, though docker might confuse that.

Or just update the docs to list it as a requirement.

directionless avatar Nov 30 '17 20:11 directionless

Can you confirm that editing /etc/hosts solved the problem for you?

groob avatar Nov 30 '17 20:11 groob

Other notes from slack. This is running in the docker network, and would have worked if the hostname matched the container name. I've PR'ed that (and some other demo.sh changes) in https://github.com/kolide/kolide-quickstart/pull/41

directionless avatar Nov 30 '17 22:11 directionless