[SOLVED] Web-UI: Bad Request (400) could not open statefile for s-9d03d4ec-f9c3: EOF while parsing a value at line 1 column 0

bertram

Member
Aug 3, 2023
8
0
6
When trying to view the Prune & GC Jobs tab in PBS Web-UI, I get the following error in the section Prune Jobs:

Code:
Bad Request (400)<br>could not open statefile for s-9d03d4ec-f9c3: EOF while parsing a value at line 1 column 0

Unfortunately no idea, when or why this started. Just realised it today because my backup storage device went full. Did a manual garbage collection from cli and restarted the machine but still get this error.

Has anyone an idea, what this error means and how I get rid of it?
 
Hi!

It means that the statefile /var/lib/proxmox-backup/jobstates/prunejob-s-9d03d4ec-f9c3.json is empty. Something went wrong while writing it. As a stop-gap, you can remove the json and lockfile. They will be recreated when running the prune job again.

edit: created a Bugzilla entry as well
 
Last edited:
  • Like
Reactions: bertram