In 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.
It is introduced because there was a security issue with the secret key. If you are using a version below v3.12.33, please update your Coolify instance.
Technical details: The secret key was generated with the installation date used as a random seed. This means that if someone knows the installation date, they can generate the secret key. This is not a problem if you are using a recent version of Coolify, because the installation date is not used anymore since 2023.07.14.
If you are upgrading form a version below v3.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.
(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:
sudo su -
) and locate your ~/coolify/.env
file.~/coolify/.env
file there should be a COOLIFY_SECRET_KEY
environment variable.COOLIFY_SECRET_KEY_BETTER
with the same value as COOLIFY_SECRET_KEY
.docker exec coolify ls -l /app/db
command.prod.db
and a few with prod.db_<date>
.prod.db
file: docker exec coolify cp /app/db/prod.db /app/db/prod.db_$(date +"%Y%m%d%H%M%S")
prod.db
with the old database file: docker exec coolify cp /app/db/prod.db_1689674942980 /app/db/prod.db
app/db/prod.db_1689674942980
will be different in your case
cd ~ && wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -f
If you have any questions, please contact us.
docker exec -ti coolify bash
. Now you are in the Coolify container./app/.env
file. You can edit it with vi .env
.COOLIFY_SECRET_KEY_BETTER
.Settings
and fill the Rollback
input field with 3.12.33
(or the latest version - you can check it here) and click on Rollback
.If you have any questions, please contact us.
In 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.
It is introduced because there was a security issue with the secret key. If you are using a version below v3.12.33, please update your Coolify instance.
Technical details: The secret key was generated with the installation date used as a random seed. This means that if someone knows the installation date, they can generate the secret key. This is not a problem if you are using a recent version of Coolify, because the installation date is not used anymore since 2023.07.14.
If you are upgrading form a version below v3.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.
(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:
sudo su -
) and locate your ~/coolify/.env
file.~/coolify/.env
file there should be a COOLIFY_SECRET_KEY
environment variable.COOLIFY_SECRET_KEY_BETTER
with the same value as COOLIFY_SECRET_KEY
.docker exec coolify ls -l /app/db
command.prod.db
and a few with prod.db_<date>
.prod.db
file: docker exec coolify cp /app/db/prod.db /app/db/prod.db_$(date +"%Y%m%d%H%M%S")
prod.db
with the old database file: docker exec coolify cp /app/db/prod.db_1689674942980 /app/db/prod.db
app/db/prod.db_1689674942980
will be different in your case
cd ~ && wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -f
If you have any questions, please contact us.
docker exec -ti coolify bash
. Now you are in the Coolify container./app/.env
file. You can edit it with vi .env
.COOLIFY_SECRET_KEY_BETTER
.Settings
and fill the Rollback
input field with 3.12.33
(or the latest version - you can check it here) and click on Rollback
.If you have any questions, please contact us.