# PMM 3.3.0 to 3.3.1 upgrade problem when restarting

**URL:** <https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011>\
**Category:** PMM 3.x\
**Created:** [August 7, 2025, 10:29am UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011 "2025-08-07T10:29:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Assistance-Nalta](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Assistance-Nalta](https://forums.percona.com/u/Assistance-Nalta)\
**Post date:** [August 7, 2025, 10:29am UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011/1 "2025-08-07T10:29:45Z")

</div>

Linux Ubuntu 24.04.2 LTS

Docker version 27.5.1

PMM 3.3.0 standard PMM installation performed, and worked well BUT

We triyed to upgrade to 3.3.1, via UI, process starts, then stays forever on “Restarting PMM…”

docker image ls show pmm-server:3.3.1, so ok

docker container ls show pmm-server:3.3.1 up for 32 minutes (unhealthy) !!

docker container logs pmm-server show multiple lines like :

```auto
INFO spawned: ‘grafana’ with pid xxxxxINFO exited: grafana (exit status 1; not expected)

```

then :

`INFO gave up: grafana entered FATAL state, too many start retries too quickly`  
`INFO exited: pmm-init (exit status 2; not expected)`  
`INFO spawned: ‘pmm-init’ with pid 3024`  
`INFO success: pmm-init entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)`  
`INFO exited: pmm-managed (exit status 1; not expected)`  
`INFO spawned: ‘pmm-managed’ with pid 3366`  
`INFO success: pmm-managed entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)`  
`INFO exited: pmm-init (exit status 2; not expected)`

Seems Upgrade from UI does works …

What can we do ?

Francis

Inspecting pmm-server docker logs

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [August 7, 2025, 11:05am UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011/2 "2025-08-07T11:05:00Z")

</div>

Hi, can you share logs from /srv/logs/pmm-init.log, /srv/logs/pmm-managed.log, /srv/logs/postgresql14.log and /srv/logs/grafana.log? Thank you

---

<div class="post-metadata">

**Author:** ![Assistance-Nalta](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Assistance-Nalta](https://forums.percona.com/u/Assistance-Nalta)\
**Post date:** [August 7, 2025, 12:11pm UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011/3 "2025-08-07T12:11:35Z")

</div>

Here are the logs.

[postgresql14.log](https://forums.percona.com/uploads/short-url/r9JavBJ1Phdwv8E4hdiyejBQpKP.log) (42.0 KB)

[pmm-managed.log](https://forums.percona.com/uploads/short-url/i1mHvxmA8TW6W7L2DS3ukR1Z0dE.log) (8.5 MB)

[pmm-init.log](https://forums.percona.com/uploads/short-url/gWpzNV9hGuOc5JKSAM0wKmY9qlA.log) (109.8 KB)

grafana log is too big, so truncated to last reccurent errors (if you need complete file, please tell me how to send to you) (compressing log is only 2mb size but not allowed here)

[grafana.log](https://forums.percona.com/uploads/short-url/90033ZssTD9NfSPndDeckFf4VTC.log) (3.0 MB)

---

<div class="post-metadata">

**Author:** ![Assistance-Nalta](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Assistance-Nalta](https://forums.percona.com/u/Assistance-Nalta)\
**Post date:** [August 7, 2025, 12:47pm UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011/4 "2025-08-07T12:47:05Z")

</div>

In order to try something, i stopped the pmm-server container and restarted it

UI said for 1 minute ‘upgrade in progress’ then the UI started normaly and all seems ok !

Now i have to upgrade the PMM clients (i hope with no problems 🙂 )

As i should upgrade the same pmm-server in produciton (3.3.0 to 3.3.1), (the current server is a ‘test’ server’) can you please still examine the logs to see if something explaines the failure ?

Thanks

Francis

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [August 7, 2025, 1:56pm UTC](https://forums.percona.com/t/pmm-3-3-0-to-3-3-1-upgrade-problem-when-restarting/39011/5 "2025-08-07T13:56:03Z")

</div>

Seems like

```auto
2025-08-07 09:45:47.280 UTC [644] FATAL: lock file "postmaster.pid" already exists
2025-08-07 09:45:47.280 UTC [644] HINT: Is another postmaster (PID 14) running in data directory "/srv/postgres14"?

```

caused the problem. removing this lock file should fix the problem.  
Seems like some race condition happened during initialization and that’s why this lock file wasn’t removed.  
it’s great that you could fix you problem by restarting PMM.
