[Support] binhex - Deluge


Recommended Posts

  • 2 months later...

I finally got around to installing your excellent sabnzbd-vpn docker today and have configured it to work with my VPN and it's great. I'm using privoxy for Sonarr and it's working well, too.

Given the success of the sabnzbd-VPN Docker, I'm now looking to install something for Torrents.

 

Now, my question is: do I install the VPN version of Deluge, or can I just access the VPN running in my sabnzbd Docker using a privoxy (my VPN provider only allows me two simultaneous connections, so I'd prefer it if this is possible).

If this IS possible, will Deluge stop dl/ul'ing if the VPN goes down? Like, will it bypass the proxy if it doesn't offer a connection to the net?

Thanks for your help!

 

Link to comment

I finally got around to installing your excellent sabnzbd-vpn docker today and have configured it to work with my VPN and it's great. I'm using privoxy for Sonarr and it's working well, too.

Given the success of the sabnzbd-VPN Docker, I'm now looking to install something for Torrents.

 

Now, my question is: do I install the VPN version of Deluge, or can I just access the VPN running in my sabnzbd Docker using a privoxy (my VPN provider only allows me two simultaneous connections, so I'd prefer it if this is possible).

If this IS possible, will Deluge stop dl/ul'ing if the VPN goes down? Like, will it bypass the proxy if it doesn't offer a connection to the net?

Thanks for your help!

I wouldn't rely on a proxy 100% and you wouldn't have the protection that's built into my VPN dockers, as in iptable blocking. So in short install delugevpn or rtorrentvpn and be happy :-)

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I finally got around to installing your excellent sabnzbd-vpn docker today and have configured it to work with my VPN and it's great. I'm using privoxy for Sonarr and it's working well, too.

Given the success of the sabnzbd-VPN Docker, I'm now looking to install something for Torrents.

 

Now, my question is: do I install the VPN version of Deluge, or can I just access the VPN running in my sabnzbd Docker using a privoxy (my VPN provider only allows me two simultaneous connections, so I'd prefer it if this is possible).

If this IS possible, will Deluge stop dl/ul'ing if the VPN goes down? Like, will it bypass the proxy if it doesn't offer a connection to the net?

Thanks for your help!

I wouldn't rely on a proxy 100% and you wouldn't have the protection that's built into my VPN dockers, as in iptable blocking. So in short install delugevpn or rtorrentvpn and be happy :-)

Ah cheers, thanks.

Will have to look into a provider that offers more than two simultaneous connections, then.

Link to comment

I finally got around to installing your excellent sabnzbd-vpn docker today and have configured it to work with my VPN and it's great. I'm using privoxy for Sonarr and it's working well, too.

Given the success of the sabnzbd-VPN Docker, I'm now looking to install something for Torrents.

 

Now, my question is: do I install the VPN version of Deluge, or can I just access the VPN running in my sabnzbd Docker using a privoxy (my VPN provider only allows me two simultaneous connections, so I'd prefer it if this is possible).

If this IS possible, will Deluge stop dl/ul'ing if the VPN goes down? Like, will it bypass the proxy if it doesn't offer a connection to the net?

Thanks for your help!

I wouldn't rely on a proxy 100% and you wouldn't have the protection that's built into my VPN dockers, as in iptable blocking. So in short install delugevpn or rtorrentvpn and be happy :-)

Ah cheers, thanks.

Will have to look into a provider that offers more than two simultaneous connections, then.

Private internet access is the recommended provider, allowing five connections

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment
  • 2 weeks later...

Hi all,

 

My torrents don't transfer from incomplete folder where my download go, to the completed folder where downloads go when they are done.

 

Here is the error it generates. Any help fixing this would be appreciated.

 

2017-02-09 05:41:12,328 DEBG 'deluge-script' stderr output:
Unhandled Error

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/main.py", line 238, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.7/site-packages/deluge/core/daemon.py", line 177, in __init__
reactor.run()
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1199, in run
self.mainLoop()
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1208, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 828, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 949, in on_alert_torrent_finished
torrent.move_storage(torrent.options["move_completed_path"])
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 913, in move_storage
self.torrent_id, dest, ex)
exceptions.NameError: global name 'ex' is not defined

Link to comment

Hello.

I have installed Deluge and followed the instructions to the letter, I have also installed the Chrome Syphon extension. Every time I try to download a torrent I get the message "Torrent Requested" then a five second delay, then two messages " Error communicating with Deluge Server" and " Torrent not Added".

It's driving me nuts. I've tried everything. If I use siphon to try to open the web UI of Deluge, the WebUI opens but presents a box asking for the password. I know the password is correct because I can open the Deluge WebUI from the Docker using the password.

Has anybody any ideas because other than that it's all set up and seems to have potential.  :)

 

I have attached the Log Below:-

 

2017-02-12 10:29:31.655094 [info] Starting Supervisor...

2017-02-12 10:29:31,849 CRIT Set uid to user 0

2017-02-12 10:29:31,849 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing

2017-02-12 10:29:31,851 INFO supervisord started with pid 6

2017-02-12 10:29:32,853 INFO spawned: 'checkproc-script' with pid 50

2017-02-12 10:29:32,854 INFO spawned: 'start-script' with pid 51

2017-02-12 10:29:32,855 INFO spawned: 'deluge-script' with pid 52

2017-02-12 10:29:32,857 INFO spawned: 'deluge-web-script' with pid 53

2017-02-12 10:29:32,858 INFO spawned: 'privoxy-script' with pid 54

2017-02-12 10:29:32,863 DEBG 'deluge-script' stdout output:

[info] Deluge config file already exists, skipping copy

 

2017-02-12 10:29:32,863 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2017-02-12 10:29:32,863 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2017-02-12 10:29:32,863 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2017-02-12 10:29:32,864 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2017-02-12 10:29:32,864 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2017-02-12 10:29:32,864 DEBG 'deluge-script' stdout output:

[info] VPN not enabled, skipping VPN tunnel local ip/port checks

 

2017-02-12 10:29:32,865 DEBG 'start-script' stdout output:

[info] VPN not enabled, skipping configuration of VPN

 

2017-02-12 10:29:32,865 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47958895825048 for <Subprocess at 47958895825264 with name start-script in state RUNNING> (stdout)>

2017-02-12 10:29:32,865 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47958895825624 for <Subprocess at 47958895825264 with name start-script in state RUNNING> (stderr)>

2017-02-12 10:29:32,865 INFO exited: start-script (exit status 0; expected)

2017-02-12 10:29:32,865 DEBG received SIGCLD indicating a child quit

2017-02-12 10:29:32,866 DEBG 'privoxy-script' stdout output:

[info] Privoxy set to disabled

 

2017-02-12 10:29:32,866 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47958895744424 for <Subprocess at 47958895826992 with name privoxy-script in state RUNNING> (stdout)>

2017-02-12 10:29:32,866 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47958895745432 for <Subprocess at 47958895826992 with name privoxy-script in state RUNNING> (stderr)>

2017-02-12 10:29:32,866 INFO exited: privoxy-script (exit status 0; expected)

2017-02-12 10:29:32,866 DEBG received SIGCLD indicating a child quit

2017-02-12 10:29:32,869 DEBG 'deluge-script' stdout output:

[info] Attempting to start Deluge...

 

2017-02-12 10:29:33,129 DEBG 'deluge-script' stderr output:

/usr/lib/python2.7/site-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.

import libtorrent as lt

 

2017-02-12 10:29:33,179 DEBG 'deluge-web-script' stdout output:

[info] Starting Deluge webui...

2017-02-12 11:34:51,964 DEBG 'deluge-web-script' stderr output:

/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:1294: UserWarning: /home/nobody/.cache/Python-Eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).

warnings.warn(msg, UserWarning)

 

2017-02-12 11:35:48,614 DEBG 'deluge-web-script' stderr output:

[ERROR ] 11:35:48 client:391 RPCError Message Received!

 

--------------------------------------------------------------------------------

RPCRequest: core.add_torrent_url(https://classic.torrentday.com/download.php/2205915/David_Bowie-Legacy-Remastered-2CD-FLAC-2016-FORSAKEN.torrent, {u'add_paused': False, u'move_completed_path': u'/data/Complete', u'download_location': u'/data/Incomplete', u'move_completed': True}, {u'cookie': u'PHPSESSID=q4kvva5q9jj68h6utglatcgiq1', u'user-agent': u'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'})

--------------------------------------------------------------------------------

File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 315, in on_fail

failure.raiseException()

File "<string>", line 2, in raiseException

 

Error:

 

Link to comment

Yup, it's still going on here. I've gone over all the settings I understand and it will not work.

 

In desperation I installed the Transmission Docker. I then installed the Transmission Remote GUI on my Windows machine. Worked first time after I set the Transmission IP address and Port. Several Downloads completed without a hitch.

 

I then re installed the Deluge Docker and configured the Siphon extender in Chrome. Will it work, Not a Cat in hells chance! Same message when I request a torrent..... "Cannot communicate with the Deluge server" and "Torrent not added". I must confess that I am not overly impressed with these Dockers which do seem to have their problems. Dunno what to do next.

Link to comment

I have deluge on my unRAID working with a deluge thin client on my windows and MacBook. I can add torrents manually and remove torrents as needed.

Install the deluge app to your windows, once installed go into its settings-> interface: and deselect classic mode. Restart your windows deluge.

This will change the windows deluge app to a remote GUI. Make sure you have 'allow remote connections' enabled in your daemon settings in your unRAID deluge. Take note of your daemon port and input those in your windows deluge connection manager.

You will have to create another login in your 'auth' file in your deluge app data to allow a second external connection. Stop your unRAID deluge and edit your auth file (don't forget to create a backup of the auth file just in case)

You would need to add a line like

pickaname:password:10

Save 'auth' file and replace old 'auth' file in deluge app data.

You will need to add a connection in your windows deluge connection manager as

Hostname: your server IP

Port: make sure it's the same port in your unRAID deluge daemon

Username: 'pickaname'

Password: password you put in your auth file

Save and connect.

Hope this works.

 

 

Sent from my iPad using Tapatalk

Link to comment

Cheers.

 

I'll give that a go. I didn't realise the the Windows Deluge program could be turned into a remote GUI like that.

Can that also be done with the Linux version of Deluge?

Reason for asking is I'm about to go over to Linux completely, even my Windows 10 machine.

I've even considered  relying on my uRaid server to supply the grunt, and employing a Raspberry PI to do the web browsing.

Link to comment

From my googling, you can setup a deluge thin client on most Linux distros. I'm not familiar with the exact cli setup process but it will follow my previous thin client outline.

This deluge wiki page gives a more detailed setup guide.

http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient

Just start from the "Add User to the authentication file" heading. You don't have to worry the stuff before that. It's already dealt with in the deluge docker.

 

 

Sent from my iPad using Tapatalk

Link to comment

Did anyone upgrade to latest unraid  6.3.1?

 

That is the only thing that has changed for me..

 

Could be a python issue too?

What issue are you talking about?

 

 

Sorry.. I didn't quote the similar issue..

My issue was that Deluge would start (the WebUI) but the daemon wouldn't start and would throw errors.  I ended up solving by deleting (renaming) the session.state file.  This let the daemon start up and I'm back in business.

 

thanks and sorry for the totally unclear post.. LOL

 

mike

Link to comment
  • 3 weeks later...

Hello, Deluge has stopped working for me. I can no-longer reach the WebUi.

 

2017-03-06 08:10:06.146290 [info] Starting Supervisor...
2017-03-06 08:10:06,701 CRIT Set uid to user 0
2017-03-06 08:10:06,701 INFO Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing
2017-03-06 08:10:06,706 INFO supervisord started with pid 7
2017-03-06 08:10:07,709 INFO spawned: 'deluge-script' with pid 39
2017-03-06 08:10:07,711 INFO spawned: 'deluge-web-script' with pid 40
2017-03-06 08:10:07,722 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
[info] Starting Deluge daemon...

2017-03-06 08:10:07,723 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-03-06 08:10:07,723 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-03-06 08:10:08,478 DEBG 'deluge-script' stderr output:
/usr/lib/python2.7/site-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
import libtorrent as lt 

I do have 2 deluge dockers (this one, and your DelugeVPN one). I'm not sure if that'd affect this at all given the recent updates I've had, but for the last few months they've both been running with no issues.

Edited by naturalcarr
Forgot some pertinent information.
Link to comment
On 06/03/2017 at 1:23 PM, naturalcarr said:

Hello, Deluge has stopped working for me. I can no-longer reach the WebUi.

 


2017-03-06 08:10:06.146290 [info] Starting Supervisor...
2017-03-06 08:10:06,701 CRIT Set uid to user 0
2017-03-06 08:10:06,701 INFO Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing
2017-03-06 08:10:06,706 INFO supervisord started with pid 7
2017-03-06 08:10:07,709 INFO spawned: 'deluge-script' with pid 39
2017-03-06 08:10:07,711 INFO spawned: 'deluge-web-script' with pid 40
2017-03-06 08:10:07,722 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
[info] Starting Deluge daemon...

2017-03-06 08:10:07,723 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-03-06 08:10:07,723 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-03-06 08:10:08,478 DEBG 'deluge-script' stderr output:
/usr/lib/python2.7/site-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
import libtorrent as lt 

I do have 2 deluge dockers (this one, and your DelugeVPN one). I'm not sure if that'd affect this at all given the recent updates I've had, but for the last few months they've both been running with no issues.

 

Please can you pull down the latest image and give that a whirl, that should correct the libtorrent errors.

Link to comment

I just forced an update twice, the libtorrent error is gone, but still no WebUI. Here's my docker log 

And heres the deluge log 

 

 

I've also deleted my old image, and created a new container with fresh configs, and still have the same issue.

 

Fixed it, not sure what was wrong, but the webui is back after I manually removed the container, image, configs and all orphaned images. Adding the old torrents back with the states folder was easy, too.

Edited by naturalcarr
Problem Resolved
Link to comment
  • 2 months later...
29 minutes ago, SkyHead said:

I'm using sonarr with deluge and have an folder with the deluge addon extractor.
 How do I make a different extractor directory for Movies?4

torrents with the label "movies" from couchpotato

Not possible AFAIK. Try SimpleExtractor plugin with the inplace option.

  • Upvote 1
Link to comment
  • 2 months later...

New to docker here, but had a question about the port configuration. I plan on running multiple instances of this docker container for various trackers. As such, I wanted to give access to the LAN subnet to each container. So I created a macvlan and started the container with the following options. I assume I dont need to specify the -p 8112:8112 and the other port options since the container is directly on the LAN, correct? I am able to access the webUI just fine through my browser on a different machine on the LAN (you cannot access the container over the network on the HOST machine when you use macvlan)

 

Does this look okay? Thanks!

 

docker network create -d macvlan --subnet=192.168.2.0/24 --gateway=192.168.2.1 -o parent=ens18 dockervlan
 
docker run -d \
    -h <hostname of container> \
    --net=dockervlan \
    --ip=<ip of container on subnet> \
    --name=<name of container> \
    -v <path_to_data>:/data \
    -v <path_to_config>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=000 \
    -e PUID=<my puid> \
    -e PGID=<my pgid> \
    binhex/arch-deluge

Above I set a unique hostname and IP for each new container I create 

Edited by shiarua
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.