truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 617 forks source link

[Authelia] 'encryption_key' configuration option must be provided #1465

Closed Heavybullets8 closed 2 years ago

Heavybullets8 commented 2 years ago

SCALE version

TrueNAS-SCALE-22.02-RC.1-2

App Version

4.33.0_8.0.7

Application Events

2021-12-04 21:52:04 Back-off restarting failed container 2021-12-04 21:52:02 Started container authelia 2021-12-04 21:52:02 Created container authelia 2021-12-04 21:52:02 Container image "tccr.io/truecharts/authelia:v4.33.0@sha256:8e5d19769c2c01fa8f3b5e96ccee2262b7a8aab1560ce3c40f80ee207be18f9d" already present on machine 2021-12-04 21:52:01 Started container postgresql-init 2021-12-04 21:52:01 Created container postgresql-init 2021-12-04 21:52:01 Container image "bitnami/postgresql:14.1.0@sha256:bdfeb12b5f8ae8dedfc2f7cb18a0ba48959c4dacc19176292a2fffd0abacdebe" already present on machine 2021-12-04 21:52:00 Started container autopermissions 2021-12-04 21:52:00 Created container autopermissions 2021-12-04 21:52:00 Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine 2021-12-04 21:52:00 Add eth0 [172.16.12.108/16] from ix-net Successfully assigned ix-authelia/authelia-85bf8f77cc-m8lww to ix-truenas 2021-12-04 21:51:58 Created pod: authelia-85bf8f77cc-m8lww 2021-12-04 21:51:58 Scaled up replica set authelia-85bf8f77cc to 1 2021-12-04 21:51:51 Deleted pod: authelia-7f5dd6cbf-nplvs 2021-12-04 21:51:51 Scaled down replica set authelia-7f5dd6cbf to 0 2021-12-04 21:33:35 Back-off restarting failed container 0/1 nodes are available: 1 persistentvolumeclaim "authelia-postgresql-db" not found. 2021-12-04 21:33:33 Started container authelia 2021-12-04 21:33:33 Created container authelia 2021-12-04 21:33:34 Container image "tccr.io/truecharts/authelia:v4.33.0@sha256:8e5d19769c2c01fa8f3b5e96ccee2262b7a8aab1560ce3c40f80ee207be18f9d" already present on machine 2021-12-04 21:33:33 Successfully pulled image "tccr.io/truecharts/authelia:v4.33.0@sha256:8e5d19769c2c01fa8f3b5e96ccee2262b7a8aab1560ce3c40f80ee207be18f9d" in 6.053960041s 2021-12-04 21:33:27 Pulling image "tccr.io/truecharts/authelia:v4.33.0@sha256:8e5d19769c2c01fa8f3b5e96ccee2262b7a8aab1560ce3c40f80ee207be18f9d" 2021-12-04 21:33:14 Started container postgresql-init 2021-12-04 21:33:14 Created container postgresql-init 2021-12-04 21:33:14 Container image "bitnami/postgresql:14.1.0@sha256:bdfeb12b5f8ae8dedfc2f7cb18a0ba48959c4dacc19176292a2fffd0abacdebe" already present on machine 2021-12-04 21:33:13 Started container autopermissions 2021-12-04 21:33:13 Created container autopermissions 2021-12-04 21:33:13 Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine 2021-12-04 21:33:13 Add eth0 [172.16.12.103/16] from ix-net 2021-12-04 21:33:11 Started container authelia-postgresql 2021-12-04 21:33:11 Created container authelia-postgresql 2021-12-04 21:33:11 Container image "bitnami/postgresql:14.1.0@sha256:bdfeb12b5f8ae8dedfc2f7cb18a0ba48959c4dacc19176292a2fffd0abacdebe" already present on machine 2021-12-04 21:33:11 Started container autopermissions 2021-12-04 21:33:10 Created container autopermissions 2021-12-04 21:33:10 Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine 2021-12-04 21:33:10 Add eth0 [172.16.12.102/16] from ix-net 2021-12-04 21:33:09 Started container authelia-redis 2021-12-04 21:33:09 Created container authelia-redis 2021-12-04 21:33:09 Container image "bitnami/redis:6.2.6@sha256:61237e1fb2fbc54ad58141057591538d9563d992ba09cf789766a314e9433c07" already present on machine 2021-12-04 21:33:08 Started container autopermissions 2021-12-04 21:33:08 Created container autopermissions Successfully assigned ix-authelia/authelia-7f5dd6cbf-nplvs to ix-truenas 2021-12-04 21:33:08 Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine 2021-12-04 21:33:08 Add eth0 [172.16.12.101/16] from ix-net 2021-12-04 21:33:07 Started container lb-port-9091 2021-12-04 21:33:07 Created container lb-port-9091 2021-12-04 21:33:07 Container image "rancher/klipper-lb:v0.1.2" already present on machine 2021-12-04 21:33:07 Add eth0 [172.16.12.100/16] from ix-net 2021-12-04 21:33:07 Successfully provisioned volume pvc-dd8c844e-f844-4523-be27-8a107ab3d1f6 Successfully assigned ix-authelia/authelia-postgresql-0 to ix-truenas 2021-12-04 21:33:06 create Pod authelia-postgresql-0 in StatefulSet authelia-postgresql successful Successfully assigned ix-authelia/authelia-redis-0 to ix-truenas 2021-12-04 21:33:06 create Pod authelia-redis-0 in StatefulSet authelia-redis successful Successfully assigned ix-authelia/svclb-authelia-qw6m7 to ix-truenas 2021-12-04 21:33:06 Created pod: svclb-authelia-qw6m7 2021-12-04 21:33:06 External provisioner is provisioning volume for claim "ix-authelia/authelia-config" 0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. 2021-12-04 21:33:06 Scaled up replica set authelia-7f5dd6cbf to 1 2021-12-04 21:33:06 Created pod: authelia-7f5dd6cbf-nplvs 2021-12-04 21:33:06 waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator 2021-12-04 21:30:28 Stopping container authelia 2021-12-04 21:30:28 Stopping container lb-port-9091 2021-12-04 21:30:28 Stopping container authelia-redis 2021-12-04 21:30:28 Stopping container authelia-postgresql

