Deluge lost all torrents after computer reboot

General support for problems installing or using Deluge
Post Reply
bmvc
New User
New User
Posts: 3
Joined: Sun Mar 06, 2011 5:20 pm

Deluge lost all torrents after computer reboot

Post by bmvc »

The computer where deluge is running froze and i had to hard-reboot the thing.
After it came back, when connecting to deluge all torrents disappeared; they still exist in the filesystem but are missing from deluge.
There's no apparent filesystem corruption (all other installed programs are running properly and there was no indication of corruption during startup or when running fs check).

From deluge log file it seems deluge fails to load the state file:

[DEBUG ] 17:49:27 configmanager:111 Getting config 'core.conf'
[DEBUG ] 17:49:27 torrentmanager:623 Opening torrent state file for load.
[WARNING ] 17:49:27 torrentmanager:639 Unable to update state file to a compatible version: list index out of range
[DEBUG ] 17:49:27 torrentmanager:736 Opening torrents fastresume file for load.

Looking into "<home dir>/.config/deluge/state" i see a .torrent file for every file deluge was managing plus a state and fastresume file.
User permissions are correct (deluge runs as "nobody" and that user can access all needed files).

-rw-r--r-- 1 nobody nogroup 27M Mar 31 15:34 torrents.fastresume
-rw-rw-r-- 1 nobody nogroup 80 Mar 31 18:02 torrents.state

Any idea why i get a "list index out of range" when loading the state file and what exactly does that mean? I assume that's why all torrents disappeared from deluge.
Also, if i start downloading new torrents is it possible to re-add all the lost ones into deluge?


Generic Info:
Deluge: 1.3.6
Libtorrent: libtorrent-rasterbar7 - 0.16.13-1
OS: Debian SID


Thanks.
Post Reply