Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu

A Step-by-Step Guide to Upgrading Uptime Kuma to Version 2.0

Posted on March 8, 2026

Have you ever wondered how big companies know exactly when their websites go down? They use powerful monitoring tools, and one of the best for students and hobbyists is Uptime Kuma. Today, we are going to learn how to safely upgrade this tool to version 2.0, ensuring your data stays protected.

Uptime Kuma is an essential open-source service that tracks the status of your websites, APIs, and servers. While version 1.0 served us well, version 2.0 introduces several professional-grade features. The most significant change is the support for MariaDB as a database backend. In the past, we were limited to SQLite, which is like a small notebook for data. MariaDB is more like a large, organized filing cabinet, offering better performance and scalability. Additionally, this update adds support for Docker Secrets—which is vital for keeping your passwords safe—and many new notification providers to alert you if something goes wrong.

Before we begin the technical steps, we must address the golden rule of IT: always back up your data. Upgrading to a major version involves structural changes to how the software reads your information. If something goes wrong during the process, having a backup ensures you don’t lose your monitoring history or configurations. To start, you should navigate to your project directory and stop your current instance using the command docker-compose down. Please ensure you do not use the -v flag, as that would delete your persistent data volumes.

To create a proper backup of a Docker volume, we can use a temporary container. Think of this as a “helper” that packs your files into a suitcase before the big move. You can run a command using the busybox image to create a compressed .tar file of your uptime-kuma-data. This file will contain your kuma.db (the SQLite database), your uploaded files, and your SSL certificates. Once you have this archive safe on your hard drive, we can proceed with confidence.

The next step involves modifying your compose.yaml file. In previous versions, many users simply used the :latest tag for their Docker image. However, the developers have deprecated this for version 1.0 to prevent accidental upgrades that might break a system. To move to the new version, you must manually change the image tag from louislam/uptime-kuma:1 or louislam/uptime-kuma:latest to louislam/uptime-kuma:2. Using a specific version like 2.1.3 is even better because it ensures your environment remains stable and predictable.

Once you have updated the image tag, you can start the service again by running docker-compose up -d. This is where the magic happens. Uptime Kuma 2.0 will detect your old version 1.0 data and begin an automated migration process. It is crucial that you monitor this process by checking the logs with the command docker logs -f uptime-kuma. You will see a progress bar indicating that it is “Migrating Aggregate Table.” For a small setup, this might take a few seconds, but for a large monitoring environment with years of data, it could take several minutes. Whatever you do, do not stop the container while this is running! Stopping it mid-migration is like turning off a game console while it’s saving your progress; it can corrupt the database.

For those of you who want to take your home lab to the next level, you might want to switch from SQLite to MariaDB. This is an advanced step and is not officially supported for direct migration by the developers yet, but it is possible using community tools like sqlite3-to-mysql. To do this, you would first set up a MariaDB container in your Docker Compose file and then use the conversion tool to “inject” your old SQLite data into the new MariaDB instance. You would then need to add environment variables to your Uptime Kuma service, such as UPTIME_KUMA_DB_TYPE=mariadb, along with the host, username, and password for the database.

Successfully upgrading your tools is a key skill in becoming a proficient IT administrator. By moving to Uptime Kuma 2.0, you are not just getting new buttons and colors; you are moving toward a more robust, industry-standard architecture. Remember to always read the official migration guides provided by the developers, as they contain specific details about breaking changes that might affect your unique setup. I recommend that you verify all your monitors and notification settings once the upgrade is complete to ensure everything is functioning as expected. Keep exploring, and happy monitoring!

Recent Posts

  • Make Linux Kernel More Safe and Hardening with Sysctl Easy Way
  • How to Lockdown Root & Wheel Group in Linux
  • How to Secure Sudo in Linux (Secure Sudo Logging & Timeout)
  • Make Fedora Login Safe with Authselect and Faillock
  • How Measure Linux Security Use OpenSCAP Lynis and Systemd
  • SELinux Make Nginx Break and How to Fix It Easy
  • How See Hidden SELinux Errors When Your Server Is Broken
  • How Fix SELinux Port Denied Error With Sealert Easy Guide
  • Read SELinux AVC Denial Log Simple Guide for Noob
  • How Check and Fix SELinux Block Things in Fedora Linux
  • How Actually SELinux is Work?
  • How to Install Elementary OS 8 Easy and Make It Good
  • How to Install UniFi OS Server on Ubuntu Linux Without Cloud Key
  • Top DNF5 Tips to Make Your Fedora Linux Super Fast
  • Run Local AI on Fedora 44 CPU Without Expensive GPU
  • Google Gemini Live Redesign: Works with more ‘Connected Apps’ on Android
  • A new LILYGO T3S3 ESP32-S3 with LoRA, WiFi & Bluetooth is Released only $16
  • New ESP32 Project: OpenTrafficMap ESP32-C5 C-ITS With 802.11p V2X communication
  • How to Unlock the Hidden Potential of Your Kindle with Amazing Community Plugins
  • How to Use Waze with Android Auto for the Ultimate Driving Experience
  • How to Transform Your GNOME Desktop with GNOME Prism
  • Why Your Google Maps Wear OS Navigation Fails While Using Android Auto
  • Packagist Attacked! How to Detect Hidden Malware Like This?
  • Claude Mythos Keeps Find High-severity Flaws, What You Should You Do?
  • How to Secure Your PHP Applications Against the Recent Laravel-Lang Supply Chain Attack and Credential Stealers
  • Inilah 20 Kampus Swasta Terbaik di Bandung Versi EduRank 2026 untuk Referensi Kuliah Kalian
  • Inilah Syarat dan Cara Daftar Sekolah Kedinasan STPN 2026, Kuota Terbatas!
  • Inilah Cara Daftar PPKB UI 2026 Lengkap dengan Rincian Uang Pangkal Semua Jurusan S1
  • Inilah Aturan Resmi MPLS 2026 dari Kemendikdasmen, Guru dan Sekolah Wajib Catat Pedoman Lengkap Ini!
  • Inilah Cara Daftar Beasiswa S1/D4 Guru Kemendikdasmen 2026, Masa Pendaftaran Diperpanjang!
  • How to Automate Your Entire SEO Strategy Using a Swarm of 100 Free AI Agents Working in Parallel
  • How to create professional presentations easily using NotebookLM’s AI power for school projects and beyond
  • How to Master SEO Automation with Google Gemini 3.1 Flash-Lite in Google AI Studio
  • How to create viral AI video ads and complete brand assets using the Claude and Higgsfield MCP integration
  • How to Transform Your Mac Into a Supercharged AI Assistant with Perplexity Personal Computer
RSS Error: WP HTTP Error: A valid URL was not provided.
©2026 Tutorial emka | Design: Newspaperly WordPress Theme