#"Role "authentik" does not exist."
1 messages · Page 1 of 1 (latest)
you should post your docker-compose so we can see what your config setup is.
here is how I setup my docker-compose, and it works w/o issue.
auth-server:
image: ghcr.io/goauthentik/server:2023.1.2
restart: unless-stopped
command: server
networks: [authnet]
env_file: ["./config/_CRITICAL/authentik/authentik-env"]
volumes:
- ./config/_CRITICAL/authentik/server/media:/media
- ./config/_CRITICAL/authentik/server/custom-templates:/templates
auth-worker:
image: ghcr.io/goauthentik/server:2023.1.2
restart: unless-stopped
command: worker
networks: [authnet]
env_file: ["./config/_CRITICAL/authentik/authentik-env"]
volumes:
- ./config/_CRITICAL/authentik/server/media:/media
- ./config/_CRITICAL/authentik/server/certs:/certs
- ./config/_CRITICAL/authentik/server/custom-templates:/templates
sorry was asleep by the time you responded... your compose is COMPLETELY different from mine which i pulled from the website documentation
this is what i pulled for my compose file
It looks different, but it evaluates to the same stuff. They give a lot of options to use environment variables, which personally I did not need.
Anyway, are you using exactly what they gave, or are you using a different database?
That looks like a database error.
I would double check and make sure the user exists in your postgres.
You're using a volume, so it's also possible your database volume already exist, and it's ignoring the environment variables there because the database was already created.