Skip to main content
If you are using Uptime Kuma on ORIV and forgot your password, you can reset Uptime Kuma password using the terminal with CLI command. Follow the steps below to regain access to your monitoring dashboard.

Step 1: Open Your Terminal to Reset Uptime Kuma Password

First, SSH onto your server where Uptime Kuma is installed:

Step 2: Run the Reset Password Command

Uptime Kuma stores user information in a SQLite database file. Then navigate to your Uptime Kuma installation directory. Once you are in the Uptime Kuma directory, run the following command:
This will launch a script that prompts you to enter a new password for your admin account. Follow the on-screen instructions to complete the reset.

Disable Two-Factor Authentication (Optional)

If you also lost access to your 2FA device or method, you can disable two-factor authentication using this command:
Run this in the same directory where Uptime Kuma is installed. It will remove 2FA from your admin account so that you can log in with just your username and new password. And that’s it. This is how easily you can reset your Uptime Kuma password from the command line is even with ORIV. By using the built-in scripts, you can quickly regain access to your admin account and disable two-factor authentication if necessary. Still stuck? Contact our support team for any of your queries.