Please help restore NZBGet download history (Error reading diskstate)

Get help, report and discuss bugs.
Post Reply
nemoW
Posts: 2
Joined: 23 Sep 2021, 15:44

Please help restore NZBGet download history (Error reading diskstate)

Post by nemoW » 23 Sep 2021, 19:26

Hello
I've cloned the system drive to a new SSD, but now NZBGet start with empty history:

Code: Select all

Mon May 31 00:58:15 2021	ERROR	Error reading nzb info from disk
Mon May 31 00:58:15 2021	ERROR	Error reading diskstate for history
Mon May 31 00:58:15 2021	ERROR	Error reading diskstate for download queue and history
I already tried to copy the C:\ProgramData\NZBGet\ folder from the old drive again (the files in the QueueDir are not empty) but the same error appears.
Maybe it's my fault (InterDir and TempDir were pointing to another drive and I deleted and recreated it), but how do I restore history now?
Thanks in advance.

hugbug
Developer & Admin
Posts: 7638
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Please help restore NZBGet download history (Error reading diskstate)

Post by hugbug » 23 Sep 2021, 20:57

The main data of the history is stored in file "hist" in QueueDir. Check in a text editor if the file has any content.

nemoW
Posts: 2
Joined: 23 Sep 2021, 15:44

Re: Please help restore NZBGet download history (Error reading diskstate)

Post by nemoW » 24 Sep 2021, 20:02

The size of the "history" file in QueueDir is 832 KB. It's not empty, here is the beginning of the file:

Code: Select all

nzbget diskstate file version 62
2702
3403,1,1622372689
3403
0

C:\ProgramData\NZBGet\nzb\4f58b570bfdbd4c914edf184.nzb
D:\Temp\NZBGet\4f58b570bfdbd4c914edf184.#3403

C:\ProgramData\NZBGet\nzb\4f58b570bfdbd4c914edf184.nzb.2.queued
4f58b570bfdbd4c914edf184

0,0,1,0,0
0,0,0,0,0,0,6,0,0
0,0,0
1,0,2
1239283675,1239283675
0,0,0,0
2053975418,2053975418
0,51567808,0,0,0,0
0,0,0,0,0,0
131,0,0

0,0,0
0,0,0,0,0,0,0
0
1
*Unpack:=yes
0
0
0
3401,1,1622372688
3401
0
EDIT: this is a history file from backup.

hugbug
Developer & Admin
Posts: 7638
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Please help restore NZBGet download history (Error reading diskstate)

Post by hugbug » 24 Sep 2021, 20:08

Probably the file is corrupted somewhere in the middle. I could try to fix it. If you want - send me the whole QueueDir (zipped) to nzbget@gmail.com.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests