goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.6k stars 909 forks source link

When starting authentik from fresh docker-compose.yml, exits with /lifecycle/ak: line 44: exec: go: not found #7465

Closed rogue780 closed 10 months ago

rogue780 commented 1 year ago

Describe the bug When I run composer-up on the provided docker-compose.yml file I eventually get this error before I can use the software

server_1_f0c3587aca84 | /lifecycle/ak: line 44: exec: go: not found

To Reproduce Steps to reproduce the behavior:

Use this docker-compose.yml file:

---
version: "3.4"

services:
  postgresql:
    image: docker.io/library/postgres:12-alpine
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 5s
    volumes:
      - ./database:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: ${PG_PASS:?database password required}
      POSTGRES_USER: ${PG_USER:-authentik}
      POSTGRES_DB: ${PG_DB:-authentik}
    env_file:
      - .env
  redis:
    image: docker.io/library/redis:alpine
    command: --save 60 1 --loglevel warning
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 3s
    volumes:
      - ./redis:/data
  server:
    image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2023.10.2}
    restart: unless-stopped
    command: server
    environment:
      AUTHENTIK_REDIS__HOST: redis
      AUTHENTIK_POSTGRESQL__HOST: postgresql
      AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
      AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
    volumes:
      - ./media:/media
      - ./custom-templates:/templates
    env_file:
      - .env
    ports:
      - "${COMPOSE_PORT_HTTP:-9000}:9000"
      - "${COMPOSE_PORT_HTTPS:-9443}:9443"
    depends_on:
      - postgresql
      - redis
  worker:
    image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2023.10.2}
    restart: unless-stopped
    command: worker
    environment:
      AUTHENTIK_REDIS__HOST: redis
      AUTHENTIK_POSTGRESQL__HOST: postgresql
      AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
      AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
    # `user: root` and the docker socket volume are optional.
    # See more for the docker socket integration here:
    # https://goauthentik.io/docs/outposts/integrations/docker
    # Removing `user: root` also prevents the worker from fixing the permissions
    # on the mounted folders, so when removing this make sure the folders have the correct UID/GID
    # (1000:1000 by default)
    user: root
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./media:/media
      - ./certs:/certs
      - ./custom-templates:/templates
    env_file:
      - .env
    depends_on:
      - postgresql
      - redis

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image image

Logs

