Uptime Kuma 2.0.0 package
-
@andreasdueren it's using the slim version .
@imc67 https://status.cloudron.io upgraded automatically . But it took ~20-30 mins for the migration to complete. After upgrade, it shows a message a in index page giving the status of the migration . Our app has ~1.5GB of data.
-
@andreasdueren it's using the slim version .
@imc67 https://status.cloudron.io upgraded automatically . But it took ~20-30 mins for the migration to complete. After upgrade, it shows a message a in index page giving the status of the migration . Our app has ~1.5GB of data.
@joseph said in Uptime Kuma 2.0.0 package:
upgraded automatically . But it took ~20-30 mins for the migration to complete. After upgrade, it shows a message a in index page giving the status of the migration . Our app has ~1.5GB of data.
I gave it a try: 40 monitors with 7 days retention took 20 minutes, in the Logs Viewer you can see live the progress, all seems well after migration.
Thanks!!
-
My first try was a showstopper:
Oct 22 13:18:11 Your Node.js version: 18.20.8 Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] ERROR: Failed to prepare your database: Aggregate table migration is already in progress Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Connected to the database Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Creating express and socket.io instance Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Data Dir: ./data/ Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Loading modules Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Server Type: HTTP Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Uptime Kuma Version: 2.0.1 Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] ERROR: Database migration failed Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] WARN: Aggregate table migration is already in progress, or it was interrupted Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] INFO: Database Type: sqlite Oct 22 13:18:13 \ Oct 22 13:18:38 ==> Overriding settings Oct 22 13:18:38 ==> Removing sqlite backup files Oct 22 13:18:38 ==> Starting Uptime Kuma Oct 22 13:18:39 2025-10-22T13:18:39+02:00 Oct 22 13:18:39 2025-10-22T13:18:39+02:00 Oct 22 13:18:39 Welcome to Uptime KumaNow in an endless loop. I'll try it on a second clone.
-
My first try was a showstopper:
Oct 22 13:18:11 Your Node.js version: 18.20.8 Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] ERROR: Failed to prepare your database: Aggregate table migration is already in progress Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Connected to the database Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Creating express and socket.io instance Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Data Dir: ./data/ Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Loading modules Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Server Type: HTTP Oct 22 13:18:12 2025-10-22T11:18:12Z [SERVER] INFO: Uptime Kuma Version: 2.0.1 Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] ERROR: Database migration failed Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] WARN: Aggregate table migration is already in progress, or it was interrupted Oct 22 13:18:12 2025-10-22T11:18:12Z [DB] INFO: Database Type: sqlite Oct 22 13:18:13 \ Oct 22 13:18:38 ==> Overriding settings Oct 22 13:18:38 ==> Removing sqlite backup files Oct 22 13:18:38 ==> Starting Uptime Kuma Oct 22 13:18:39 2025-10-22T13:18:39+02:00 Oct 22 13:18:39 2025-10-22T13:18:39+02:00 Oct 22 13:18:39 Welcome to Uptime KumaNow in an endless loop. I'll try it on a second clone.
-
@andreasdueren it's using the slim version .
@imc67 https://status.cloudron.io upgraded automatically . But it took ~20-30 mins for the migration to complete. After upgrade, it shows a message a in index page giving the status of the migration . Our app has ~1.5GB of data.
-
Woohoo. 2.0.1 update worked.
Q: Any plans to switch the app package to MariaDB instead of sqlite? -
Woohoo. 2.0.1 update worked.
Q: Any plans to switch the app package to MariaDB instead of sqlite? -
I've opened an issue upstream, as starting the update triggered a false positive alert from Google Chrome on my subdomain:
-
Today, I read about it on GitHub and the Uptime Kuma demo page shows the possibility of connecting MySQL. So, it is possible to bundle Uptime Kuma with MySQL.
-
Today, I read about it on GitHub and the Uptime Kuma demo page shows the possibility of connecting MySQL. So, it is possible to bundle Uptime Kuma with MySQL.
-
Took a little peek into the MariaDB/MySQL support of Uptime Kuma https://github.com/louislam/uptime-kuma/wiki/Environment-Variables#mariadb-environment-variables
Unfortunately the official statement is thatmigrating an existing SQLite database to MariaDB is not supported.
But, there is a way and someone did the work already https://github.com/louislam/uptime-kuma/issues/5280#issuecomment-2642224548
How stable this approach is needs to be verified. -
L luckow referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login