Jump to content
binhex

[Support] binhex - Deluge

155 posts in this topic Last Reply

Recommended Posts

Overview: Support for Docker image arch-deluge in the binhex repo.

Application: Deluge - http://deluge-torrent.org/

Docker Hub: https://hub.docker.com/r/binhex/arch-deluge/

GitHub: https://github.com/binhex/arch-deluge

Documentationhttps://github.com/binhex/documentation

 

If you appreciate my work, then please consider buying me a beer  :D

 

btn_donate_SM.gif

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

Edited by binhex

Share this post


Link to post

IMPORTANT - Deluge 2.x compatibility issues

 

There is currently an issue with radarr connecting to deluge 2.x, they havent got support in place for deluge 2.x yet, sonarr looks to have some basic support in place but there may still be some small issues.

 

see here for issue for radarr:- https://github.com/Radarr/Radarr/issues/3562

see here for issue for sonarr:- https://github.com/Sonarr/Sonarr/issues/2412

 

According to a post on the sonarr issue thread, this is the problem in a nutshell:- https://github.com/Sonarr/Sonarr/issues/2412#issuecomment-469070076

 

couchpotato at this time looks to be unable to communicate with deluge 2.x (even against latest commits to master), no information shown in log, even if logging level set to debug.

 

There is also the possibility that private trackers have not vetted deluge 2.x as a torrent client and thus it may not be permitted at this time (check with your private site admin). 

 

if you wish to rollback to Deluge 1.x then follow Q5. from the following link:-

https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

Edited by binhex

Share this post


Link to post

Is there any way to specify which version of Deluge is installed with this Docker container? I have an IPTorrents account which I currently can't use with Sonarr because of their strict rules on what torrent clients can be used with their tracker and I can't figure out how to install older versions of programs when using their Docker versions.

Share this post


Link to post

Is there any way to specify which version of Deluge is installed with this Docker container? I have an IPTorrents account which I currently can't use with Sonarr because of their strict rules on what torrent clients can be used with their tracker and I can't figure out how to install older versions of programs when using their Docker versions.

This would be achieved using  a specific tag for the version of deluge you want to use, unfortunately i dont have tags that go that far back so for now i can only offer you deluge 1.3.12, im assuming then they only support deluge 1.3.11 or earlier?

Share this post


Link to post

for some reason my GUI stopped loading.  I couldn't get it to work unless I uninstalled Deluge and deleted the entire contents of the folder and re-installed it.  I was able to download a file and then I lost connection to the server.  from there it was all down hill.

 

here is the log file after starting the app

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config
[info] Starting Supervisor...
2016-02-24 21:49:24,714 CRIT Set uid to user 0
2016-02-24 21:49:24,714 WARN Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing
2016-02-24 21:49:24,718 INFO supervisord started with pid 13
2016-02-24 21:49:25,723 INFO spawned: 'deluged' with pid 16
2016-02-24 21:49:25,732 INFO spawned: 'deluge-web' with pid 17
2016-02-24 21:49:26,733 INFO success: deluged entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-02-24 21:49:26,734 INFO success: deluge-web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Setting permissions recursively on /config...
[info] Starting Supervisor...
2016-02-24 22:07:47,834 CRIT Set uid to user 0
2016-02-24 22:07:47,844 WARN Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing
2016-02-24 22:07:47,854 INFO supervisord started with pid 15
2016-02-24 22:07:48,857 INFO spawned: 'deluged' with pid 18
2016-02-24 22:07:48,866 INFO spawned: 'deluge-web' with pid 19
2016-02-24 22:07:49,869 INFO success: deluged entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-02-24 22:07:49,870 INFO success: deluge-web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

on another note, I can't get CouchPotato to connect to Deluge either I might need to comment in that thread instead.

 

-=jason=-

 

Edit: I deleted and re-installed again its working for the moment.

Share this post


Link to post

I am also having an issue getting couchpotato to connect to deluge.

 

My logs look just like yours above, and I have even edited the auth file to add an account to log in with suggested in other places.

 

Had no issue getting sonarr to connect, but couchpotato continues to fight me connecting to the daemon.

 

Edit: Aaaand I figured it out.  Apparently vi wasn't showing the file correctly and it was missing a return ><

Share this post


Link to post

Is there any way to specify which version of Deluge is installed with this Docker container? I have an IPTorrents account which I currently can't use with Sonarr because of their strict rules on what torrent clients can be used with their tracker and I can't figure out how to install older versions of programs when using their Docker versions.

This would be achieved using  a specific tag for the version of deluge you want to use, unfortunately i dont have tags that go that far back so for now i can only offer you deluge 1.3.12, im assuming then they only support deluge 1.3.11 or earlier?

 

Correct, they list 1.3.1, 1.3.5, 1.3.6, and 1.3.11 as supported, but not 1.3.12

Share this post


Link to post

How does the path work for this app? I have /data set to /mnt/user/Media/Downloads as that's where I have all my downloaded movies/files at, but in the app I get the error "Permission denied: /mnt/user/Media/Downloads/..."

 

