[SOLVED] Single File Restore fails

May 11, 2022
21
4
8
Hi,

got this after upgrading to newest version from PVE 7.1 to PVE 7.2-4 and PBS 2.1 to 2.2-1. I thought I'd share it (maybe it's a known issue?

proxmox-file-restore failed: Error: cannot run file-restore VM: package 'proxmox-backup-restore-image' is not (correctly) installed (500)

Screenshot 2022-05-30 163845.png

Looks like file-restore is installed, but restore-image is not. Is this on purpose?

Screenshot 2022-05-30 164115.png

After install of the package via apt install proxmox-backup-restore-image the error is gone and file restore works properly. Note: You need to install it on every node!

Best regards,
xsign
 
pveversion -v

Code:
proxmox-ve: 7.2-1 (running kernel: 5.15.35-1-pve)
pve-manager: 7.2-4 (running version: 7.2-4/ca9d43cc)
pve-kernel-5.15: 7.2-3
pve-kernel-helper: 7.2-3
pve-kernel-5.15.35-1-pve: 5.15.35-3
ceph: 16.2.7
ceph-fuse: 16.2.7
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-2
libpve-storage-perl: 7.2-4
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.1-1
proxmox-backup-file-restore: 2.2.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-2
pve-ha-manager: 3.3-4
pve-i18n: 2.7-2
pve-qemu-kvm: 6.2.0-8
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1

dpkg -l | grep proxmox

Code:
ii  libproxmox-acme-perl                 1.4.2                          all          Proxmox ACME integration perl library
ii  libproxmox-acme-plugins              1.4.2                          all          Proxmox acme.sh wrapper for DNS API plugins
ii  libproxmox-backup-qemu0              1.3.1-1                        amd64        Proxmox Backup Server client library for QEMU
ii  libproxmox-rs-perl                   0.1.1                          amd64        PVE/PMG common parts which have been ported to Rust - Perl packages
ii  proxmox-archive-keyring              2.0                            all          Proxmox APT archive keyring
ii  proxmox-backup-client                2.2.1-1                        amd64        Proxmox Backup Client tools
ii  proxmox-backup-file-restore          2.2.1-1                        amd64        Proxmox Backup single file restore tools for pxar and block device backups
ii  proxmox-backup-restore-image         0.3.1                          amd64        Kernel/initramfs images for Proxmox Backup single-file restore.
ii  proxmox-mini-journalreader           1.3-1                          amd64        Minimal systemd Journal Reader
ii  proxmox-ve                           7.2-1                          all          Proxmox Virtual Environment
ii  proxmox-websocket-tunnel             0.1.0-1                        amd64        Proxmox websocket tunneling helper
ii  proxmox-widget-toolkit               3.5.1                          all          ExtJS Helper Classes for Proxmox
 
ok i see it now, proxmox-backup-file-restore 'recommends' proxmox-backup-restore-image, so if you installed it with '--no-install-recommends' it would have not been installed with it
i'll see if we should add it as an explicit dependency somewhere though
 
Hi there,

couple weeks ago I updated my Proxmox v8.2.4 and run into the same problem - I got following error:
Code:
proxmox-backup-restore-image is not installed correctly, skipping update
The Proxmox was installed on Debian 12 following https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

@dcsapak has anything changed since 2022, please? Would it be possible to change packages' relationships from "Recommends" to "Depends" please? https://www.debian.org/doc/debian-policy/ch-relationships.html

How could I solve this error?
 
Last edited:
@dcsapak has anything changed since 2022, please?
no it hasn't changed, i faintly remember an internal discussion about it with the conclusion that it's intended the way it is, but no specifics sorry

if you want, you could raise a bug at https://bugzilla.proxmox.com probably someone else knows the exact reason why it is the way it is

How could I solve this error?
you could simply install the image with

Code:
apt install proxmox-backup-restore-image

EDIT: fixed package name
 
Last edited:
Hi there i wanted to: apt install proxmox--backup-restore-image
but i get the error message: E: Unable to locate package proxmox--backup-restore-image

What causes the rpblem, how can i fix this?
THX
 
Unable to locate package proxmox--backup-restore-image
Maybe replacing the double-dash (between proxmox... and ...backup) by a single dash would help ;-)

---
Added for completeness: a fitting Proxmox repository must be enabled, then you can get:
Code:
~# apt policy  proxmox-backup-restore-image 
proxmox-backup-restore-image:
  Installed: 0.6.1
  Candidate: 0.6.1
  Version table:
 *** 0.6.1 500
        500 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
 
Last edited:
thanks @UdoB for noticing the typo, i fixed it in my previous reply so users in the future don't copy wrong pacakge names ;)
 
  • Like
Reactions: UdoB