Warning
It is a major version update. It contains some breaking changes. Please read the migration guide carefully if you want to upgrade from v1 to v2.
Warning
Beta only
Before You Start
- Stop your Uptime Kuma and:
- Backup your
data
directory. - Make sure you have a backup of your
data
directory again. - Make sure you have a backup of your
data
directory again and again.
- Backup your
- The migration process could take some time to complete, depending on the size of your database.
- You should be able to view the logs of the migration process in the console.
- Do not interrupt the migration process.
- FYI: My Uptime Kuma had 20 monitors and 90 days of data, and it took around 7 minutes to migrate.
- Beta version is not stable and may contain bugs, especially for the first beta release.
Breaking Changes
- The
:duration
of these endpoints accepts24
,24h
,30d
,1y
only<kuma-url>/api/badge/:monitorID/ping/:duration
<kuma-url>/api/badge/:monitorID/uptime/:duration
- Dropped support for legacy browsers
- The deprecated backup and CachableLookup features are completely removed now
- Default retires for NEWly created monitors are now
0
instead of1
to prevent users being confused Email (SMTP)
switched templating for subjects/bodys from a custom-regex to LiquidJS. LiquidJS does discriminate between case-ness of variables and ignores all non-matching variables. These are the supported variables:name
,msg
,status
,heartbeatJSON
,monitorJSON
,hostnameOrUrl
Docker only
- Dropped support for Alpine base docker image (But you still can migrate to the v2)
- If your host are using Debian / Raspbian Buster, you should not upgrade. Due to the bug of libseccomp2, it will be running into a startup problem. Read more: https://github.com/louislam/uptime-kuma/issues/41#issuecomment-896164516
Non Docker
- Dropped support for Node.js 14 and 16. The minimum supported version of Node.js is 18. Node.js 20 is recommended.
Docker Tags
Recommended Tags
Not available yet.
Unstable Tags
Beta Tags
Tag | Description |
---|---|
beta | The latest of Beta version of Uptime Kuma |
beta-slim | (Slim) The latest of Beta version of Uptime Kuma |
Other Beta Tags
Tag | Description |
---|---|
2.x.x-beta.x | Pinned to a specific beta release |
2.x.x-beta-slim.x | (Slim) Pinned to a specific beta release |
Beta Rootless Tags
Warning
Rootless images are not recommended for upgrading from v1 to v2, you will run into startup issues likely.
Warning
⚠️ Rootless images are for users who want to run Uptime Kuma without root privileges, but some features may not work as expected.
Tag | Description |
---|---|
beta-rootless | The latest of Beta version of Uptime Kuma (Rootless) |
beta-slim-rootless | (Slim) The latest of Beta version of Uptime Kuma (Rootless) |
2.x.x-beta-rootless.x | Pinned to a specific beta release (Rootless) |
2.x.x-beta-slim-rootless.x | (Slim) Pinned to a specific beta release (Rootless) |
Nightly Tags
Tag | Description |
---|---|
nightly2 | Development build |
nightly2-rootless | Rootless development build |
Slim vs Full?
Slim version is a smaller image size, it is about ~300MB to ~400MB smaller than the full version.
Full version includes:
- Embedded MariaDB
- Embedded Chromium
- Embedded some fonts for Chromium
- Any big dependencies in the future may be included in the full version only too
If you don't need the above features, you can use the slim version.
Rootless vs Non-Rootless?
Rootless tags are for users who want to run Uptime Kuma without root privileges, but some features may not work as expected.
Known issues:
- ⚠️ Not recommended for upgrading from v1 to v2.
- ⚠️ If file permission is not set correctly, Uptime Kuma will run into startup issues. You should set the
data
directory tonode:node (1000:1000)
user. - Docker monitor will not work without proper configure, as by default, it requires root privileges.
- Embedded MariaDB doesn't seem to be working on Docker Desktop (Windows), if you the
data
directory bind to a Windows folder.
Migration Steps (Docker)
- Stop your Uptime Kuma container.
docker stop uptime-kuma
- Backup your
data
directory. - Change the image tag to
louislam/uptime-kuma:beta
.
docker run -d --restart=unless-stopped -p <YOUR_PORT>:3001 -v <YOUR_DIR OR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma:beta
- Check the logs to see the migration process.
docker logs -f uptime-kuma
Migration Steps (Docker Compose)
- Stop your Uptime Kuma stack.
docker compose down
-
Backup your
data
directory. -
Change the image tag to
louislam/uptime-kuma:beta
.
services:
uptime-kuma:
image: louislam/uptime-kuma:beta
....
- Start your Uptime Kuma stack.
docker compose up -d
- Check the logs to see the migration process.
docker compose logs -f
Migration Steps (Non-Docker)
Beta is not available for non-docker yet.
FAQ
Can I migrate my existing SQLite database to MariaDB?
Cannot be done directly. You will need to export your data from SQLite and import it into MariaDB using 3rd party tools.
Installation & Configuration
Features
- Reset Password via CLI
- Status Page
- Notification Methods
- Badge
- How to Monitor Docker Containers
- Maintenance
- 3rd Party Addons/Apps
- API Keys
Network
Integrations
Development & Contributions
- CONTRIBUTING Rules & Guide
- How to Translate
- Setup Development Environment
- Test Pull Requests
- Development Side Notes