Page 1 of 1

deluged has started forgeting changes after restart.

Posted: Thu Apr 12, 2012 2:40 pm
by trideceth12
When I shutdown deluged (either using the gtk client, deluge-console, or using pkill), after restarting any changes I have made, such as adding torrents. Pausing / unpausing, changing priority etc. are forgotten, and I get reverted to some previous state (always the same torrents unpaused - new torrents missing).

I'm stumped..

Thanks in advance.

Re: deluged has started forgeting changes after restart.

Posted: Thu Apr 12, 2012 2:56 pm
by Cas
you have failed to give any version or os information but there is clearly an issue saving state on existing. enable debug logging to look for errors.

Re: deluged has started forgeting changes after restart.

Posted: Thu Apr 12, 2012 3:15 pm
by trideceth12
You are right that was a craply posed question.

Anyway I used debug logging and there was an IO error on a file called torrents.state.new I deleted that file and its all working fine again now.

What does that file do anyway?

Re: deluged has started forgeting changes after restart.

Posted: Thu Apr 12, 2012 4:24 pm
by Cas
torrents.state stores all the information about torrents. the .new file is created then overwrites torrents.state.