getlago/lago) are not affected.
What are the changes?
The backend services need four secrets:SECRET_KEY_BASELAGO_ENCRYPTION_PRIMARY_KEYLAGO_ENCRYPTION_DETERMINISTIC_KEYLAGO_ENCRYPTION_KEY_DERIVATION_SALT
docker compose command (also down, ps and logs) stops with an error until the four secrets are set:
deploy.sh now generate each secret once and keep it in .env.
Why are we doing this?
The placeholder values are public. An install that ran with them signed its sessions and encrypted its credentials with values that anyone can read.What should self-hosted users do?
Cloud users do not need to follow these instructions.
.env already sets the four secrets, you have nothing to do.
If your install ran with the old defaults, do these steps before you use the new compose file.
1. Replace SECRET_KEY_BASE
Anyone can read the old value, so set a new one:
2. Keep the encryption values that your data uses
If you never set them, your install used these exact strings. They are not placeholders: copy them into.env as they are.
3. Install Lago v1.58.0
Follow the update process. Keep a backup of.env: you cannot recover encrypted data without it.