PBS Bug: datastore s3-refresh panics (entered unreachable code)

torroe

New Member
Nov 16, 2024
7
0
1
On Proxmox Backup Server with an S3-backed datastore, the command
proxmox-backup-manager datastore s3-refresh <store>

consistently crashes with a Rust panic:
thread 'main' panicked at src/bin/proxmox_backup_manager/datastore.rs:343:14:
internal error: entered unreachable code

Environment
  • PBS 4.1.1
  • Kernel: 6.17.4-2-pve
  • S3 datastore
  • No active operations (read=0, write=0)
Notes
  • Backups, restores, verification, GC, snapshot listing and deletion all work
  • Only s3-refresh fails
  • Crash happens immediately, before any meaningful error output
  • systemd exits with status 101

Expected
s3-refresh should either succeed or return a proper error — not panic.

Can you fix this?

best regards
Torsten

This looks like a missing error-handling path around
src/bin/proxmox_backup_manager/datastore.rs:343.