If you are using Uptime Kuma on xCloud 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:
ssh your-user@your-server-ip
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:
npm run reset-password
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:
npm run remove-2fa
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 xCloud. 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.