*DEPRECATED* Deluge BitTorrent Server & Client for unRAID 6.1


Recommended Posts

Can someone help me. I have Python 2.5, 2.6, AND 2.7 installed on my unraid box. I think this has to do with the apps I am using because I didn't install all of this. I think this is causing Deluge to have problems starting everytime I reboot my server.

 

What do I do? If I uninstall Python 2.5 and 2.6, will the apps using those stop working?

Link to comment
  • Replies 203
  • Created
  • Last Reply

Top Posters In This Topic

If you uninstall python 2.5 and python 2.6 and the plugins are still using them, then the plugins will probably just re-install python on the next boot (which is not going to help). What you should do it open the .plg plugin files (with a text editor) on your flash drive and find out which ones are using python 2.5 and 2.6 and look on the unRAID forums for newer updated versions. Most of them have been updated but it does take time figuring out where to get them  ;D

 

P.S. It may be easier just to upgrade to unRAID 6 and find more up to date plugins... or install an linux VM and run the apps from that. (Just two other suggestions for you to consider)

Link to comment

I just filed a issue report for the unRAID 5 version: https://github.com/archedraft/unRAID_5.0/issues/2

What folder(s) do you have set up in deluge preferences? Do you have a "Move completed to:" folder set up?  The Full Allocation setting I believe is for file fragmentation but if you have a move completed folder set up that wouldn't matter.  Most likely the drives not filling up like you'd expect are your user share settings for the "Download to:" folder or the completed folder. You can define different paths for different torrents and also define labels for different types of torrents.

 

Currently I run deluge in a vm with a separate 20GB data.img for downloads then the completed torrents get moved to the cache drive and later to the server by the mover script. I know this doesn't help on 5.

Link to comment

got this on version 5 of the plugin:

 

 file /boot/packages/pyOpenSSL-0.13-i486-1ponce.txz: downloading from http://ponce.cc/slackware/slackware-14.0/packages/pyOpenSSL-0.13-i486-1ponce.txz ... 2014-05-19 09:07:31 URL:http://ponce.cc/slackware/slackware-14.0/packages/pyOpenSSL-0.13-i486-1ponce.txz [104684/104684] -> "/boot/packages/pyOpenSSL-0.13-i486-1ponce.txz" [1]
bad MD5, deleting

 

what is the correct md5 for pyOpenSSL?

 

downloaded manually and now pysetuptools cannot be found...looking for -1, which seems to have been replaced with -2

 

 file /boot/packages/pysetuptools-2.1-i486-1_microlinux.txz: downloading from http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz ... http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz:
2014-05-19 09:10:33 ERROR 404: Not Found.

 

same for pyxdg-0.25-i486-1_microlinux.txz

 

file /boot/packages/pyxdg-0.25-i486-1_microlinux.txz: downloading from http://www.microlinux.fr/slackware/MLED-14.0-32bit/slackware/l/pyxdg-0.25-i486-1_microlinux.txz ... http://www.microlinux.fr/slackware/MLED-14.0-32bit/slackware/l/pyxdg-0.25-i486-1_microlinux.txz:
2014-05-19 09:16:44 ERROR 404: Not Found.

 

besides the download changes that need tidying up in the plugin, this is working great...thanks for your work!

Link to comment

IMHO this addon does not seem to get the attention it is due so I thought I would take some time to review it.

 

Using unRAID v6b5a as test platform.

 

Fundamentally this addon just works as advertised. No messing about no real problem just install and run.

 

