Updating Authentik
This is extended guide to updating Authentik software. Read trough official Authentik documentation before running updates.
- Take a snapshot of Overseer vm
- Navigate to Authentik Directory
cd /docker/authentik
- Backup Database
docker exec -t authentik_postgresql_1 pg_dumpall -c -U postgres > authentik_backup.sql
- Download the latest docker-compose.yml file
wget -O docker-compose.yml https://goauthentik.io/docker-compose.yml
- Ensure .env is all set and has following variables in it
touch .env
PG_PASS=your_database_password
PG_USER=authentik
PG_DB=authentik
AUTHENTIK_SECRET_KEY=your_secret_key
AUTHENTIK_TAG=latest
- Pull the Latest image and apply the updates
docker compose pull
docker compose up -d
- Check the status
docker compose ps
- Login to Authentik and make sure everything is up to date, and everything is working properly
Optional:
If there is an error due to space when downloading or installing the image run a clean up command:
docker image prune -a