notthebee / ansible-easy-vpn

An Ansible playbook that sets up a Wireguard server with ad blocking, DNS-over-HTTPS, and a WebUI with 2FA
Other
993 stars 237 forks source link

Error in authelia docker container #275

Open arif-b-khan opened 5 months ago

arif-b-khan commented 5 months ago

Describe the issue Not able to connect to bunkerweb. I found following issue in docker log file. I'm getting error in Authelia docker container. I also found my bunkerweb is showing unhealthy due to this I'm not able to connect to bunkerweb

Logs (if applicable) time="2024-01-28T10:04:54Z" level=info msg="Authelia v4.37.5 is starting" time="2024-01-28T10:04:54Z" level=info msg="Log severity set to debug" time="2024-01-28T10:04:54Z" level=info msg="Storage schema is being checked for updates" time="2024-01-28T10:04:54Z" level=error msg="Failure running the storage provider startup check: the configured encryption key does not appear to be valid for this database which may occur if the encryption key was changed in the configuration without using the cli to change it in the database" stack="github.com/authelia/authelia/v4/internal/commands/root.go:281 doStartupChecks\ngithub.com/authelia/authelia/v4/internal/commands/root.go:87 cmdRootRun\ngithub.com/spf13/cobra@v1.6.1/command.go:920 (Command).execute\ngithub.com/spf13/cobra@v1.6.1/command.go:1044 (Command).ExecuteC\ngithub.com/spf13/cobra@v1.6.1/command.go:968 (Command).Execute\ngithub.com/authelia/authelia/v4/cmd/authelia/main.go:10 main\nruntime/proc.go:250 main\nruntime/asm_amd64.s:1594 goexit" time="2024-01-28T10:04:54Z" level=fatal msg="The following providers had fatal failures during startup: storage" stack="github.com/authelia/authelia/v4/internal/commands/root.go:309 doStartupChecks\ngithub.com/authelia/authelia/v4/internal/commands/root.go:87 cmdRootRun\ngithub.com/spf13/cobra@v1.6.1/command.go:920 (Command).execute\ngithub.com/spf13/cobra@v1.6.1/command.go:1044 (Command).ExecuteC\ngithub.com/spf13/cobra@v1.6.1/command.go:968 (Command).Execute\ngithub.com/authelia/authelia/v4/cmd/authelia/main.go:10 main\nruntime/proc.go:250 main\nruntime/asm_amd64.s:1594 goexit"

Environment:

cedulai commented 4 days ago

@arif-b-khan were you able to figure this out? I'm experiencing similar behavior

cedulai commented 4 days ago

@arif-b-khan try a fresh linux install on your VPS and rerun the script as root