Edit: I see now you have to use your volume mappings. I have /data mapped to /mnt/user/Media/Downloads, so I use "/data" for the download directory.

Share this post


Link to post

I am trying to install YaRSS2 but just can't get it to stick. When I hit Apply, it just clears the checkbox and this shows up in the log:

 

2016-03-17 22:58:16,732 DEBG 'deluge-web' stderr output:
[ERROR ] 22:58:16 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: notifications.set_config({u'smtp_port': u'', u'smtp_recipients': [], u'smtp_tls': False, u'smtp_enabled': False, u'subscriptions': {u'email': []}})
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/plugins/Notifications-0.2-py2.7.egg/notifications/core.py", line 235, in set_config
self.config[key] = config[key]
File "/usr/lib/python2.7/site-packages/deluge/config.py", line 169, in __setitem__
return self.set_item(key, value)
File "/usr/lib/python2.7/site-packages/deluge/config.py", line 211, in set_item
value = oldtype(value)

ValueError: invalid literal for int() with base 10: ''
--------------------------------------------------------------------------------

 

(Updated a few minutes later) - well, it appears the snippet above is irrelevant. When I only try to enable YaRSS2, there are no entries in the log at all. I'm about to tear my hair out....

 

 

Any suggestions? Thank you.

 

Peter

Share this post


Link to post

Taking another run at this, got some error logs that could help someone help me:

 

2016-03-19 12:58:11,143 DEBG 'deluge-web' stderr output:
[ERROR ] 12:58:11 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.enable_plugin(YaRSS2)
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 528, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/lib/python2.7/site-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/lib/python2.7/site-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 290, in start
if self.components[name]._component_depend:

KeyError: CorePlugin.YaRSS2
--------------------------------------------------------------------------------

 

Does that help? Thanks!

Share this post


Link to post

Super basic question, but where does Deluge store the .torrent files that are active?

 

I got it installed in a docker and able to queue torrents for download successfully through the "Remote Torrent Adder" chrome extension. 

 

However, I have no idea where the .torrent file actually is stored?

Share this post


Link to post

Super basic question, but where does Deluge store the .torrent files that are active?

 

I got it installed in a docker and able to queue torrents for download successfully through the "Remote Torrent Adder" chrome extension. 

 

However, I have no idea where the .torrent file actually is stored?

 

the answer to that, is wherever you have configured it to store them :-), if you havent configured it then i think it doesnt store them at all, but you can tell it to do this, its all in the webui config.

Share this post


Link to post

Super basic question, but where does Deluge store the .torrent files that are active?

 

I got it installed in a docker and able to queue torrents for download successfully through the "Remote Torrent Adder" chrome extension. 

 

However, I have no idea where the .torrent file actually is stored?

 

the answer to that, is wherever you have configured it to store them :-), if you havent configured it then i think it doesnt store them at all, but you can tell it to do this, its all in the webui config.

 

I have these configurations set:

 

tvah5IA.png

 

Looking at /mnt/cache/appdata/deluge and /mnt/cache/downloads/deluge/, no .torrent files are there. 

Share this post


Link to post

Go inside deluge, preferences --> downloads --> Copy of .torrent files to: --> set it to /data or whatever you want.

Share this post


Link to post

Go inside deluge, preferences --> downloads --> Copy of .torrent files to: --> set it to /data or whatever you want.

 

Thanks, can't believe I Missed that.

 

One weird thing is that the torrent file is named "file.torrent".  I'm guessing subsequent torrents downloaded will have a problem since they use the same filename. Even if they don't, and for some reason it's incremented, I dislike this since I don't know which torrent file is which.

 

Not sure if this is due to Deluge, or the Remote Torrent Adder chrome extension.  I've verified the private torrent site I'm downloading from doesn't have the torrent file named file.torrent. It's in the format of stuff like "SomeMovie.2016.x264.torrent".

Update: Figured out the problem was the "Remote Torrent Adder" extension, which always used file.torrent filename.  I switched to the DelugeSiphon plugin and the original filename was passed through.

Share this post


Link to post

Hey binhex,

 

Since the latest update I can't get this docker to start. There is nothing in the "log" view from the unRAID GUI (it's empty).

 

Is there some other log file I can look at to help determine the problem?

Share this post


Link to post

Hey binhex,

 

Since the latest update I can't get this docker to start. There is nothing in the "log" view from the unRAID GUI (it's empty).

 

Is there some other log file I can look at to help determine the problem?

 

Poked around myself and found the following:

 

root@Tower:/var/lib/docker/containers/aa0bda2f86b259215b3b0a7cb838a81d0dc1f7c06a67f8ee8498f5816c2886dc# tail -10 aa0bda2f86b259215b3b0a7cb838a81d0dc1f7c06a67f8ee8498f5816c2886dc-json.log

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","strea m":"stderr","time":"2016-04-05T15:42:21.381497653Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:46:29.070251196Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:46:41.201684919Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:48:15.962342685Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:53:22.460459001Z"}

 

When I tried to 'Force update' from the GUI I get the following output:

