Here’s how I broke Coolify – while updating through the web interface. #3687
Replies: 4 comments 7 replies
-
I think I just had the same issue.. |
Beta Was this translation helpful? Give feedback.
-
This is a know issues and we should fix this asap, there is also an issue about this: #3407 |
Beta Was this translation helpful? Give feedback.
-
This will be fixed in the next version. |
Beta Was this translation helpful? Give feedback.
-
Same here. I don't remember pressing the button multiple times. These are the logs: upgrade-2024-11-13-01-00-05.log:
upgrade-2024-11-13-15-40-06.log
upgrade-2024-11-13-15-40-08.log
I'm glad to report that running /data/coolify/source/upgrade.sh indeed fixes the issue, thanks @ignasandr ! Thanks for Coolify, it's 😎 |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
I just wanted to warn you about the possibility of breaking your Coolify server during an update.
I was trying to update my server and clicked the update button several times because after the first click, the button doesn’t get disabled. It seems like the update script starts running multiple times when you click it again.
As a result, my backup .env file wasn’t saved. Something went wrong—the new file wasn’t created, and the old backup file didn’t save. It looks like the repeated clicking caused the update to run multiple times, and some files overwrote others.
In the end, I lost my env settings, and most importantly, I lost the encryption key for my Laravel app. To get it running again, I had to create a new key, but now all the old projects won’t open. I keep getting the error: “Error: The MAC is invalid” for almost all the old applications.
I’m hesitant to try and reproduce this issue again, just wanted to warn you all not to click the update button multiple times. If a developer is reading this, it might be a good idea to disable the button and show that the process has started—right now, that only happens after 3-5 seconds.
I also want to tell the developer that the application itself is just amazing. I’m sure you’ve probably heard this many times, but I want to say it again. If I could give 100 stars instead of one, I would! Thank you so much for your work.
Beta Was this translation helpful? Give feedback.
All reactions