InDocumentation Index
Fetch the complete documentation index at: https://docs.coollabs.io/llms.txt
Use this file to discover all available pages before exploring further.
v3.12.33 a new feature has been added. You can now roll your secret key.
This is useful if you think your secret key has been compromised.
How to roll the secret key
If you are upgrading form a version belowv3.12.33, you will be automatically rolled to a new secret key.
If you are just installing Coolify, you do not need to do anything.
Rollback to old secret key
(It also solve this issue related to secretOrPrivateKey must be an asymmetric key when using RS256 or Getting 500 error when accessing running services). If you want to rollback to the old secret key, you need to do the followings:- Login to your Coolify instance via SSH.
- Switch to root user (
sudo su -) and locate your~/coolify/.envfile. - In
~/coolify/.envfile there should be aCOOLIFY_SECRET_KEYenvironment variable. - Create a
COOLIFY_SECRET_KEY_BETTERwith the same value asCOOLIFY_SECRET_KEY. - Check your database files with
docker exec coolify ls -l /app/dbcommand. - There should be at least on with the name of
prod.dband a few withprod.db_<date>. - Locate the oldest one. For example:
- Make a copy of your
prod.dbfile:docker exec coolify cp /app/db/prod.db /app/db/prod.db_$(date +"%Y%m%d%H%M%S") - Overwrite
prod.dbwith the old database file:docker exec coolify cp /app/db/prod.db_1689674942980 /app/db/prod.db
- Reinstall Coolify with:
cd ~ && wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -f
Force roll secret key
- Login to your Coolify instance via SSH.
- Run the following command:
docker exec -ti coolify bash. Now you are in the Coolify container. - You will work in the
/app/.envfile. You can edit it withvi .env. - Delete
COOLIFY_SECRET_KEY_BETTER. - Login to your Coolify instance on the web interface.
- Go to
Settingsand fill theRollbackinput field with3.12.33(or the latest version - you can check it here) and click onRollback.