Command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="Deluge" --net="bridge" -e TZ="Europe/London" -p 54322:54322/tcp -p 8112:8112/tcp -p 58846:58846/tcp -p 58946:58946/tcp -p 58946:58946/udp -v "/mnt/disk1/Docker Config/":"/config":rw -v "/mnt/user/TorrentDownloads/":"/data":rw -v "/mnt/user/Movies/":"/movies":rw -v "/mnt/user/Series/":"/series":rw -v "/mnt/user/Downloads/":"/downloads":rw binhex/arch-deluge

 

ded0786c09f1cdec6cac4f610d34195c3a2e78962ba01fdad4d2496d723fe747

Error response from daemon: Cannot start container ded0786c09f1cdec6cac4f610d34195c3a2e78962ba01fdad4d2496d723fe747: [8] System error: exec: "/bin/bash": stat /bin/bash: no such file or directory

 

The command failed.

Share this post


Link to post

Hey binhex,

 

Since the latest update I can't get this docker to start. There is nothing in the "log" view from the unRAID GUI (it's empty).

 

Is there some other log file I can look at to help determine the problem?

 

Poked around myself and found the following:

 

root@Tower:/var/lib/docker/containers/aa0bda2f86b259215b3b0a7cb838a81d0dc1f7c06a67f8ee8498f5816c2886dc# tail -10 aa0bda2f86b259215b3b0a7cb838a81d0dc1f7c06a67f8ee8498f5816c2886dc-json.log

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","strea m":"stderr","time":"2016-04-05T15:42:21.381497653Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:46:29.070251196Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:46:41.201684919Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:48:15.962342685Z"}

{"log":"exec: \"/bin/bash\": stat /bin/bash: no such file or directory\n","stream":"stderr","time":"2016-04-05T15:53:22.460459001Z"}

 

When I tried to 'Force update' from the GUI I get the following output:

Command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="Deluge" --net="bridge" -e TZ="Europe/London" -p 54322:54322/tcp -p 8112:8112/tcp -p 58846:58846/tcp -p 58946:58946/tcp -p 58946:58946/udp -v "/mnt/disk1/Docker Config/":"/config":rw -v "/mnt/user/TorrentDownloads/":"/data":rw -v "/mnt/user/Movies/":"/movies":rw -v "/mnt/user/Series/":"/series":rw -v "/mnt/user/Downloads/":"/downloads":rw binhex/arch-deluge

 

ded0786c09f1cdec6cac4f610d34195c3a2e78962ba01fdad4d2496d723fe747

Error response from daemon: Cannot start container ded0786c09f1cdec6cac4f610d34195c3a2e78962ba01fdad4d2496d723fe747: [8] System error: exec: "/bin/bash": stat /bin/bash: no such file or directory

 

The command failed.

 

ok i got no idea whats going on there, but its def an unraid issue in some way, possibly your cache drive is fiull or the docker image file is corrupt would be my guess. Just to double check the issue is not related to this docker, i pulled it down and ran it with no issues so im confident this docker is not the issue, if you attempt to pull down another docker do you see the same sort of issue?

Share this post


Link to post

Hello Mr. Hex,

 

I have installed and been using Deluge for a while now, and it seems that my upload speed never gets above 1 or 2KiB/s regardless of network settings I adjust. based on some other forum research moving to libtorrent 1.0.9.0 might help. I was hoping for advice or best practice to achieve this, and or any other advice on the topic you or others may have.

Share this post


Link to post

This plugin keeps saying "Update Ready" on the docker tab, but when I install the update and then re-check for updates, this container says there's another update ready. I'm running 6.2-beta23. The container appears to work fine otherwise.

Pulling image: binhex/arch-deluge:latest
IMAGE ID [latest]: Pulling from binhex/arch-deluge. 
Status: Image is up to date for binhex/arch-deluge:latest

TOTAL DATA PULLED: 0 B

Stopping container: binhex-deluge
Successfully stopped container 'binhex-deluge'

Removing container: binhex-deluge
Successfully removed container 'binhex-deluge'

Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="binhex-deluge" --net="bridge" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -p 8112:8112/tcp -p 58846:58846/tcp -p 58946:58946/tcp -p 58946:58946/udp -v "/mnt/cache/appdata/deluge":"/config":rw -v "/mnt/user/":"/data":rw binhex/arch-deluge
66b33ccea11e42467acf6ff3c7b06f115b3afd2637a7170a93776dea4fe22e69

The command finished successfully!

Share this post


Link to post

Hello Mr. Hex,

 

I have installed and been using Deluge for a while now, and it seems that my upload speed never gets above 1 or 2KiB/s regardless of network settings I adjust. based on some other forum research moving to libtorrent 1.0.9.0 might help. I was hoping for advice or best practice to achieve this, and or any other advice on the topic you or others may have.

 

Hi BinHex, 1st thanks for the great plugin.

I have the same issue as the gentleman above. I get terrible upload speeds, a few KB/s. My Unraid box downloads at full speed on the console. If I plug the same network cable in a dedicated server with Deluge, speeds are up to my broadband limits, so I guess the issue is either with docker or deluge in your container. Has anybody else seen this problem? I have re-installed without luck.

Thanks in advance

Share this post


Link to post

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.