Page 1 of 1

After restart (or system reboot) torrents are gone

Posted: Thu Feb 12, 2009 10:56 pm
by specter
Hi,

I use deluge on my NAS (Debian Lenny) with daemon and web interface. This works perfectly.
But when I stop the daemon and the web ui and restart it (System reboot) all torrents are gone. The files are still there, but unfinished downloads don't appear in the web ui anymore.
Get the active torrents saved anywhere for resuming after a restart? Or how does deluge handle this?
Thanks for your help!
Regards,
Matthias

Re: After restart (or system reboot) torrents are gone

Posted: Thu Feb 12, 2009 11:16 pm
by specter
After reading debugging messages from the daemon I think I know where the problem is:

Code: Select all

[WARNING ] 00:11:59 torrentmanager:468 Unable to load state file: [Errno 13] No Permission: '/root/.config/deluge/state/torrents.state'
[WARNING ] 00:11:59 torrentmanager:477 Unable to update state file to a compatible version: list index out of range
Before I started deluge with an init-script, I tried it out by starting as root.
Somehow the daemon still wants to load the the state of the root config directory - of course my user doesn't have the permission to do so.

Ok, now I have to find out how to "reset" the state file to point to my user's deluge config directory.

Re: After restart (or system reboot) torrents are gone

Posted: Thu Feb 12, 2009 11:28 pm
by specter
Somehow in the file core.conf there was still some links to the root-home.
I changed them to the deluged-user's home and now everything works fine.

Next time I do some more debugging before I write :D
But maybe this helps someone in the future ;)

Thanks for this excelent piece of software!

Regards,
Matthias