[SOLVED] PBS Repository Tab - 400 Bad Request nach upgrade von 10 auf 11

rh-xZa2W

Member
Jun 17, 2020
39
1
13
Hallo Zusammen,

ich habe nach einem PBS Upgrade von Buster auf Bullseye das Problem, dass ich beim aufrufen des Repository Tabs, 400 - Bad Request erhalte.

Updates können ohne Probleme weiterhin via CLI durchgeführt werden.

Screenshot_1.png


root@server:~# proxmox-backup-manager versions proxmox-backup-server 2.1.5-1 running version: 2.0.10

root@server:~# ls -l /etc/os-release lrwxrwxrwx 1 root root 21 Dec 11 18:25 /etc/os-release -> ../usr/lib/os-release

root@server:~# ls -l /usr/lib/os-release -rw-r--r-- 1 root root 267 Dec 11 18:25 /usr/lib/os-release

root@server:~# cat /usr/lib/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
 
proxmox-backup-server 2.1.5-1 running version: 2.0.10
kannst du mal versuchen die services neuzustarten?
Code:
systemctl reload proxmox-backup-proxy.service proxmox-backup.service
 
was ist der ganze output von
Code:
proxmox-backup-manager versions --verbose
?
 
was ist der ganze output von
Code:
proxmox-backup-manager versions --verbose
?
root@server:~# proxmox-backup-manager versions --verbose proxmox-backup 2.1-1 running kernel: 5.11.22-5-pve proxmox-backup-server 2.1.5-1 running version: 2.0.10 pve-kernel-5.11 7.0-10 pve-kernel-helper 7.1-12 pve-kernel-5.11.22-5-pve 5.11.22-10 pve-kernel-5.11.22-4-pve 5.11.22-9 pve-kernel-5.11.22-3-pve 5.11.22-7 pve-kernel-5.11.22-1-pve 5.11.22-2 ifupdown2 3.1.0-1+pmx3 libjs-extjs 7.0.0-1 proxmox-backup-docs 2.1.5-1 proxmox-backup-client 2.1.5-1 proxmox-mini-journalreader 1.2-1 proxmox-widget-toolkit 3.4-7 pve-xtermjs 4.16.0-1 smartmontools 7.2-pve2 zfsutils-linux 2.1.2-pve1
 
Ist der PBS bare-metal bzw. eine VM oder ein LXC?

Edit: Bei genauerer Überlegung dürfte es ja eh kein LXC sein, sonst wären die ganzen installierten Kernel-Versionen ja nicht gelistet?!

Wenn nicht in einem LXC (bei dem der Host noch mit dem pve-5.11 Kernel läuft) fällt auf, dass nur der pve-5.11 Kernel installiert ist, obwohl es mit dem aktuellen PBS eigentlich der pve-5.13 sein sollte.

Leider keine Ahnung, ob das was mit deinem Problem zu tun haben kann.

Habe das (Kernel wurde nicht mit upgegraded) die Tage schonmal gesehen, allerdings beim PVE. [1]

[1] https://forum.proxmox.com/threads/boot-freeze-on-bios-screen-on-proxmox-7-1-ve.106098/#post-456617
 
Last edited:
Ist der PBS bare-metal bzw. eine VM oder ein LXC?

Wenn nicht in einem LXC (bei dem der Host noch mit dem pve-5.11 Kernel läuft) fällt auf, dass nur der pve-5.11 Kernel installiert ist, obwohl es mit dem aktuellen PBS eigentlich der pve-5.13 sein sollte.

Leider keine Ahnung, ob das was mit deinem Problem zu tun haben kann.

Habe das (Kernel wurde nicht mit upgegraded) die Tage schonmal gesehen, allerdings beim PVE. [1]

[1] https://forum.proxmox.com/threads/boot-freeze-on-bios-screen-on-proxmox-7-1-ve.106098/#post-456617
Der PBS ist eine bare-metal Installation und das Problem besteht erst seit Upgrade von Buster auf Bullseye.
 
pve-5.11 war Standard beim PBS 2.0 mit Bullseye. [1] (Und auch, zumindest beim PVE, schon unter Buster als optionaler Kernel verfügbar.)
Beim aktuellen PBS 2.1 (auf dem du ja bist), ist es standardmäßig der pve-5.13. [2]
Das ist, was mich etwas verwundert.

Ob die (manuelle) Installation des pve-5.13 dein Problem beheben könnte, müsste der Staff beantworten.
Auf Dauer gesehen, aber vermutlich so oder so empfehlenswert...

[1] https://pbs.proxmox.com/wiki/index.php/Roadmap#Proxmox_Backup_Server_2.0
[2] https://pbs.proxmox.com/wiki/index.php/Roadmap#Proxmox_Backup_Server_2.1
 
