[SOLVED] Failed to start Proxmox backup API Proxy Server after upgrading from pbs 1.1.13 to pbs 2

borjaevo

New Member
Feb 1, 2022
19
2
3
36
I have upgraded my pbs server with current backup jobs to pbs 2

After restarting API proxy server is not starting.

eb 01 13:59:20 pbs systemd[1]: proxmox-backup-proxy.service: Start request repeated>
Feb 01 13:59:20 pbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'ex>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit proxmox-backup-proxy.service has entered the 'failed' state with result >
Feb 01 13:59:20 pbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
░░ Subject: A start job for unit proxmox-backup-proxy.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit proxmox-backup-proxy.service has finished with a failure.
░░
░░ The job identifier is 2912 and the job result is failed.

I dont know where to start....
 
can you check the journal for the errors:

Code:
journalctl -b -u proxmox-backup-proxy
 
can you check the journal for the errors:

Code:
journalctl -b -u proxmox-backup-proxy
Thanks!
Code:
Feb 01 13:29:32 pbs proxmox-backup-proxy[1039]: /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy: error while loading shared libraries: libsgutils2.so.2: cannot open shared object file: No such file or directory
Feb 01 13:29:32 pbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=127/n/a
Feb 01 13:29:32 pbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Feb 01 13:29:32 pbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Feb 01 13:29:32 pbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 3.
Feb 01 13:29:33 pbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Feb 01 13:29:33 pbs systemd[1]: Starting Proxmox Backup API Proxy Server...
 
Feb 01 13:29:32 pbs proxmox-backup-proxy[1039]: /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy: error while loading shared libraries: libsgutils2.so.2: cannot open shared object file: No such file or directory
seems the upgrade was not complete?

can you post the output of 'proxmox-backup-manager versions --verbose' ?
you can also try to install the (seemingly?) missing package
Code:
apt install libsgutils2-2
 
seems the upgrade was not complete?

can you post the output of 'proxmox-backup-manager versions --verbose' ?
you can also try to install the (seemingly?) missing package
Code:
apt install libsgutils2-2
Code:
proxmox-backup             1.0-4        running kernel: 5.4.162-1-pve
proxmox-backup-server      1.1.13-3     running version: 1.1.13     
pve-kernel-5.4             6.4-12                                   
pve-kernel-helper          6.4-12                                   
pve-kernel-5.4.162-1-pve   5.4.162-2                                 
pve-kernel-5.4.65-1-pve    5.4.65-1                                 
ifupdown2                  3.0.0-1+pve3                             
libjs-extjs                6.0.1-10                                 
proxmox-backup-docs        1.1.13-2                                 
proxmox-backup-client      1.1.13-2                                 
proxmox-mini-journalreader 1.1-1                                     
proxmox-widget-toolkit     2.6-1                                     
pve-xtermjs                4.7.0-3                                   
smartmontools              7.2-pve2                                 
zfsutils-linux             2.0.7-pve1

I already tried to install libsgutils2-2 but it was already installed.
 
Is there a way i can retry the upgrade, or upgrade the proxmox backup server packages?
 
can you post the output of 'apt update' ?
i guess you did not change the pbs repository to bullseye (else you'd get the 2.0 release)
 
can you post the output of 'apt update' ?
i guess you did not change the pbs repository to bullseye (else you'd get the 2.0 release)
Code:
root@pbs:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.es.debian.org/debian bullseye InRelease                                   
Hit:3 http://ftp.es.debian.org/debian bullseye-updates InRelease                           
Err:4 https://enterprise.proxmox.com/debian/pbs bullseye InRelease
  401  Unauthorized [IP: 51.91.38.34 443]
Reading package lists... Done                         
E: Failed to fetch https://enterprise.proxmox.com/debian/pbs/dists/bullseye/InRelease  401  Unauthorized [IP: 51.91.38.34 443]
E: The repository 'https://enterprise.proxmox.com/debian/pbs bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 

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!