Upgrade Authentik: diferenças entre revisões
Sem resumo de edição |
Sem resumo de edição |
||
Linha 5: | Linha 5: | ||
* With the data received from that command fill that following command: | * With the data received from that command fill that following command: | ||
<code> | <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=' | 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="'''CHANGE_TO_PASSWORD'''" \ -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="'''CHANGE_TO_PASSWORD'''" \ -e AUTHENTIK_POSTGRESQL__PASSWORD="'''CHANGE_TO_PASSWORD'''" \ --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> | </code> |
Revisão das 14h55min 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="CHANGE_TO_PASSWORD" \ -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="CHANGE_TO_PASSWORD" \ -e AUTHENTIK_POSTGRESQL__PASSWORD="CHANGE_TO_PASSWORD" \ --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