Unable to login to PMM UI

After an apt update & upgrade of our Ubuntu 24.04 LTS server which hosts PMM, we are unable to login to the PMM UI with any user. The password reset function also does not send any emails.

This is a standalone PMM instance, not Docker. pmm-admin and other commands cannot be found and we cannot find any logs or ways to reset the passwords from the server-side.

Hi!

have you tried “admin” user and password as the default?
Is there any error in the log which might prevent PMM from working correctly ?
Have you tested changing the password with something like Changing the Default Admin Password in Docker-Based Deployment of PMM2 ?

Hi, we don’t support non-docker installation of PMM Server.

Yes, the admin user with default password does not work. What logs would I be looking for? I don’t see any in /var/log.

When I run the command from the link “docker exec pmm-server change-admin-password” it says the container isn’t running.

The Percona Team we worked with to set it up did the installation, Docker wasn’t used.

Is it version 1 or 2?
The only case when PMM could be installed without docker is PMM 1 and it was EOLed a long time ago.

@nsills, please explain how your pmm-server was installed and how have you been accessing it until now? As @nurlan says, we only support 3 ways to setup PMM (docker, AMI, OVA). If your install is not one of these 3 types, then it is not supported. What version of PMM are you running?

The pmm-server was installed with “curl -fsSL https://www.percona.com/get/pmm | /bin/bash”. I do not see any docker commands on the server’s command history.

I have been accessing it from the browser UI until now. I have SSH access but all the docker, pmm-admin, pmm-server commands do not work or exist so I don’t know how to check the service’s status from the server.

What command can I use to see the PMM version? I cannot find anything in the documentation for this. It should be on the latest.

Thanks for helping with this.

If you read the code in that script, you’ll see it does indeed use docker. :slight_smile: You should be able to (as root) run docker ps and see the pmm server container running.

The current PMM version is on the homepage of the UI, and at the bottom of the login screen.

These commands are “client” tools; they are not used on the server.

Per the blog that @CTutte provided above, you need to do the following:

  1. SSH to PMM Server
  2. sudo -i to become root
  3. docker ps to verify pmm server is running
  4. docker exec pmm-server change-admin-password <new_password>

Thank you. There is no version at the bottom of my login screen…

docker ps does show the container:
image

But the change-admin-password command doesn’t work:
image

The name of your container is pmm-server-old so use that name in the command instead of ‘pmm-server’