Open voroskoi opened 1 year ago
Same problem here. Ony differences are that we are using postgres database, and that oidc is enabled.
Also get this error: error when getting user info from callback: failed to exchange oauth2 token using code
Is there any workaround to create an admin user and get back into the system?
Thanks
Contact Details
No response
What happened?
I have tried upgrading my working
v0.16.1
setup to0.17.1
, but I was unable to make it work.The
docker-compose.yml
for the working setup is here.The compose file for 0.17 is here.
I have applied this diff. I have read the release docs, changed traefik to caddy, updated mosquitto config.
After those steps caddy starts up fine, the cert renewal works fine, but I run into the very same error reported in #1827. It looks like a chicken-egg problem, netmaker waits for mq and mq waits for netmaker to start up. I commented out the
wait_for_netmaker
function call inwait.sh
, this way mq starts up fine at least. According to the logs it even acceptsNetmaker-Admin
andNetmaker-Server
.Now I try to reach the UI, and it loads up fine, but wants to create a new admin user (The log files indeed have a line
could not update user voroskoi
. Adding new admin does not work: "Failed to create Admin. Could not reach server". I have tried to changenetmaker.db
permissions to 666 to see if it is a permission problem, but the error does not change.What am I doing wrong?
Version
v0.17.1
What OS are you using?
Linux
Relevant log output
Contributing guidelines