Upgrade failure for 7.4 (pve-manager)

j1a2o

Member
Feb 14, 2021
34
4
13
38
Using apt dist-upgrade:

Code:
Setting up pve-manager (7.4-3) ...
Job for pvedaemon.service failed.
See "systemctl status pvedaemon.service" and "journalctl -xe" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-manager; however:
  Package pve-manager is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-manager
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Logs in systemctl status pvedaemon.service:
Code:
Mar 23 10:19:25 pve systemd[1]: Reloading PVE API Daemon.
Mar 23 10:19:30 pve pvedaemon[829892]: start failed - can't acquire lock '/var/run/pvedaemon.pid.lock' - Resource temporarily unavailable
Mar 23 10:19:30 pve pvedaemon[829892]: start failed - can't acquire lock '/var/run/pvedaemon.pid.lock' - Resource temporarily unavailable
Mar 23 10:19:30 pve systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION
Mar 23 10:19:30 pve systemd[1]: Reload failed for PVE API Daemon.

Looks like pvedaemon.pid.lock exists but pvedaemon.pid is missing. Not sure if expected.
 
Last edited:
I solved it by looking up the pid of the running pvedaemon, putting it in a new /var/run/pvedaemon.pid file, and then running apt dist-upgrade again. Everything looks good now. Not sure why pvedaemon.pid was missing in the first place.
 
  • Like
Reactions: engin

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!