[How-To] Reset Uptime Kuma Password via CLI
Purpose
This document aims to show how to reset the password for your UI user for uptime kuma via the CLI of the server it is running on.
Prerequisites
List of prerequisites:
- Root user or sudo user
- Server running uptime Kuma
Reset Instructions
Step 1
Login with the root user, or login with normal user and use the follow to elevate to root:
sudo su -l
Step 2
Run the following command to enter the Uptime Kuma docker container CLI:
docker exec -it uptime-kuma bash
Step 3
Run the following command to access the reset tool:
npm run reset-password
Then, follow the prompts to reset and test in the UI of Uptime Kuma.
No Comments