Skip to content

Upgrade PMM Server using podman

Summary
  • Perform a backup.
  • Update PMM tag.
  • Pre-pull image.
  • Run it.

Important

You cannot downgrade. To go to a previous version, you must create a backup before upgrading.

Tip

To see the current release running on your system, use the PMM Upgrade panel on the Home Dashboard, or run:

podman exec -it pmm-server \
curl -ku admin:admin https://localhost/v1/version

(If you are accessing the podman host remotely, replace localhost with the IP or server name of the host.)

  1. Perform a backup.

  2. Update PMM tag.

    Edit ~/.config/pmm-server/env and create/update with a new tag from latest release:

    sed -i "s/PMM_TAG=.*/PMM_TAG=2.33.0/g" ~/.config/pmm-server/env
    
  3. Pre-pull image for faster restart.

    source ~/.config/pmm-server/env
    podman pull ${PMM_IMAGE}:${PMM_TAG}
    
  4. Run PMM.

    systemctl --user restart pmm-server
    

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.