proxmox-backup-server 3.2.4-1 tape jobs (format and write) fail

Feb 4, 2024
43
2
8
tape read failed - command "/usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd" "encryption" "--stdin" "--fingerprint" "e8:4a:ac:29:62:f9:4d:be:4c:5e:ec:60:6b:4c:1c:be:9f:10:56:b3:40:0c:0d:0b:b4:53:d8:85:7a:f6:e8:99" "--uuid" "a7e305df-2540-4447-940d-805ebbdae24b" failed - status code: 1 - Error: this program needs to be run with setuid root

Is this a known problem?


since update to
root@pbs2:~# proxmox-backup-manager versions --verbose
proxmox-backup 3.2.0 running kernel: 6.8.8-1-pve
proxmox-backup-server 3.2.4-1 running version: 3.2.4
proxmox-kernel-helper 8.1.0
proxmox-kernel-6.8 6.8.8-1
proxmox-kernel-6.8.8-1-pve-signed 6.8.8-1
proxmox-kernel-6.8.4-3-pve-signed 6.8.4-3
proxmox-kernel-6.8.4-2-pve-signed 6.8.4-2
ifupdown2 3.2.0-1+pmx8
libjs-extjs 7.0.0-4
proxmox-backup-docs 3.2.4-1
proxmox-backup-client 3.2.4-1
proxmox-mail-forward 0.2.3
proxmox-mini-journalreader 1.4.0
proxmox-offline-mirror-helper 0.6.6
proxmox-widget-toolkit 4.2.3
pve-xtermjs 5.3.0-3
smartmontools 7.3-pve1
zfsutils-linux 2.2.4-pve1
 
cat /var/log/dpkg.log | grep 'proxmox-backup-server'
2024-06-20 07:45:49 upgrade proxmox-backup-server:amd64 3.2.2-1 3.2.4-1
2024-06-20 07:45:49 status half-configured proxmox-backup-server:amd64 3.2.2-1
2024-06-20 07:45:49 status unpacked proxmox-backup-server:amd64 3.2.2-1
2024-06-20 07:45:49 status half-installed proxmox-backup-server:amd64 3.2.2-1
2024-06-20 07:45:50 status unpacked proxmox-backup-server:amd64 3.2.4-1
2024-06-20 07:46:28 configure proxmox-backup-server:amd64 3.2.4-1 <none>
2024-06-20 07:46:28 status unpacked proxmox-backup-server:amd64 3.2.4-1
2024-06-20 07:46:28 status half-configured proxmox-backup-server:amd64 3.2.4-1
2024-06-20 07:46:31 status installed proxmox-backup-server:amd64 3.2.4-1
 
Our first tape job since updating pbs last week is showing same:

Code:
2024-06-22T14:00:00-07:00: waiting for drive lock...
2024-06-22T14:00:00-07:00: Starting tape backup job 'pbs2-primary-140tb:pve-tapes:lto8:weekly-tape-backup'
2024-06-22T14:00:00-07:00: task triggered by schedule 'sat 14:00'
2024-06-22T14:00:00-07:00: update media online status
2024-06-22T14:00:01-07:00: starting new media set - reason: policy is AlwaysCreate
2024-06-22T14:00:01-07:00: media set uuid: (redacted)
2024-06-22T14:00:01-07:00: found 129 groups (out of 129 total)
2024-06-22T14:00:01-07:00: latest-only: true (only considering latest snapshots)
2024-06-22T14:00:01-07:00: backup snapshot "ns/baremetal/host/moment01/2024-06-22T05:00:01Z"
2024-06-22T14:00:01-07:00: allocated new writable media 'ATT012L8'
2024-06-22T14:00:01-07:00: trying to load media 'ATT012L8' into drive 'lto8'
2024-06-22T14:01:55-07:00: tape read failed - command "/usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd" "encryption" "--stdin" "--fingerprint" "redacted-for-sheer-paranoia" "--uuid" "redacted-for-sheer-paranoia" failed - status code: 1 - Error: this program needs to be run with setuid root

2024-06-22T14:01:55-07:00: Please insert media 'ATT012L8' into changer 'superloader'

Tape backups currently broken on this build, apparently. Not doing anything special or out of the ordinary.

("redacted" in the above is by me. . . even though it wasn't necessary!)

Though we're subscribed for 13 nodes of proxmox, we haven't yet subscribed for pbs. We're on the non-sub repo and the version of pbs is 3.2-4.

--Brian
 
Last edited:
We had the same problème last week.
I confirm that downgrading to proxmox-backup-server=3.2.2-1 works for us too.
Thanks f.sennj!

 
Same here. Even "read label" in web shows the same error.

Command -> package:

dpkg -S /usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd
proxmox-backup-server: /usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd

Mod of /usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd file is:

proxmox-backup-server_3.2.3-1_amd64.deb: 4755
proxmox-backup-server_3.2.4-1_amd64.deb: 0755

So hotfix is:

chmod 4755 /usr/lib/x86_64-linux-gnu/proxmox-backup/sg-tape-cmd
 
only 3.2.4-1 seems to be affected by this issue.. 3.2.5-1 and later should be fine again.
 

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!