Has anyone tried Deluge?

Questions regarding modifying the torrent engine or download station may go here.
Forum rules
Please note the disclaimer before modifying your Synology Product.

Re: Has anyone tried Deluge?

Postby jimmy0410 » Mon Feb 27, 2012 10:53 pm

Ah, making more progress. Got libtorrent to build I believe. Did this by downloading latest tarball and extracting. Then running "python2.6 setup.py build" and "python2.6 setup.py install" seemed to work. Anyways. Did git clone for the latest deluge, build and install went alright, but when running ./deluged -d I get error:


ImportError: dynamic module does not define init function (initlibtorrent)

Which I assume is it not finding libtorrent. Any help!? I feel I'm getting close...
jimmy0410
I'm New!
I'm New!
 
Posts: 4
Joined: Thu Feb 23, 2012 4:16 am

Re: Has anyone tried Deluge?

Postby gvonk » Wed Feb 29, 2012 1:58 pm

jimmy0410 wrote:Having trouble creating configure file for libtorrent. When trying to autoconf configure.ac I get error:


/opt/bin/autoconf: exec: line 498: /opt/bin/autom4te: not found

Although I'll cd into /opt/bin and the script is clearly there...


I'm also having this error. How dit you fix this?
gvonk
I'm New!
I'm New!
 
Posts: 3
Joined: Tue Jan 24, 2012 9:42 pm

Re: Has anyone tried Deluge?

Postby Dantounet » Wed Mar 14, 2012 3:50 pm

Code: Select all
sed -i 's/#! \?\/bin\/sh/#! \/opt\/bin\/bash/' /opt/bin/autoconf
ipkg install perl
ipkg install bash

should fix it.
Dantounet
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Mar 14, 2012 3:28 pm

Re: Has anyone tried Deluge?

Postby thorc » Thu Apr 05, 2012 4:10 pm

DiskStation> aclocal -I m4
This Perl not built to support threads
Compilation failed in require at /opt/share/automake-1.11/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at /opt/share/automake-1.11/Automake/ChannelDefs.pm line 26.
Compilation failed in require at /opt/share/automake-1.11/Automake/Configure_ac.pm line 26.
BEGIN failed--compilation aborted at /opt/share/automake-1.11/Automake/Configure_ac.pm line 26.
Compilation failed in require at /opt/bin/aclocal line 39.
BEGIN failed--compilation aborted at /opt/bin/aclocal line 39.
DiskStation>


strugling in compiling libtorrent.
first step fails

anyone got pointers
thorc
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Apr 05, 2012 3:58 pm

Re: Has anyone tried Deluge?

Postby thorc » Fri Apr 06, 2012 4:51 pm

Follow up.
I got tiered of beeing restricted to the original packaging.
So since my box is already running linux I decided to try chrooting ;)

Followed http://kristof.vanhertum.be/?p=132
Using debian setup.

