Trouble getting started with Dex

37 views
Skip to first unread message

Matan Bendix Shenhav

unread,
Nov 2, 2018, 12:18:54 PM11/2/18
to dex-dev
Hello,

I have been trying to setup Dex for the first time on a Kubernetes cluster. Following the instructions in the `getting started` page I ran:

dex serve dex/examples/config-dev.yaml 

but got the following:

time="2018-11-02T16:12:36Z" level=info msg="config issuer: http://127.0.0.1:5556/dex"
time="2018-11-02T16:12:36Z" level=info msg="config connector: mock"
time="2018-11-02T16:12:36Z" level=info msg="config connector: local passwords enabled"
failed to initialize storage: failed to perform migrations: creating migration table: unable to open database file

Any ideas on what might be causing this? I tried executing with sudo but this didn't help either.

Thanks a bunch,
Matan

p.s: I didn't see any official synchronous support channels listed on Dex's github repo, but are there unofficial IRC / Gitter channels when I could ask questions about Dex?

Eric Chiang

unread,
Nov 2, 2018, 2:32:19 PM11/2/18
to m.sh...@gmail.com, dex...@googlegroups.com
> failed to initialize storage: failed to perform migrations: creating migration table: unable to open database file

This implies that dex can't create it's SQL database under
"examples/dex.db". You might need to make the examples directory.
> --
> You received this message because you are subscribed to the Google Groups "dex-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dex-dev+u...@googlegroups.com.
> To post to this group, send email to dex...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dex-dev/79e14458-fd5a-464d-8a1c-37f690c8e02e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Eric Chiang

unread,
Nov 2, 2018, 2:32:35 PM11/2/18
to m.sh...@gmail.com, dex...@googlegroups.com
> p.s: I didn't see any official synchronous support channels listed on Dex's github repo, but are there unofficial IRC / Gitter channels when I could ask questions about Dex?

This is it :)
Reply all
Reply to author
Forward
0 new messages