Skip to content

Rate this page
☆ ☆ ☆ ☆ ☆
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Troubleshoot upgrade issues

PMM Server not updating correctly

If PMM Server is not updating correctly, check the container logs for errors:

docker logs pmm-server

If the issue persists, restore from a backup and retry the upgrade. See Restore PMM Server.

Corrupted credentials after encryption key rotation

If you ran pmm-encryption-rotation before upgrading to PMM 3.9.1, TLS/SSL certificates and keys or cloud credentials for some services may be corrupted.

Upgrading PMM Server repairs them automatically if the previous encryption key is still next to the key file (/srv/pmm-encryption_old.key, or <name>_old.key for a custom PMM_ENCRYPTION_KEY_PATH). If you deleted that file or moved it to offline storage after the rotation, put it back at that path before you upgrade. If PMM Server logs that credentials cannot be recovered, remove and re-add the affected services to recreate them:

pmm-admin remove <service-type> <service-name>
pmm-admin add <service-type> ... # supply the original TLS/cloud credentials

PMM HA: helm upgrade fails with “field is immutable”

If helm upgrade on a PMM HA release fails with:

Error: UPGRADE FAILED: cannot patch "<release>-pmm-token-init" with kind Job:
Job.batch "<release>-pmm-token-init" is invalid: spec.template: Invalid value: ...: field is immutable

the upgrade changed a value that the chart’s pmm-token-init Job’s pod spec depends on (for example secret.name), and a Kubernetes Job’s pod template can’t be patched in place. Delete the stale Job so Helm can recreate it, then retry the upgrade:

kubectl delete job <release>-pmm-token-init -n <namespace>
helm upgrade ... # retry your original command

This is intermittent because the Job self-deletes after 24 hours (ttlSecondsAfterFinished)—an upgrade attempted more than a day after install or the last upgrade won’t hit it. Chart versions with this fix name the Job uniquely per pod-spec change instead, so the conflict can’t occur.