How to verify the value of the parameter DISABLE_UPDATES

Hi all,

I want to enable the update of PMM 2. I run PMM with Podman.

I need help to understand, to use and configure the " Environment variables" by example DISABLE_UPDATES.

How to check if this variable is used in my configuration ? And which value is set ?

I do not see the PMM Upgrade panel on the Home page. Why ?

Thanks for your help
Regards
Olivier

Hi @Olivier_Studer
You can inspect the container to check the value of that config:
podman inspect pmm-server | grep DISABLE_UPDATES

Refer to this doc where in it talks about creating " pmm-server.env" (just search it) - the doc should help.

Thanks,
K

Hi,

The variable is not set.
[podman@svx-perc-01 ~]$ podman inspect pmm-server | grep DISABLE_UPDATES
[podman@svx-perc-01 ~]$

So, I need to configure he pmm-server.env as follow :
[podman@svx-perc-01 ~]$ cat ~/.config/pmm-server/env
PMM_TAG=2.41.2
PMM_IMAGE=docker.io/percona/pmm-server
PMM_PUBLIC_PORT=8443
DISABLE_UPDATES=no
[podman@svx-perc-01 ~]$

And restart the container as follow:
[podman@svx-perc-01 ~]$ podman stop pmm-server
[podman@svx-perc-01 ~]$ podman run --env-file=.env --replace --detach --restart always --publish 443:443 -v pmm-data:/srv --name pmm-server percona/pmm-server:2

That’s true ?
Regards
Olivier