Suggestions:

  • The project homepage is not clear. This should be in the OP https://github.com/dmacias72/unRAID_6.0
  • Ideally you would have one github repository per tool. I know some people like a one file pile but you should not require users to clone completely unrelated things just to checkout this single addon.
  • "Data Directory:" in the webgui settings is confusing and could easily mean downloaded data. I suggest something like "Deluge Location" would be better.
  • I strongly recommend you mirror all the rarer (and potentially all) Slackware packages in github. As it stands it is pretty certain your addon will/have break due to some upstream change and to be fair they are not very common repos you have chosen. (Remember to mirror the source packages as well for GPL compliance).
  • Your github repo does not contain a LICENSE file or a license folder containing any licenses. Technically this means I just broke the law even trying your addon and you broke the law hosting some GPL content. Easily fixed just add both or choose a license that best fits your intentions.
  • I would drop the v5 addon. The package sources are a frankestein of wrong repos and clashes with other addons.

 

 

As a very interesting side note everyone says you cannot run the Deluge RSS addon in the daemon version of the tool. This is not actually true. You CAN use the rss addon you just cant configure it via the webgui. You can however connect any of the GTK clients remotely to the daemon running on unRAID and use that to install and configure the RSS addon and it will run away in unraid from then on.

 

This is actually pretty simple.

 

Add a remote user. Something like the following (Edit your actual path):

echo "remote:deluge:10" >> /mnt/user/apps/deluge/auth

In the webgui tick the following settings >> daemon >> connections >> Allow remote connections

You can now even use the windows client to install and configure RSS.

 

I wont go into Deluge addon install as I would suggest you consider adding this natively as for most users this is the magic bullet feature. In fact you might consider adding a lot of 3rd party addons as they default to disabled anyway and it won't use up much disk space

 

 

Fundamentally impressed by this addon and Deluge in general. Last time I tried it, it was crap. On unRAID its pretty slick and currently the best unRAID torrent addon out there in terms of ease of install, usability a features.

 

Link to comment

Thanks for the in depth review and suggestions.  Didn't realize I didn't pick a license and will probably add a separate repo when I host those pkgs. I didn't realize the rss didn't work either.  As far as other plugins it's a little more difficult. The problem lies with the python egg packages and the temp directory for their extraction. I'll look into it again and see if I can come up with something.

  I agree on 5.  It's very hard to get all plugins working together or even working at all.  That's why I switched to 6. I had apache working in 5 but could get some mods working due to unraid default package versions. But with 6 and updated pkg versions it was easy.

    I don't use this plugin anymore but do use deluge in a vm.

 

Link to comment

Oh, if RSS downloading works I must give this a shot.  It would be nice to stop samming the forum with flexget requests.

 

Seem to just work.

 

The only problem I can see if deluge has no native umask options meaning files are -rw-r--r--  (644) which for me at least causes cifs issues.

Link to comment

Which version of unraid? I assume your still on 5.

 

Yes, im on 5.

 

 

I found this https://bbs.archlinux.org/viewtopic.php?id=117969

 

but I don't know how it applies to unraid. I had a similar problem with plex. I acutally have to edit plex's "exportsettings" file to remove "export LC_ALL="en_US.UTF-8"

export LANG="en_US.UTF-8" before it will start.

What does the command "locale -a"  return when run at the commands prompt?

 

Link to comment

Which version of unraid? I assume your still on 5.

 

Yes, im on 5.

 

 

I found this https://bbs.archlinux.org/viewtopic.php?id=117969

 

but I don't know how it applies to unraid. I had a similar problem with plex. I acutally have to edit plex's "exportsettings" file to remove "export LC_ALL="en_US.UTF-8"

export LANG="en_US.UTF-8" before it will start.

What does the command "locale -a"  return when run at the commands prompt?

 

http://pastebin.com/3Nj2V277

 

That can't be the whole list... I set Putty to put out more lines. This is what I'm getting.

 

I am really tired of this problem because the only way to fix it is to click the "update plg" button and wait forever for it to rebuild. Then, deluge will start and I have to re-check several hundred files...which takes all day.

 

I might have to go back to transmission.

Link to comment

Hello

 