Application Logs

Application Name:autheliaPod Name:authelia-85bf8f77cc-m8lwwContainer Name:authelia 2021-12-04 21:52:20.004043+00:00time="2021-12-04T14:52:20-07:00" level=warning msg="Configuration: No access control rules have been defined so the default policy one_factor will be applied to all requests" 2021-12-04 21:52:20.004108+00:00time="2021-12-04T14:52:20-07:00" level=error msg="Configuration: storage: 'encryption_key' configuration option must be provided" 2021-12-04 21:52:20.004116+00:00time="2021-12-04T14:52:20-07:00" level=fatal msg="Can't continue due to the errors loading the configuration"

Application Name:autheliaPod Name:authelia-redis-0Container Name:authelia-redis 2021-12-04 21:33:09.517380+00:00redis 21:33:09.51  2021-12-04 21:33:09.518268+00:00redis 21:33:09.51 Welcome to the Bitnami redis container 2021-12-04 21:33:09.518900+00:00redis 21:33:09.51 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis 2021-12-04 21:33:09.519805+00:00redis 21:33:09.51 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues 2021-12-04 21:33:09.520664+00:00redis 21:33:09.52  2021-12-04 21:33:09.521644+00:00redis 21:33:09.52 INFO  ==> ** Starting Redis setup ** 2021-12-04 21:33:09.530805+00:00redis 21:33:09.53 WARN  ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment. 2021-12-04 21:33:09.536558+00:00redis 21:33:09.53 INFO  ==> Initializing Redis 2021-12-04 21:33:09.546432+00:00redis 21:33:09.54 INFO  ==> Setting Redis config file 2021-12-04 21:33:09.563053+00:00redis 21:33:09.56 INFO  ==> Configuring replication mode 2021-12-04 21:33:09.581688+00:00redis 21:33:09.58 INFO  ==> ** Redis setup finished! ** 2021-12-04 21:33:09.581731+00:002021-12-04T21:33:09.581731269Z 2021-12-04 21:33:09.590384+00:00redis 21:33:09.59 INFO  ==> ** Starting Redis ** 2021-12-04 21:33:09.607790+00:001:C 04 Dec 2021 21:33:09.607 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2021-12-04 21:33:09.607806+00:001:C 04 Dec 2021 21:33:09.607 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started 2021-12-04 21:33:09.607827+00:001:C 04 Dec 2021 21:33:09.607 # Configuration loaded 2021-12-04 21:33:09.608083+00:001:M 04 Dec 2021 21:33:09.608 * monotonic clock: POSIX clock_gettime 2021-12-04 21:33:09.608584+00:001:M 04 Dec 2021 21:33:09.608 * Running mode=standalone, port=6379. 2021-12-04 21:33:09.608612+00:001:M 04 Dec 2021 21:33:09.608 # Server initialized 2021-12-04 21:33:09.617040+00:001:M 04 Dec 2021 21:33:09.617 * DB loaded from append only file: 0.008 seconds 2021-12-04 21:33:09.617059+00:001:M 04 Dec 2021 21:33:09.617 * Ready to accept connections 2021-12-04 21:38:10.024998+00:001:M 04 Dec 2021 21:38:10.024 * 100 changes in 300 seconds. Saving... 2021-12-04 21:38:10.025175+00:001:M 04 Dec 2021 21:38:10.025 * Background saving started by pid 586 2021-12-04 21:38:10.027090+00:00586:C 04 Dec 2021 21:38:10.027 * DB saved on disk 2021-12-04 21:38:10.027439+00:00586:C 04 Dec 2021 21:38:10.027 * RDB: 0 MB of memory used by copy-on-write 2021-12-04 21:38:10.125586+00:001:M 04 Dec 2021 21:38:10.125 * Background saving terminated with success

