PMM server installation

I am new to PMM , Just wanted to know if i can install PMM server on ubuntu 20.04 arm64, i am on mac M1 chip, suggest any other ways to install PMM server on ubuntu ?

1 Like

Hi @Sanjana_Chandrasheka

PMM Server is provided as a docker container. So Docker Engine is required.
Here are few links

1 Like

I have tried both the ways , that is docker install and even the easy script , both ways i could’nt access the pmm gui.
1 . Using docker i get this error

1 Like

I researched about this and found a way to overcome this error , i had to add --platform linux/amd64 and the above error would be gone, but eventually i think the base binaries are built on amd64 , hence the gui doesn’t work .

1 Like

Same way when i run the docker , this does’nt work

1 Like

But this command does.

1 Like

now , when i browse https://localhost:443/

1 Like
  1. Using easy script,

wget -O - https://www.percona.com/get/pmm | /bin/bash

HTTP request sent, awaiting response… 200 OK
…
…

…
…
…

…
Enjoy Percona Monitoring and Management!
After this when i browse, the gui is not accessible

Would be a great help if you could help me resolve this !

1 Like

Could you perform the next command and check if you can access to web interface through a shown IP address?

docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' pmm-server
1 Like

It does’nt work with this command too, that does’nt print out any IP address.

1 Like

Could you make sure that PMM server container is working?

docker ps -a

1 Like

1 Like

BTW Docker Desktop for Mac can’t route traffic to containers. So it not possible to get access through a private IP that would be provided by the inspect command.

1 Like

I am using ubuntu 20.04 arm64 hosted on UTM , and for experimenting i also installed amd64 ubuntu server VM and there too this issue persists. I am not really sure how to go about it , the pmm server status should be running and that does’nt seem to happen for some reason.

3 Likes

Hi Sanjana! It could help to understand why this is not working in system: Percona-release enable psmdb-40 release Specified repository is not supported for current operating system!

If this is not your case now: As I see in the screenshot “docker ps -a” that percona/pmm-server:2 has STATUS: Restarting. It should be “UP”, to see more about its logs we could execute the next command:

docker logs --tail 50 --follow --timestamps <HERE THE CONTAINER ID>

We can have more clues about what is happening in Ubuntu 20.

If you are still with this issue, please share those logs, we will be happy to help you.

1 Like