Wonder if anyone can help me. I am running Unraid 5.05. I have downloaded "deluge.plg" from provided link and placed it in \plugins folder on my flash drive. When I run the command "installplg /boot/config/plugins/deluge.plg" I get following error "Warning: simplexml_load_file(): I/O warning : failed to load external entity "/boot/config/plugins/deluge.plg" in /usr/local/sbin/installplg on line 13  xml parse error"

 

and ideas ?

 

It will not load when I reboot the server either

Link to comment

Hello

 

Wonder if anyone can help me. I am running Unraid 5.05. I have downloaded "deluge.plg" from provided link and placed it in \plugins folder on my flash drive. When I run the command "installplg /boot/config/plugins/deluge.plg" I get following error "Warning: simplexml_load_file(): I/O warning : failed to load external entity "/boot/config/plugins/deluge.plg" in /usr/local/sbin/installplg on line 13  xml parse error"

 

and ideas ?

 

It will not load when I reboot the server either

.

You didn't download the plugin correctly.  Right click on this and click save as. Then copy to /boot/config/plugins

https://github.com/archedraft/unRAID_5.0/raw/master/deluge.plg

Link to comment

Which version of unraid? I assume your still on 5.

 

Yes, im on 5.

 

 

I found this https://bbs.archlinux.org/viewtopic.php?id=117969

 

but I don't know how it applies to unraid. I had a similar problem with plex. I acutally have to edit plex's "exportsettings" file to remove "export LC_ALL="en_US.UTF-8"

export LANG="en_US.UTF-8" before it will start.

Sorry for the late reply but I'm not sure how to fix this.  I'm on 6 and all I show for locale -a is

C
POSIX
en_US.utf8

There's a few threads on here about locale issues.  Which version of 5 are you on?  There were some changes in beta5

slack: change system default locale to "en_US.UTF-8" and include those locale files in /usr/lib/locale.

Link to comment

Hello

 

Wonder if anyone can help me. I am running Unraid 5.05. I have downloaded "deluge.plg" from provided link and placed it in \plugins folder on my flash drive. When I run the command "installplg /boot/config/plugins/deluge.plg" I get following error "Warning: simplexml_load_file(): I/O warning : failed to load external entity "/boot/config/plugins/deluge.plg" in /usr/local/sbin/installplg on line 13  xml parse error"

 

and ideas ?

 

It will not load when I reboot the server either

.

You didn't download the plugin correctly.  Right click on this and click save as. Then copy to /boot/config/plugins

https://github.com/archedraft/unRAID_5.0/raw/master/deluge.plg

 

 

Thanks,

 

Turns out I used the right file but I put it under \plugins instead of \config\plugins.

 

After I put the file in the right location and ran the command it was doing bunch of stuff but I still don't have the Deluge option under Settings.

 

here is the output:

 

root@Unraid:~# installplg /boot/config/plugins/deluge.plg

installing plugin: deluge

file /tmp/plugin-prepare: successfully wrote INLINE file contents

  /bin/bash /tmp/plugin-prepare ... success

file /boot/packages/boost-1.49.0-i486-3.txz: already exists

  upgradepkg --install-new /boot/packages/boost-1.49.0-i486-3.txz ...

+==============================================================================

| Skipping package boost-1.49.0-i486-3 (already installed)

+==============================================================================

 

 

success

file /boot/packages/deluge-1.3.6-i486-1sl.txz: already exists

  upgradepkg --install-new /boot/packages/deluge-1.3.6-i486-1sl.txz ...

+==============================================================================

| Skipping package deluge-1.3.6-i486-1sl (already installed)

+==============================================================================

 

 

success

file /boot/packages/gcc-4.7.1-i486-1.txz: already exists

  upgradepkg --install-new /boot/packages/gcc-4.7.1-i486-1.txz ...

+==============================================================================

| Skipping package gcc-4.7.1-i486-1 (already installed)

+==============================================================================

 

 

success

file /boot/packages/gcc-g++-4.7.1-i486-1.txz: already exists

  upgradepkg --install-new /boot/packages/gcc-g++-4.7.1-i486-1.txz ...

+==============================================================================

