Resume without checking after error

General support for problems installing or using Deluge
Harkonnen
New User
New User
Posts: 5
Joined: Sun Feb 13, 2011 5:48 pm
OS or Distro: Debian

Resume without checking after error

Postby Harkonnen » Tue Oct 07, 2014 2:40 pm

Is there any way to resume torrents after disk error without rechecking? Like tell deluge to assume that all torrents are fully completed? I seed from an external usb drive, and sometimes its restarts for whatever reason. Deluge sets all torrents to error state, and the only way to resume is recheck everything (which takes half a day for >1TB over usb).

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Resume without checking after error

Postby Cas » Tue Oct 07, 2014 4:24 pm

In 1.3 not really but I am working on the problem to be fixed in 1.4.

The best workaround would be to keep a periodic backup of your state fastresume file and if you see an error close Deluge and restore from last good copy. A pain I know but it's the best I can offer currently.

shamael
Super Seeder
Super Seeder
Posts: 255
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Resume without checking after error

Postby shamael » Mon Oct 17, 2016 6:59 pm

Hi All,

We are talking about the same error: recent Deluge setup finally done (perf issue etc solved) but each time I need to restart my Pi, I get a lot of torrent in red, "Error: Problem with resume data: missing or invalid 'file sizes' entry" is most of time what I see but tracker issue are displayed too. I need to force-recheck all torrent (on a Pi it takes a ...moment).

And Btw thanks Cas for all the good work :). I almost gave up when I was sticked with poor perf issue and compiling libtorrent 1.0.9 on a pi without swap was not the easiest part for a noob. thanks to itconfig after the compiling I get a really descend setup on a RPI3. I will write about it when I have time :)

shamael
Super Seeder
Super Seeder
Posts: 255
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Resume without checking after error

Postby shamael » Tue Dec 06, 2016 9:00 am

For anyone following this topic, I may have a solution. I never restart the daemon w/o having to force-recheck a lot of torrent but this time...
Even a full reboot of my box did not create issue

What did I changed?
Edit your systemd file

Code: Select all

sudo nano /etc/systemd/system/deluged.service


Replace the following line (adapt XXXXX.mount with yours)

Code: Select all

RequiresMountsFor=XXXXX.mount

with

Code: Select all

Requires=XXXXX.mount
After=XXXXX.mount


Please give me a feedback, so I can ask for wiki edition

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Resume without checking after error

Postby Cas » Tue Dec 06, 2016 10:19 am

It seems that if noauto is in the mount then Requires and After would need specified:

RequiresMountsFor=

Takes a space-separated list of absolute paths. Automatically adds dependencies of type Requires= and After= for all mount units required to access the specified path.

Mount points marked with noauto are not mounted automatically and will be ignored for the purposes of this option. If such a mount should be a requirement for this unit, direct dependencies on the mount units may be added (Requires= and After= or some other combination).

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Resume without checking after error

Postby Cas » Tue Dec 06, 2016 10:30 am

I have updated the guide with those changes as it is a more robust setup that having the check fstab auto details.

http://dev.deluge-torrent.org/wiki/User ... ce/systemd

shamael
Super Seeder
Super Seeder
Posts: 255
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Resume without checking after error

Postby shamael » Tue Dec 06, 2016 10:44 am

I planned to do it after first feedback but thanks :).

P4NCH1
New User
New User
Posts: 1
Joined: Wed Jun 14, 2017 10:45 pm
OS or Distro: Linux Mint

Re: Resume without checking after error

Postby P4NCH1 » Wed Jun 14, 2017 10:55 pm

Thats a good workaround, but how can I implement it in the normal Linux desktop version? I mean, without the daemon and web-UI, in my Linux Mint Cinnamon the file etc/systemd/system/deluged.service does'nt exist. I've installed trough apt sudo apt-get install deluge

Cheers, and thanks very much for this torrent client! :)

shamael
Super Seeder
Super Seeder
Posts: 255
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Resume without checking after error

Postby shamael » Thu Jun 15, 2017 7:50 am

This issue may be present when the daemon setup is done with a target drive mounted via fstab. (The target drive is automatically mounted and Deluge daemon start as a daemon on boot). The new mount way only tells Deluge to wait for the drive to be accessible, it doesn't mount the drive.

Guessing your target drive is accessible already and you start Deluge as an application on your desktop --> not relevant for you :).


Return to “Support”

Who is online

Users browsing this forum: Bing [Bot] and 7 guests