Last edited:
pve-5.11 war Standard beim PBS 2.0 mit Bullseye. [1] (Und auch, zumindest beim PVE, schon unter Buster als optionaler Kernel verfügbar.)
Beim aktuellen PBS 2.1 (auf dem du ja bist), ist es standardmäßig der pve-5.13. [2]
Das ist, was mich etwas verwundert.

Ob die (manuelle) Installation des pve-5.13 dein Problem beheben könnte, müsste der Staff beantworten.
Auf Dauer gesehen, aber vermutlich so oder so empfehlenswert...

[1] https://pbs.proxmox.com/wiki/index.php/Roadmap#Proxmox_Backup_Server_2.0
[2] https://pbs.proxmox.com/wiki/index.php/Roadmap#Proxmox_Backup_Server_2.1
Ich habe alle Updates eingespielt und bin demnach auf der neusten Version 2.1-5 :

root@server:~# proxmox-backup-manager versions --verbose proxmox-backup 2.1-1 running kernel: 5.13.19-5-pve proxmox-backup-server 2.1.5-1 running version: 2.1.5 pve-kernel-helper 7.1-12 pve-kernel-5.13 7.1-8 pve-kernel-5.11 7.0-10 pve-kernel-5.13.19-5-pve 5.13.19-13 pve-kernel-5.11.22-7-pve 5.11.22-12 pve-kernel-5.11.22-5-pve 5.11.22-10 pve-kernel-5.11.22-4-pve 5.11.22-9 pve-kernel-5.11.22-3-pve 5.11.22-7 pve-kernel-5.11.22-1-pve 5.11.22-2 ifupdown2 3.1.0-1+pmx3 libjs-extjs 7.0.0-1 proxmox-backup-docs 2.1.5-1 proxmox-backup-client 2.1.5-1 proxmox-mini-journalreader 1.2-1 proxmox-widget-toolkit 3.4-7 pve-xtermjs 4.16.0-1 smartmontools 7.2-pve2 zfsutils-linux 2.1.2-pve1

Leider habe ich das selbe Problem:

Bad Request (400) unable to read '/etc/os-release' - No such file or directory (os error 2)
 
trag das mal in die Datei /etc/os-release ein bzw erstellen falls nicht vorhanden

Code:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

so steht es bei mir drin
 
trag das mal in die Datei /etc/os-release ein bzw erstellen falls nicht vorhanden

Code:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

so steht es bei mir drin
Meine Datei sieht korrekt aus:

root@server:~# cat /usr/lib/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
 
hmm.. on which filesystem did you install your system? (ext4? zfs?)

also can you run the following command and post the output here (possibly long, you may have to install 'strace' first):
Code:
strace -fyy -E PROXMOX_DEBUG_API_CODE=1 proxmox-backup-debug api /nodes/localhost/apt/repositories
 
hmm.. on which filesystem did you install your system? (ext4? zfs?)

also can you run the following command and post the output here (possibly long, you may have to install 'strace' first):
Code:
strace -fyy -E PROXMOX_DEBUG_API_CODE=1 proxmox-backup-debug api /nodes/localhost/apt/repositories
Output attached due to length.
 

Attachments

  • strace.txt
    68.1 KB · Views: 2
ah sorry, i forgot a part of the command, the correct one is:

Code:
strace -fyy -E PROXMOX_DEBUG_API_CODE=1 proxmox-backup-debug api get /nodes/localhost/apt/repositories
 
ah sorry, i forgot a part of the command, the correct one is:

Code:
strace -fyy -E PROXMOX_DEBUG_API_CODE=1 proxmox-backup-debug api get /nodes/localhost/apt/repositories
Here you go.
 

Attachments

  • strace.log
    195.8 KB · Views: 6
ok vielen dank.

leider steht dort auch nur das es nicht existiert...
wurden die befehle oben (ls/cat) wirklich auf dem gleichen pbs ausgeführt wie das webinterface?

ist das pbs in einer vm/einem container?
was ist das root filesystem?
sonst irgendwas besonderes am setup?
 
ok vielen dank.

leider steht dort auch nur das es nicht existiert...
wurden die befehle oben (ls/cat) wirklich auf dem gleichen pbs ausgeführt wie das webinterface?

ist das pbs in einer vm/einem container?
was ist das root filesystem?
sonst irgendwas besonderes am setup?
Der PBS ist eine baremetal Installation.
Das root FS ist ZFS.
Ein weiterer PBS synct sich den Datastore.

Der betroffene PBS hat auch eine aktive Basic Subscription, vielleicht gehe ich den Weg des Support-Tickets.
 

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!