| Skipping package gcc-g++-4.7.1-i486-1 (already installed)

+==============================================================================

 

 

success

file /boot/packages/GeoIP-1.4.8-i486-1dj.txz: already exists

  upgradepkg --install-new /boot/packages/GeoIP-1.4.8-i486-1dj.txz ...

+==============================================================================

| Skipping package GeoIP-1.4.8-i486-1dj (already installed)

+==============================================================================

 

 

success

file /boot/packages/libtorrent-rasterbar-0.16.15-i486-1alien.tgz: already exist

s

  upgradepkg --install-new /boot/packages/libtorrent-rasterbar-0.16.15-i486-1ali

en.tgz ...

+==============================================================================

| Skipping package libtorrent-rasterbar-0.16.15-i486-1alien (already installed)

+==============================================================================

 

 

success

file /boot/packages/Mako-0.7.2-i686-1sl.txz: already exists

  upgradepkg --install-new /boot/packages/Mako-0.7.2-i686-1sl.txz ...

+==============================================================================

| Skipping package Mako-0.7.2-i686-1sl (already installed)

+==============================================================================

 

 

success

file /boot/packages/openssl-1.0.1g-i486-1_slack14.0.txz: already exists

  upgradepkg --install-new /boot/packages/openssl-1.0.1g-i486-1_slack14.0.txz ..

.

+==============================================================================

| Skipping package openssl-1.0.1g-i486-1_slack14.0 (already installed)

+==============================================================================

 

 

success

file /boot/packages/pyOpenSSL-0.13-i486-1ponce.txz: downloading from http://pon

ce.cc/slackware/slackware-14.0/packages/pyOpenSSL-0.13-i486-1ponce.txz ... 2014-

05-23 22:28:30 URL:http://ponce.cc/slackware/slackware-14.0/packages/pyOpenSSL-0

.13-i486-1ponce.txz [104684/104684] -> "/boot/packages/pyOpenSSL-0.13-i486-1ponc

e.txz" [1]

bad MD5, deleting

 

Link to comment

The MD5 is wrong for pyOpenssl. You can edit the .plg file and change the MD5

<FILE Name="/boot/packages/pyOpenSSL-0.13-i486-1ponce.txz" Run="upgradepkg --install-new">
<URL>http://ponce.cc/slackware/slackware-14.0/packages/pyOpenSSL-0.13-i486-1ponce.txz</URL>
<MD5>f12cd3d535f40b2aff617ea9965e92aa</MD5>
</FILE>

or here's the file for unRAID 5 only

Edited to fix pysetup

deluge.plg.txt

Link to comment

I was having the same .md5 error and after replacing the .md5 value I now receive the error:

 

file /boot/packages/pysetuptools-2.1-i486-1_microlinux.txz: downloading from http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz ... http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz:

2014-05-24 01:00:00 ERROR 404: Not Found.

bad download, deleting

 

Link to comment

I was having the same .md5 error and after replacing the .md5 value I now receive the error:

 

file /boot/packages/pysetuptools-2.1-i486-1_microlinux.txz: downloading from http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz ... http://www.microlinux.fr/slackware/MLES-14.0-32bit/slackware/l/pysetuptools-2.1-i486-1_microlinux.txz:

2014-05-24 01:00:00 ERROR 404: Not Found.

bad download, deleting

I edited the file above to fix pysetup

Link to comment

Thanks dmacias, that edit worked.  I also had to modify the following entry in the plugin.  Now it installs and so far its running smooth, I just tested some configurations and a download.

<FILE Name="/boot/packages/pyxdg-0.25-i486-2_microlinux.txz" Run="upgradepkg --install-new">
<URL>http://www.microlinux.fr/slackware/MLED-14.0-32bit/slackware/l/pyxdg-0.25-i486-2_microlinux.txz</URL>
<MD5>9f896e66bbbcd4afd993c6237bd53a63</MD5>
</FILE>

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.