Navigate to the Uptime Kuma installation directory.
cd /opt/uptime-kuma
Reset the admin password using NPM.
npm run reset-password