$ docker-compose up
Creating network "authentik_default" with the default driver
Creating authentik_redis_1_17f236662027      ... done
Creating authentik_postgresql_1_e9b1cd1efc0d ... done
Creating authentik_worker_1_985f30484d82     ... done
Creating authentik_server_1_b2b7101d1f14     ... done
Attaching to authentik_redis_1_9fee991d953d, authentik_postgresql_1_509bc78bd805, authentik_worker_1_e9415433b416, authentik_server_1_f0c3587aca84
postgresql_1_509bc78bd805 | The files belonging to this database system will be owned by user "postgres".
postgresql_1_509bc78bd805 | This user must also own the server process.
postgresql_1_509bc78bd805 |
redis_1_9fee991d953d | 1:C 07 Nov 2023 00:05:50.120 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
postgresql_1_509bc78bd805 | The database cluster will be initialized with locale "en_US.utf8".
postgresql_1_509bc78bd805 | The default database encoding has accordingly been set to "UTF8".
postgresql_1_509bc78bd805 | The default text search configuration will be set to "english".
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 | Data page checksums are disabled.
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgresql_1_509bc78bd805 | creating subdirectories ... ok
postgresql_1_509bc78bd805 | selecting dynamic shared memory implementation ... posix
postgresql_1_509bc78bd805 | selecting default max_connections ... 100
postgresql_1_509bc78bd805 | selecting default shared_buffers ... 128MB
postgresql_1_509bc78bd805 | selecting default time zone ... UTC
postgresql_1_509bc78bd805 | creating configuration files ... ok
postgresql_1_509bc78bd805 | running bootstrap script ... ok
postgresql_1_509bc78bd805 | performing post-bootstrap initialization ... sh: locale: not found
postgresql_1_509bc78bd805 | 2023-11-07 00:05:50.486 UTC [30] WARNING:  no usable system locales were found
postgresql_1_509bc78bd805 | ok
postgresql_1_509bc78bd805 | syncing data to disk ... initdb: warning: enabling "trust" authentication for local connections
postgresql_1_509bc78bd805 | You can change this by editing pg_hba.conf or using the option -A, or
postgresql_1_509bc78bd805 | --auth-local and --auth-host, the next time you run initdb.
postgresql_1_509bc78bd805 | ok
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 | Success. You can now start the database server using:
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 |     pg_ctl -D /var/lib/postgresql/data -l logfile start
postgresql_1_509bc78bd805 |
postgresql_1_509bc78bd805 | waiting for server to start....2023-11-07 00:05:50.947 UTC [36] LOG:  starting PostgreSQL 12.16 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
postgresql_1_509bc78bd805 | 2023-11-07 00:05:50.949 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgresql_1_509bc78bd805 | 2023-11-07 00:05:50.962 UTC [37] LOG:  database system was shut down at 2023-11-07 00:05:50 UTC
postgresql_1_509bc78bd805 | 2023-11-07 00:05:50.967 UTC [36] LOG:  database system is ready to accept connections
postgresql_1_509bc78bd805 |  done
postgresql_1_509bc78bd805 | server started
postgresql_1_509bc78bd805 | CREATE DATABASE
...
server_1_f0c3587aca84 | /lifecycle/ak: line 44: exec: go: not found
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "c82de318a3124070a58d41a5d907d8e4", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.536000"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "b1bdf269-c577-4347-a7ff-bfbc28c4cbf7", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.537098"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "14b0ffef8b2046cba819fc526f01d6a8", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.564898"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "79d99f23-6a64-45c8-a28e-7a32c775104a", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.566035"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "b1bdf269c5774347a7ffbfbc28c4cbf7", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.574936"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "4e52c3b8-64d3-446c-9584-b5548759b1aa", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:26.576027"}
authentik_server_1_f0c3587aca84 exited with code 127
postgresql_1_509bc78bd805 | 2023-11-07 00:06:27.723 UTC [147] ERROR:  deadlock detected
postgresql_1_509bc78bd805 | 2023-11-07 00:06:27.723 UTC [147] DETAIL:  Process 147 waits for ShareLock on transaction 1332; blocked by process 146.
postgresql_1_509bc78bd805 |     Process 146 waits for ShareLock on transaction 1328; blocked by process 147.
postgresql_1_509bc78bd805 |     Process 147: UPDATE "authentik_flows_stage" SET "name" = 'default-authentication-login' WHERE "authentik_flows_stage"."stage_uuid" = '9c7625cbbab74445a22c437801896c78'::uuid
postgresql_1_509bc78bd805 |     Process 146: UPDATE "authentik_flows_stage" SET "name" = 'default-password-change-write' WHERE "authentik_flows_stage"."stage_uuid" = '322d654ede5346ae9b5300d7f5003352'::uuid
postgresql_1_509bc78bd805 | 2023-11-07 00:06:27.723 UTC [147] HINT:  See server log for query details.
postgresql_1_509bc78bd805 | 2023-11-07 00:06:27.723 UTC [147] CONTEXT:  while updating tuple (1,90) in relation "authentik_flows_stage"
postgresql_1_509bc78bd805 | 2023-11-07 00:06:27.723 UTC [147] STATEMENT:  UPDATE "authentik_flows_stage" SET "name" = 'default-authentication-login' WHERE "authentik_flows_stage"."stage_uuid" = '9c7625cbbab74445a22c437801896c78'::uuid
server_1_f0c3587aca84 | {"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315587.7393184, "file": "/authentik/lib/default.yml"}
server_1_f0c3587aca84 | {"event": "Loaded environment variables", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315587.7395694, "count": 6}
server_1_f0c3587aca84 | {"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315587.7396414}
server_1_f0c3587aca84 | {"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315587.742053}
server_1_f0c3587aca84 | {"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315587.7479284}
server_1_f0c3587aca84 | {"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315587.7479694}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "79d99f236a6445c8a28e7a32c775104a", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:27.998789"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "86aecaf0-218f-4e02-8bf4-090a4d308114", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.000577"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "86aecaf0218f4e028bf4090a4d308114", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.057317"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "fb6a79a0-fba2-42ac-b072-3e29ea2d675e", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.059153"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "fb6a79a0fba242acb0723e29ea2d675e", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.078105"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "57e26d5b-99e5-43be-b9f6-1c9361b92420", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.079792"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "57e26d5b99e543beb9f61c9361b92420", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.299048"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "d34ebf82-16e2-4802-9216-386e9cee7352", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.300626"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "d34ebf8216e248029216386e9cee7352", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.360986"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "5ce68d68-7ed9-4392-b12c-d5d84ef75766", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.362458"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "4e52c3b864d3446c9584b5548759b1aa", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.391066"}
server_1_f0c3587aca84 | {"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315588.391124, "file": "/authentik/lib/default.yml"}
server_1_f0c3587aca84 | {"event": "Loaded environment variables", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315588.391414, "count": 6}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "46d54d4f-1ac1-4fef-a3f6-670643398d60", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.392147"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "46d54d4f1ac14fefa3f6670643398d60", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.415572"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "cfd7b447-7d07-49f0-a300-e89dad3f4375", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.416888"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "5ce68d687ed94392b12cd5d84ef75766", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.469666"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "6ea44a1f-0f49-4f61-aeb5-20fb6a0dee73", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.470742"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "cfd7b4477d0749f0a300e89dad3f4375", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.472055"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "8dee0ebc-4b30-4490-856e-2cca1f854ee5", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.472932"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "6ea44a1f0f494f61aeb520fb6a0dee73", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.493066"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "29726459-aa2c-45c8-a820-0953ed30b24d", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.494441"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "8dee0ebc4b304490856e2cca1f854ee5", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.501860"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 25, "task_id": "4f084de2-03af-4072-ae06-c47b76337f6b", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.503102"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 25, "state": "SUCCESS", "task_id": "4f084de203af4072ae06c47b76337f6b", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.526073"}
server_1_f0c3587aca84 | 2023-11-07 00:06:28 [info     ] applying django migrations
server_1_f0c3587aca84 | 2023-11-07 00:06:28 [info     ] waiting to acquire database lock
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "29726459aa2c45c8a8200953ed30b24d", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.551480"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "a491b3a8-ce41-4439-8e65-53f9981a79d2", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.552926"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "a491b3a8ce4144398e6553f9981a79d2", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.623887"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "2e1077a6-60f3-4ddb-9b5e-a4001a6ea943", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.625264"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "2e1077a660f34ddb9b5ea4001a6ea943", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.679586"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "2ff9cc06-1f1f-497f-ae29-97b452693122", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.778834"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "2ff9cc061f1f497fae2997b452693122", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.798812"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "4e1d0fbd-964b-4429-a235-731348a42650", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.800249"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "da60fa5e-89f2-4d39-b638-0822dd504377", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.828789"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "4e1d0fbd964b4429a235731348a42650", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.845337"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "0d935f76-16eb-4f04-b220-5d0e9070361d", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.846936"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "0d935f7616eb4f04b2205d0e9070361d", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.924952"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "fe936dbe-2980-4da2-9fe6-6e187d1d2db4", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.926717"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "da60fa5e89f24d39b6380822dd504377", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.953716"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "4e445e2d-d701-4f66-a482-2bfc88125ddb", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:28.955362"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "4e445e2dd7014f66a4822bfc88125ddb", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.210088"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "7e4e76e4-9916-4fb0-87ce-07ccfa524f08", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.211779"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "fe936dbe29804da29fe66e187d1d2db4", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.250834"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "0ba4c841-cc24-40c2-83f1-eb00d17b8447", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.251990"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "7e4e76e499164fb087ce07ccfa524f08", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.273447"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "68b03a1c-1713-4743-836b-e979c545d4b7", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:29.274822"}
worker_1_e9415433b416 | {"event": "Task published", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "99ede88fee16458c80333c450e8ad8f2", "task_name": "authentik.outposts.tasks.outpost_service_connection_state", "timestamp": "2023-11-07T00:06:29.284163"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "68b03a1c17134743836be979c545d4b7", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:29.284835"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "6b807c8b-f097-4551-a7c2-789fcfc1fae7", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.285990"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "0ba4c841cc2440c283f1eb00d17b8447", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.493928"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "fdd0eb29-a422-4811-8d02-707c62f03c26", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.495068"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "fdd0eb29a42248118d02707c62f03c26", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.552234"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "c903b5df-541b-4272-a6cc-4242734d423c", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.554090"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "c903b5df541b4272a6cc4242734d423c", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.579157"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "827da948-7214-4b91-9157-aad18fe1740e", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.580943"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "827da94872144b919157aad18fe1740e", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.790520"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "46c54d4f-fee1-4e95-8e6e-b786888e7d95", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.792328"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "46c54d4ffee14e958e6eb786888e7d95", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.842107"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "ab2a8f70-7c5b-4cdd-a284-4fc25ca9fb7a", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:29.843396"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "ab2a8f707c5b4cdda2844fc25ca9fb7a", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.066541"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "575a76ba-22da-4ecd-b2a1-4f341b522d39", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.068059"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "575a76ba22da4ecdb2a14f341b522d39", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.084634"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "0f58cb8c-96ad-43fd-b327-84200693cdb9", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.085876"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "0f58cb8c96ad43fdb32784200693cdb9", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.155109"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "5bdb47d5-028f-4261-a7a3-8dcefea879df", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:30.156401"}
worker_1_e9415433b416 | {"event": "Model does not exist", "level": "warning", "logger": "authentik.outposts.tasks", "model": "<class 'authentik.tenants.models.Tenant'>", "pid": 33, "pk": "UUID('41deab41-ce07-448f-98e6-2dfa11752133')", "task_id": "task-5bdb47d5028f4261a7a38dcefea879df", "timestamp": "2023-11-07T00:06:30.159837"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "5bdb47d5028f4261a7a38dcefea879df", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:30.160434"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "cf847df6-8021-4c92-bc8e-23be35d6c989", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:30.161518"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "cf847df680214c92bc8e23be35d6c989", "task_name": "outpost_post_save", "timestamp": "2023-11-07T00:06:30.166264"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "70f5e0df-1b50-405b-bd10-9f47ae48aec3", "task_name": "blueprints_discovery", "timestamp": "2023-11-07T00:06:30.167388"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3003564, "path": "authentik.admin.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.300941, "path": "authentik.crypto.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3013227, "path": "authentik.events.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3020663, "path": "authentik.outposts.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3032913, "path": "authentik.policies.reputation.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.304588, "path": "authentik.providers.scim.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3053992, "path": "authentik.sources.ldap.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.305777, "path": "authentik.sources.oauth.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3061504, "path": "authentik.sources.plex.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.307567, "path": "authentik.stages.authenticator_totp.settings"}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.310338, "path": "authentik.blueprints.settings"}
server_1_f0c3587aca84 | {"event": "Booting authentik", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315590.3104358, "version": "2023.10.2"}
server_1_f0c3587aca84 | {"event": "Enabled authentik enterprise", "level": "info", "logger": "authentik.lib.config", "timestamp": 1699315590.3111951}
server_1_f0c3587aca84 | {"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1699315590.3114436, "path": "authentik.enterprise.settings"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "70f5e0df1b50405bbd109f47ae48aec3", "task_name": "blueprints_discovery", "timestamp": "2023-11-07T00:06:30.340457"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 33, "task_id": "8f0ae61c-3cb9-409d-9b0d-1ef35abcbd56", "task_name": "clear_failed_blueprints", "timestamp": "2023-11-07T00:06:30.341590"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 33, "state": "SUCCESS", "task_id": "8f0ae61c3cb9409d9b0d1ef35abcbd56", "task_name": "clear_failed_blueprints", "timestamp": "2023-11-07T00:06:30.348892"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "6b807c8bf0974551a7c2789fcfc1fae7", "task_name": "apply_blueprint", "timestamp": "2023-11-07T00:06:30.456432"}
server_1_f0c3587aca84 | {"event": "Loaded GeoIP database", "last_write": 1698524423.0, "level": "info", "logger": "authentik.events.geo", "pid": 8, "timestamp": "2023-11-07T00:06:31.085208"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "99ede88f-ee16-458c-8033-3c450e8ad8f2", "task_name": "outpost_service_connection_state", "timestamp": "2023-11-07T00:06:31.349426"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "99ede88fee16458c80333c450e8ad8f2", "task_name": "outpost_service_connection_state", "timestamp": "2023-11-07T00:06:31.435188"}
server_1_f0c3587aca84 | {"event": "Task published", "level": "info", "logger": "authentik.root.celery", "pid": 8, "task_id": "42e6cce8a5fd44ef824070ce5218fb83", "task_name": "authentik.blueprints.v1.tasks.blueprints_discovery", "timestamp": "2023-11-07T00:06:31.897460"}
server_1_f0c3587aca84 | {"event": "Task published", "level": "info", "logger": "authentik.root.celery", "pid": 8, "task_id": "c42727e5ea44495f80b6548d45abbed2", "task_name": "authentik.blueprints.v1.tasks.clear_failed_blueprints", "timestamp": "2023-11-07T00:06:31.898324"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 34, "task_id": "42e6cce8-a5fd-44ef-8240-70ce5218fb83", "task_name": "blueprints_discovery", "timestamp": "2023-11-07T00:06:31.900530"}
worker_1_e9415433b416 | {"event": "Task started", "level": "info", "logger": "authentik.root.celery", "pid": 35, "task_id": "c42727e5-ea44-495f-80b6-548d45abbed2", "task_name": "clear_failed_blueprints", "timestamp": "2023-11-07T00:06:31.900749"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 35, "state": "SUCCESS", "task_id": "c42727e5ea44495f80b6548d45abbed2", "task_name": "clear_failed_blueprints", "timestamp": "2023-11-07T00:06:31.914607"}
worker_1_e9415433b416 | {"event": "Task finished", "level": "info", "logger": "authentik.root.celery", "pid": 34, "state": "SUCCESS", "task_id": "42e6cce8a5fd44ef824070ce5218fb83", "task_name": "blueprints_discovery", "timestamp": "2023-11-07T00:06:32.058663"}
server_1_f0c3587aca84 | {"app_name": "authentik.stages.authenticator", "event": "Could not import app's URLs", "exc": "ModuleNotFoundError(\"No module named 'authentik.stages.authenticator.urls'\")", "level": "warning", "logger": "authentik.api.v3.urls", "pid": 8, "timestamp": "2023-11-07T00:06:32.093495"}
server_1_f0c3587aca84 | Operations to perform:
server_1_f0c3587aca84 |   Apply all migrations: auth, authentik_blueprints, authentik_core, authentik_crypto, authentik_enterprise, authentik_events, authentik_flows, authentik_outposts, authentik_policies, authentik_policies_dummy, authentik_policies_event_matcher, authentik_policies_expiry, authentik_policies_expression, authentik_policies_password, authentik_policies_reputation, authentik_providers_ldap, authentik_providers_oauth2, authentik_providers_proxy, authentik_providers_radius, authentik_providers_saml, authentik_providers_scim, authentik_rbac, authentik_sources_ldap, authentik_sources_oauth, authentik_sources_plex, authentik_sources_saml, authentik_stages_authenticator_duo, authentik_stages_authenticator_sms, authentik_stages_authenticator_static, authentik_stages_authenticator_totp, authentik_stages_authenticator_validate, authentik_stages_authenticator_webauthn, authentik_stages_captcha, authentik_stages_consent, authentik_stages_deny, authentik_stages_dummy, authentik_stages_email, authentik_stages_identification, authentik_stages_invitation, authentik_stages_password, authentik_stages_prompt, authentik_stages_user_delete, authentik_stages_user_login, authentik_stages_user_logout, authentik_stages_user_write, authentik_tenants, contenttypes, guardian, sessions
server_1_f0c3587aca84 | Running migrations:
server_1_f0c3587aca84 |   No migrations to apply.
server_1_f0c3587aca84 | {"event": "Bootstrap completed", "level": "info", "logger": "bootstrap"}
server_1_f0c3587aca84 | /lifecycle/ak: line 44: exec: go: not found
authentik_server_1_f0c3587aca84 exited with code 127

Version and Deployment (please complete the following information):

authentik-automation[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Rawk commented 7 months ago

For me, switching to another server with newer Docker an Linux kernel fixed it.

Working

OS: Debian GNU/Linux 12 (bookworm) Linux: 6.1.0-18-amd64 Docker client: 20.10.24+dfsg1 Docker server: 20.10.24+dfsg1 Docker compose: 1.29.2 containerd: 1.6.20~ds1 runc: 1.1.5+ds1 docker-init: 0.19.0 docker-py: 5.0.3 CPython: 3.11.2 OpenSSL: 3.0.11

Not working

OS: Debian GNU/Linux 10 (buster) Linux: 4.19.0-11-amd64 Docker client: 19.03.13 Docker server: 19.03.13 Docker compose: 1.27.4 containerd: 1.3.7 runc: 1.0.0-rc10 docker-init: 0.18.0 docker-py: 4.3.1 CPython: 3.7.7 OpenSSL: 1.1.0l