I installed deluged from source (did't have so much success with debian package. probably old version)
http://dev.deluge-torrent.org/wiki/Installing/Source

Sure enough it works perfectly now. Did't have to compile anything.
and "apt-get" is so wonderfull to have again!
thorc
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Apr 05, 2012 3:58 pm

Re: Has anyone tried Deluge?

Postby MaximumFish » Thu Apr 19, 2012 2:27 am

This is interesting. Am I right in thinking that you're essentially installing Debian on top of DSM? What are the implications of doing this? Can the Debian packages still access /Volumes without breaking anything, permissions etc?

It seems almost too good to be true...
MaximumFish
Rookie
Rookie
 
Posts: 34
Joined: Wed Mar 28, 2012 3:20 am

Re: Has anyone tried Deluge?

Postby thorc » Thu Apr 19, 2012 8:18 pm

MaximumFish wrote:This is interesting. Am I right in thinking that you're essentially installing Debian on top of DSM? What are the implications of doing this? Can the Debian packages still access /Volumes without breaking anything, permissions etc?

It seems almost too good to be true...


The Linux kernel in the box is the same for DSM and any chrooted system.
The chrootet system is essentialy a sandboxed root system.
This allows you to have a root system that is whatever linux distro you want. The cpu arcitecture must match when you create the chrootet system.

using a simple mount command when you are in your main root
mount -o bind /volume1/download chroottarget/volume1/download
you can expose something to your chrooted root

http://www.unixwiz.net/techtips/chroot-practices.html
thorc
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Apr 05, 2012 3:58 pm

Re: Has anyone tried Deluge?

Postby MaximumFish » Tue May 22, 2012 3:49 pm

Bumping this thread again since Transmission doesn't let you rename the top-level folder of a torrent. :(

Seeing as there's now an official Synology version of Python, has anyone had another go at making this work? Especially interested in the DS1512/1812!

Failing that I'm half-way through setting up a chroot for Debian but the instructions that thorc linked are very old and I'm not sure that 'atmel' is the correct architecture to choose for the debootstrap command.

Any thoughts either way appreciated!
MaximumFish
Rookie
Rookie
 
Posts: 34
Joined: Wed Mar 28, 2012 3:20 am

Re: Has anyone tried Deluge?

Postby MaximumFish » Thu May 24, 2012 12:45 am

Replying to my own post. I got Debian installed in a chroot, using the amd64 architecture but fell short when trying to install the Python libtorrent libraries, telling me there were uninstallable dependencies.

I searched around for help but couldn't find anything useful so that and the fact that, to compile Deluge required >500MB of extra packages, I gave up and installed the rTorrent/ruTorrent combo instead.
MaximumFish
Rookie
Rookie
 
Posts: 34
Joined: Wed Mar 28, 2012 3:20 am

Re: Has anyone tried Deluge?

Postby MaximumFish » Tue Jun 05, 2012 12:33 am

Ha, after something (I can't even remember what now) made me decide rTorrent wasn't the best client, I spent the last 2 weeks trying to compile libtorrent and Deluge again. Finally last night I gave up and went back to the chroot idea, but using Ubuntu instead. Simplicity itself! Installed 'deluged' and 'deluge-webui' right out of the box with apt-get and it's working perfectly!

I do remember Deluge being better though. Is there no way to browse the remote system when choosing where to save files?

Now that Ubuntu is working I'm tempted to have another look at the uTorrent alpha. :)

Anyway, will post some simple instructions for getting Deluge going in a chroot later on. Watch this space...
MaximumFish
Rookie
Rookie
 
Posts: 34
Joined: Wed Mar 28, 2012 3:20 am

Re: Has anyone tried Deluge?

Postby TreeBeard » Tue Jun 05, 2012 10:42 pm

MaximumFish wrote:Ha, after something (I can't even remember what now) made me decide rTorrent wasn't the best client, I spent the last 2 weeks trying to compile libtorrent and Deluge again. Finally last night I gave up and went back to the chroot idea, but using Ubuntu instead. Simplicity itself! Installed 'deluged' and 'deluge-webui' right out of the box with apt-get and it's working perfectly!

I do remember Deluge being better though. Is there no way to browse the remote system when choosing where to save files?

Now that Ubuntu is working I'm tempted to have another look at the uTorrent alpha. :)

Anyway, will post some simple instructions for getting Deluge going in a chroot later on. Watch this space...


Very interesting. Deluge is natively supported by Flexget, as well. Perhaps I'll give it a shot, although I thought I recalled it being more resource intensive then even Transmission. I've been desperately looking for a client that can maintain transfer speeds up to my max of 150/mbps down on NAS hardware (DS212+).
TreeBeard
I'm New!
I'm New!
 
Posts: 9
Joined: Wed Dec 15, 2010 6:12 pm

Re: Has anyone tried Deluge?

Postby MaximumFish » Wed Jun 06, 2012 1:58 am

Yeah, after all that work I'm going back to rTorrent! It's the only one of the four contenders (rTorrent, Transmission, Deluge and uTorrent alpha) that both has a remote file browser for choosing save locations (so the missus can use it without memorizing directory structures) and lets you rename the top-level folder of a torrent (so I can download directly to its permanent location and not have messy folders everywhere). Both essential features!

Deluge already has the latter and the former is planned for version 1.4.0 so I may take another look at it then, as I do prefer the thin client setup over a web interface. Likewise uTorrent I'd guess, as the desktop version has supported both of these for a long time. Right now though, it has neither.

I am sticking with the Ubuntu chroot though, as its rTorrent is more frequently updated and the current version has this fix: "Better handling of resume after crash/reboot alliviating the need to do full hash checks."

I can't believe it's taken me a month to settle on a client!
MaximumFish
Rookie
Rookie
 
Posts: 34
Joined: Wed Mar 28, 2012 3:20 am

Re: Has anyone tried Deluge?

Postby TreeBeard » Wed Jun 06, 2012 4:23 pm

MaximumFish wrote:... the current version has this fix: "Better handling of resume after crash/reboot alliviating the need to do full hash checks." ...


Excellent! That makes the init script much more practical. :D
TreeBeard
I'm New!
I'm New!
 
Posts: 9
Joined: Wed Dec 15, 2010 6:12 pm

Re: Has anyone tried Deluge?

Postby ThaMagicBoy » Mon Apr 08, 2013 1:54 pm

I can confirm I tried Deluge and it's working atm as a charm. :lol:
After a lot of searching the web, digging logfiles and trying different settings.

Deluge 1.3.5 and libtorrent-rasterbar 0.16.9 are builded/installed and running on my Synology NAS DS412+(bootstrapped). I builded Delugen and libtorrent-rasterbar from source.

I'am running the deluge-deamon and the deluge-web atm and also tested the deluge-console.
All working right now. :D

Is there interest in a detailed manual? So others can use and build and install Deluge 1.3.5 and libtorrent-rasterbar 0.16.9 from source. You can also use a newer version of Deluge(also tested), for older versions you need different settings. But I don't think people need older versions of Deluge < 1.3.5.

If there's interest, I will make the manual in a week or two.
ThaMagicBoy
I'm New!
I'm New!
 
Posts: 1
Joined: Mon Apr 08, 2013 1:37 pm

Re: Has anyone tried Deluge?

Postby Skindred » Mon Apr 15, 2013 7:17 pm

ThaMagicBoy wrote:I can confirm I tried Deluge and it's working atm as a charm. :lol:
After a lot of searching the web, digging logfiles and trying different settings.

Deluge 1.3.5 and libtorrent-rasterbar 0.16.9 are builded/installed and running on my Synology NAS DS412+(bootstrapped). I builded Delugen and libtorrent-rasterbar from source.

I'am running the deluge-deamon and the deluge-web atm and also tested the deluge-console.
All working right now. :D

Is there interest in a detailed manual? So others can use and build and install Deluge 1.3.5 and libtorrent-rasterbar 0.16.9 from source. You can also use a newer version of Deluge(also tested), for older versions you need different settings. But I don't think people need older versions of Deluge < 1.3.5.

If there's interest, I will make the manual in a week or two.



Please do ;)

Trying to get libtorrent-rasterbar working on my DS713+ (same CPU as DS412+), to run the awesome BTFS.
Skindred
I'm New!
I'm New!
 
Posts: 2
Joined: Sun Mar 10, 2013 5:55 pm

PreviousNext

Return to Torrent Engines/Download Station Mods

Who is online

Users browsing this forum: No registered users and 2 guests