Upgrade Authentik: diferenças entre revisões
Criou a página com "'''Before updating dependencies or Authentik itself, make a snapshot of the VM library on Proxmox. The steps should be carefully followed in the order in which they are listed as''' * Run the command <code>docker inspect authentik-authentik-1</code>" |
Sem resumo de edição |
||
Linha 2: | Linha 2: | ||
* Run the command <code>docker inspect authentik-authentik-1</code> | * Run the command <code>docker inspect authentik-authentik-1</code> | ||
* Run the command changing the version to the new one <code>docker pull ghcr.io/goauthentik/server:2025.8.1</code> | |||
* With the data received from that command fill that following command: | |||
<code> | |||
docker run -d \ --name authentik-worker-1 \ --network authentik_default \ --restart unless-stopped \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /data/compose/31/media:/media \ -v /data/compose/31/custom-templates:/templates \ -v /data/compose/31/certs:/certs \ -e PG_HOST=194.210.52.10 \ -e AUTHENTIK_EMAIL__PORT=587 \ -e AUTHENTIK_EMAIL__PASSWORD="'''CHANGE_TO_PASSWORD'''" \ -e AUTHENTIK_EMAIL__HOST=mail.arditi.pt \ -e AUTHENTIK_POSTGRESQL__USER=authentik \ -e AUTHENTIK_ERROR_REPORTING__ENABLED=true \ -e AUTHENTIK_EMAIL__TIMEOUT=10 \ -e PG_PASS='pDPBza#iyQ85JT6faWGUfiAr9gVo9j7w9*cWEp8$bPHg^f5NwLyWNryEzg8U#sm6' \ -e AUTHENTIK_EMAIL__FROM=noreply@arditi.pt \ -e AUTHENTIK_POSTGRESQL__NAME=db_authentik \ -e AUTHENTIK_POSTGRESQL__HOST=194.210.52.10 \ -e AUTHENTIK_EMAIL__USE_SSL=false \ -e AUTHENTIK_REDIS__HOST=redis \ -e PG_DB=db_authentik \ -e AUTHENTIK_EMAIL__USE_TLS=true \ -e AUTHENTIK_EMAIL__USERNAME=noreply@arditi.pt \ -e PG_USER=authentik \ -e AUTHENTIK_SECRET_KEY='0mAtqGtZMc3SNdWU5pKKzb0yzK5Rua1RzJnUiq7Ua' \ -e AUTHENTIK_POSTGRESQL__PASSWORD='pDPBza#iyQ85JT6faWGUfiAr9gVo9j7w9*cWEp8$bPHg^f5NwLyWNryEzg8U#sm6' \ --health-cmd "ak healthcheck" \ --health-interval 30s \ --health-timeout 30s \ --health-start-period 60s \ --health-retries 3 \ ghcr.io/goauthentik/server:2025.8.1 \ server | |||
</code> |
Revisão das 14h53min de 5 de setembro de 2025
Before updating dependencies or Authentik itself, make a snapshot of the VM library on Proxmox. The steps should be carefully followed in the order in which they are listed as
- Run the command
docker inspect authentik-authentik-1
- Run the command changing the version to the new one
docker pull ghcr.io/goauthentik/server:2025.8.1
- With the data received from that command fill that following command:
docker run -d \ --name authentik-worker-1 \ --network authentik_default \ --restart unless-stopped \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /data/compose/31/media:/media \ -v /data/compose/31/custom-templates:/templates \ -v /data/compose/31/certs:/certs \ -e PG_HOST=194.210.52.10 \ -e AUTHENTIK_EMAIL__PORT=587 \ -e AUTHENTIK_EMAIL__PASSWORD="CHANGE_TO_PASSWORD" \ -e AUTHENTIK_EMAIL__HOST=mail.arditi.pt \ -e AUTHENTIK_POSTGRESQL__USER=authentik \ -e AUTHENTIK_ERROR_REPORTING__ENABLED=true \ -e AUTHENTIK_EMAIL__TIMEOUT=10 \ -e PG_PASS='pDPBza#iyQ85JT6faWGUfiAr9gVo9j7w9*cWEp8$bPHg^f5NwLyWNryEzg8U#sm6' \ -e AUTHENTIK_EMAIL__FROM=noreply@arditi.pt \ -e AUTHENTIK_POSTGRESQL__NAME=db_authentik \ -e AUTHENTIK_POSTGRESQL__HOST=194.210.52.10 \ -e AUTHENTIK_EMAIL__USE_SSL=false \ -e AUTHENTIK_REDIS__HOST=redis \ -e PG_DB=db_authentik \ -e AUTHENTIK_EMAIL__USE_TLS=true \ -e AUTHENTIK_EMAIL__USERNAME=noreply@arditi.pt \ -e PG_USER=authentik \ -e AUTHENTIK_SECRET_KEY='0mAtqGtZMc3SNdWU5pKKzb0yzK5Rua1RzJnUiq7Ua' \ -e AUTHENTIK_POSTGRESQL__PASSWORD='pDPBza#iyQ85JT6faWGUfiAr9gVo9j7w9*cWEp8$bPHg^f5NwLyWNryEzg8U#sm6' \ --health-cmd "ak healthcheck" \ --health-interval 30s \ --health-timeout 30s \ --health-start-period 60s \ --health-retries 3 \ ghcr.io/goauthentik/server:2025.8.1 \ server