Application Name:autheliaPod Name:authelia-postgresql-0Container Name:authelia-postgresql 2021-12-04 21:33:11.733023+00:00postgresql 21:33:11.73  2021-12-04 21:33:11.733971+00:00postgresql 21:33:11.73 Welcome to the Bitnami postgresql container 2021-12-04 21:33:11.734937+00:00postgresql 21:33:11.73 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql 2021-12-04 21:33:11.735796+00:00postgresql 21:33:11.73 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues 2021-12-04 21:33:11.736578+00:00postgresql 21:33:11.73  2021-12-04 21:33:11.746452+00:00postgresql 21:33:11.74 INFO  ==> ** Starting PostgreSQL setup ** 2021-12-04 21:33:11.760116+00:00postgresql 21:33:11.75 INFO  ==> Validating settings in POSTGRESQL_* env vars.. 2021-12-04 21:33:11.763478+00:00postgresql 21:33:11.76 INFO  ==> Loading custom pre-init scripts... 2021-12-04 21:33:11.767347+00:00postgresql 21:33:11.76 INFO  ==> Initializing PostgreSQL database... 2021-12-04 21:33:11.768461+00:00postgresql 21:33:11.76 INFO  ==> Cleaning stale /bitnami/postgresql/data/postmaster.pid file 2021-12-04 21:33:11.779351+00:00postgresql 21:33:11.77 INFO  ==> pg_hba.conf file not detected. Generating it... 2021-12-04 21:33:11.780303+00:00postgresql 21:33:11.78 INFO  ==> Generating local authentication configuration 2021-12-04 21:33:11.786624+00:00postgresql 21:33:11.78 INFO  ==> Deploying PostgreSQL with persisted data... 2021-12-04 21:33:11.813731+00:00postgresql 21:33:11.81 INFO  ==> Configuring replication parameters 2021-12-04 21:33:11.830121+00:00postgresql 21:33:11.82 INFO  ==> Configuring fsync 2021-12-04 21:33:11.843703+00:00postgresql 21:33:11.84 INFO  ==> Loading custom scripts... 2021-12-04 21:33:11.846313+00:00postgresql 21:33:11.84 INFO  ==> Enabling remote connections 2021-12-04 21:33:11.855766+00:00postgresql 21:33:11.85 INFO  ==> ** PostgreSQL setup finished! ** 2021-12-04 21:33:11.855804+00:002021-12-04T21:33:11.855804206Z 2021-12-04 21:33:11.869751+00:00postgresql 21:33:11.86 INFO  ==> ** Starting PostgreSQL ** 2021-12-04 21:33:11.902743+00:002021-12-04 21:33:11.902 GMT [1] LOG: pgaudit extension initialized 2021-12-04 21:33:11.905770+00:002021-12-04 21:33:11.905 GMT [1] LOG: starting PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit 2021-12-04 21:33:11.906041+00:002021-12-04 21:33:11.906 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2021-12-04 21:33:11.906057+00:002021-12-04 21:33:11.906 GMT [1] LOG: listening on IPv6 address "::", port 5432 2021-12-04 21:33:11.906381+00:002021-12-04 21:33:11.906 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2021-12-04 21:33:11.911521+00:002021-12-04 21:33:11.911 GMT [86] LOG: database system was interrupted; last known up at 2021-12-02 22:28:28 GMT 2021-12-04 21:33:11.929606+00:002021-12-04 21:33:11.929 GMT [86] LOG: database system was not properly shut down; automatic recovery in progress 2021-12-04 21:33:11.930742+00:002021-12-04 21:33:11.930 GMT [86] LOG: redo starts at 0/1735350 2021-12-04 21:33:11.930776+00:002021-12-04 21:33:11.930 GMT [86] LOG: invalid record length at 0/1735438: wanted 24, got 0 2021-12-04 21:33:11.930787+00:002021-12-04 21:33:11.930 GMT [86] LOG: redo done at 0/1735400 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s 2021-12-04 21:33:11.936805+00:002021-12-04 21:33:11.936 GMT [1] LOG: database system is ready to accept connections

Application Configuration

Same as whats in the video I made, LDAP enabled, SMTP enabled etc.

Describe the bug

Refusing to launch application.

To Reproduce

Try to create a new authelia application.

Expected behavior

Authelia application to launch

Screenshots

Additional context

PrivatePuffin commented 2 years ago

Please don't make duplicate issues.

PrivatePuffin commented 2 years ago

And please respect the rule to always refresh catalogs BEFORE updating or filing issues.

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists