Page 1 of 2

Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 6:13 pm
by cmeans
I'm running the deluged daemon on an rPi2, controlled via the Windows client.

Things are generally going well, but I've encountered three problems recently (one is Plugin related, so I'll start another thread for that).

1) Since I've moved to a new ISP and faster download speeds (now reach 2.4Mbit at times), the deluged daemon seems to intermittently (not consistently) shutdown/crash during a fast download.

2) Whether after a daemon crash or a standard "sudo reboot", on start up, the recent download/upload/ratio statistics are wiped for items going back over a month (which is around the time I moved from an rPi B+ to the B+2). It then also has to re-check *all* torrents before seeding etc. resumes.

I'm booting etc. from the MicroSD card, but all torrents are downloaded onto an external 4TB USB drive (EXT4).

In case it matters:
I am also using the device as a backup "drive" over Samba, but that's with a different USB drive (2TB NTFS). I perform nightly incremental backups of my Windows machine, which generally only takes about 20-30 minutes.
I am also running BOINC/SETI@Home (this is running on other rPi2s as well without issue).

My research on this forum has turned up suggestions for #1, though they seem to all be...turn off encryption...which I'm not too keen on trying.
I've not found (maybe just poor search terms) #2 mentioned.

Thanks.

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 6:34 pm
by Cas
Your searching is appalling then and you did not read http://dev.deluge-torrent.org/wiki/Cont ... gReporting. There are plenty of sudden crashing and rechecking topics, some only a few weeks old! The answer is not turning off encryption, it is updating everything including libtorrent, have you done that yet? That is the first thing that is suggested everywhere.

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 6:46 pm
by cmeans
I'm at:

deluged: 1.3.3
libtorrent: 0.15.10.0

I thought I'd read there were issues with later versions of libtorrent (clearly, as you say, my searching is appalling).

What is the recommended version of libtorrent to upgrade to for Raspbian, and can I just upgrade it through apt-get?

Thanks.

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 6:56 pm
by cmeans
I've found these instructions for upgrading libtorrent on my rPi.

http://www.risharde.com/journal/deluged ... ution.html

Is this the best/simplest approach for a n00b like me?

FYI: The author mentions problems with libtorrent 0.15...I've never had a problem until now :) which I just attributed to the change in ISP or the newer rPi2.

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 7:27 pm
by Cas
You have to build from source on RPi: http://dev.deluge-torrent.org/wiki/Building/libtorrent

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 7:33 pm
by cmeans
Thanks!

Re: Deluged wiping progress on reboot

Posted: Sat Sep 12, 2015 7:51 pm
by cmeans
Cas wrote:You have to build from source on RPi: http://dev.deluge-torrent.org/wiki/Building/libtorrent
I'm getting a lot of:

Code: Select all

 Warning: swp{b} use is deprecated for ARMv6 and ARMv7
during the make process.

Anyone know if I can safely ignore them, or should I adjust something?

Re: Deluged wiping progress on reboot

Posted: Sun Sep 13, 2015 3:14 pm
by cmeans
OK. Now I'm at:

deluged: 1.3.3
libtorrent: 1.0.6.0

However, I performed a few reboots and Deluge still wanted to re-check the past 40+ downloads, and now I cannot add any new torrents for download. It is still actively seeding, and I do see uploads working.

There's no error message, it just silently fails after I click Add on the Add Torrents dialog. Nothing in the ~/.config/deluge folder logs and nothing in /var/logs.

Any ideas? Obviously, I'd rather have it crashing with the older libtorrent than not downloading with the current one.

Re: Deluged wiping progress on reboot

Posted: Sun Sep 13, 2015 4:06 pm
by Cas
You have not upgraded deluge, how can you expect it to be fixed?

Re: Deluged wiping progress on reboot

Posted: Sun Sep 13, 2015 4:28 pm
by cmeans
I've run apt-get update and apt-get upgrade.

I clearly *wrongly* assumed that that would upgrade my install to the latest version as I installed it via apt-get.