Per page, Upgrade
I upgrade pmm-server from 2.19 to 2.23.
In summary section, it says upgrade includes four steps: stop container; backup container and data; pull the latest image; and run.
However, in the detail section, after " Run it", it shows “Performa a restore”. In which case, I have to restore after upgrade? I know a little about docker, but I see the mertrics looks okay after upgrade to 2.23. I’m not sure which are missing. Could you please advise?
===============>UPD: The previous metrics were lost … It looks like my upgrade had a problem. So, how to recover metrics after docker image is upgrade?
And one more question, Step 3 “Run it”. Does the operation missing a “-p 80:80”? I tried this and couldn’t access PMM website. Then, I removed the docker container and rerun with “-p 80:80”, it’s okay.
BTW: I created PMM dockers by the following commands:
docker create -v /srv --name pmm-data percona/pmm-server:2.19.0 /bin/true
docker run -d -p 80:80 -p 443:443 --volumes-from pmm-data --name pmm-server --restart always percona/pmm-server:2.19.0
[root@]# docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE percona/pmm-server 2 b031ff61b727 2 weeks ago 1.91GB percona/pmm-server 2.23.0 b031ff61b727 2 weeks ago 1.91GB percona/pmm-server 2.19.0 82d29be43d66 4 months ago 1.88GB