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

  • How to Generate Battery Report in Windows 11: A Simple Guide
  • How to Setting Up a Pro-Level Security System with Reolink and Frigate NVR
  • How to Install DaVinci Resolve on Nobara Linux and Fix Video Compatibility Issues Like a Pro
  • How to Master GitHub’s New Power Tools: Copilot CLI, Dashboards, and More!
  • How to Create and Configure DNS Server on RHEL 10
  • How a Security Professional Bypassed a High-Security Building Using Just a Smartphone and a QR Code
  • A Step-by-Step Guide to Upgrading Uptime Kuma to Version 2.0
  •  How to Disable Bing Search in the Windows 11 Start Menu for Better Privacy
  • How to Transitioning from Engineer to Product Manager
  • How to Managing GitHub Pull Requests Directly from Your Terminal with Github-CLI
  • How to Building a Privacy-First Self-Hosted App Stack, 2026!
  • How to Remove Underlines from Links in Outlook
  •  How to Fix Microsoft 365 Deployment Tool Not Working: A Complete Troubleshooting Guide
  •  How to Fix Windows 11 ISO Download Blocked and Error Messages
  • How to Make Your Website Vibrate with Web Haptics
  • Measuring LLM Bullshit Benchmark
  • A Step-by-Step Guide to ZITADEL Identity Infrastructure
  • How NVIDIA G-SYNC Pulsar is Finally Fixing Motion Blur Forever
  • How Multipathing Keeps Your Linux Systems Running Smoothly!
  • Forgejo: A Self-hosted Github Alternative You Should Try
  • Introducing Zo Computer, How it Will Changing Personal Data Science Forever
  • Which AI Brain Should Your Coding Agent Use? A Deep Dive into the OpenHands Index
  • Hoppscotch, The Postman Killer: Why You Should Switch from Postman to Hoppscotch Right Now
  • Nitrux 6.0 Released with Linux Kernel 6.19: What’s New?
  • How to Upgrade Pop!_OS 22.04 LTS to 24.04 LTS: A Step-by-Step Guide
  • Inilah Alasan Kenapa Sumbangan ke Tempat Ibadah Biasa Nggak Bisa Langsung Jadi Pemotong Pajak!
  • Belum Tahu? Inilah Cara Pasang Iklan Meta Ads untuk Sales WiFi Supaya Banjir Closingan!
  • Inilah Alur Pengerjaan EMIS GTK 2026 yang Benar dari Awal Sampai Akhir
  • Inilah 27 Sekolah Kedinasan untuk Lulusan SMK 2026, Bisa Kuliah Gratis dan Langsung Jadi CPNS!
  • Inilah Cara Kuliah S2 di Inggris dengan GREAT Scholarship 2026: Syarat Lengkap, Daftar Kampus, dan Tips Jitu Biar Lolos!
  • How to Build Your First AI App with Lovable AI Today!
  • OpenClaw Tutorial: A Step-by-Step Guide to Coding Your Very First Website from Scratch!
  • Seedance 2.0 Is Here! Unlimited + Completely Uncensored AI Video Gen
  • A Step-by-Step Guide to the Qwen 3.5 Small Model Series
  • What new in Google’s Workspace CLI?
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
  • Apa Itu Predator Spyware? Ini Pengertian dan Kontroversi Penghapusan Sanksinya
  • Mengenal Apa itu TONESHELL: Backdoor Berbahaya dari Kelompok Mustang Panda
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
©2026 Tutorial emka | Design: Newspaperly WordPress Theme