Deluge

From Bytesized Wiki

(Difference between revisions)
Jump to: navigation, search
(WEBUI is slow)
 
(32 intermediate revisions not shown)
Line 1: Line 1:
-
http://img221.imageshack.us/img221/6312/delugeicon.png
+
http://i.imgur.com/dZnLD.png
Deluge is powerful bittorrent client. One of the reasons Deluge is recommended here is that it`s native Linux client.  
Deluge is powerful bittorrent client. One of the reasons Deluge is recommended here is that it`s native Linux client.  
Line 24: Line 24:
== Connecting to the Daemon from your computer ("Thin client") ==
== Connecting to the Daemon from your computer ("Thin client") ==
-
Animazing created this [http://bytesized-hosting.com/system/deluge_remote_demo/index.html SCREENCAST] . Notice his sexy voice <3
+
Animazing created this [http://n1.bytesized-hosting.com/deluge_remote_demo/index.html SCREENCAST] . Notice his sexy voice <3
*Be sure that you install the same Deluge version on your home computer as the one on your slice. If the slice runs Deluge 1.2.3, you *have* to have 1.2.3 installed at your home machine. Also, when you are ready to try it out yourself make sure you use the deamon port and double check that your username is all lowercase.
*Be sure that you install the same Deluge version on your home computer as the one on your slice. If the slice runs Deluge 1.2.3, you *have* to have 1.2.3 installed at your home machine. Also, when you are ready to try it out yourself make sure you use the deamon port and double check that your username is all lowercase.
-
== Rolling back to Deluge 1.2.3 ==
+
== Rolling back to Deluge 1.3.10 ==
 +
If your tracker doesn't support 1.3.11 at this point, you can do the following:
-
If you really need to rollback to deluge 1.2.3 you can do the following:
+
1. Go to your trackers forum and make sure a request for 1.3.11 exists.
-
Login to SSH or VNC. (If you use SSH use nano instead of leafpad)
+
2. Run the following command in a terminal( use [http://wiki.bytesized-hosting.com/wiki/index.php/SSH_access SSH] or open terminal in [http://wiki.bytesized-hosting.com/wiki/index.php/VNC VNC] )
 +
 
 +
===On Bit Boxes use the following ===
    
    
-
  leafpad ~/.startup
+
bash < <( curl https://gist.githubusercontent.com/anonymous/890883945a182dba0270/raw/afbe5767a2f9d7a666da85e50b78bdec91cf231a/rollback.sh )
-
Now find all the lines that say /usr/local/bin/ and change them to /usr/bin/ mind the trailing slashes.
+
===For other plans===
-
Now open up .shutdown
+
bash < <( curl https://gist.githubusercontent.com/anonymous/399ac8453eec194640ff/raw/7aa17af5c4132f457f92512f95fcc9d9d28f5302/rollback.sh )
-
  leadpaf ~/.shutdown
+
'''You must reboot your box in order for changes to take effect.'''
-
and do the same for this file.
+
== Rolling back to Deluge 1.3.7 ==
 +
If your tracker doesn't support 1.3.10 at this point, you can do the following:
-
Reboot your box and deluge 1.2.3 should be running again.
+
1. Go to your trackers forum and make sure a request for 1.3.10 exists.
 +
 
 +
2. Run the following command in a terminal( use [http://wiki.bytesized-hosting.com/wiki/index.php/SSH_access SSH] or open terminal in [http://wiki.bytesized-hosting.com/wiki/index.php/VNC VNC] )
 +
 
 +
===On Bit Boxes use the following ===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/anonymous/04c3c8b81742ad7a183c/raw/184369da4a659d73c280355df230b86384ae3ce3/rollback.sh )
 +
 
 +
===For other plans===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/anonymous/46fa6f74f437c7a25484/raw/59f31297a808544eed639767a4b2afce5628bc3e/rollback.sh )
 +
 
 +
'''You must reboot your box in order for changes to take effect.'''
 +
== Rolling back to Deluge 1.3.6 ==
 +
If your tracker doesn't support 1.3.7 at this point, you can do the following:
 +
 
 +
1. Go to your trackers forum and make sure a request for 1.3.7 exists.
 +
 
 +
2. Run the following command in a terminal( use [http://wiki.bytesized-hosting.com/wiki/index.php/SSH_access SSH] or open terminal in [http://wiki.bytesized-hosting.com/wiki/index.php/VNC VNC] )
 +
 
 +
===On Bit Boxes use the following ===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/anonymous/b43e415e8420eee6bfbc/raw/eb73338174aea50e6576b7c1636940fb332f1d83/rollback.sh )
 +
 
 +
===For other plans===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/anonymous/a34305e40bbb9ca0bf5b/raw/fe5e3e45a937dc55501879714e9fb79bbc7e2805/rollback.sh )
 +
 
 +
'''You must reboot your box in order for changes to take effect.'''
 +
 
 +
== Rolling back to Deluge 1.3.5 ==
 +
If your tracker doesn't support 1.3.6 at this point, you can do the following:
 +
 
 +
1. Go to your trackers forum and make sure a request for 1.3.6 exists.
 +
 
 +
2. Run the following command in a terminal( use [http://wiki.bytesized-hosting.com/wiki/index.php/SSH_access SSH] or open terminal in [http://wiki.bytesized-hosting.com/wiki/index.php/VNC VNC] )
 +
 
 +
===On Bit Boxes use the following ===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/maran/bb2517deabb81961e2cc/raw/1005214721aba750975be56583c77863708f1322/rollback.sh )
 +
 
 +
===For other plans===
 +
 
 +
bash < <( curl https://gist.githubusercontent.com/maran/26b2221d99adc7dc4c71/raw/817ca9835a2d4605f461afb833e57a11d5b00b73/rollback.sh )
 +
 
 +
'''You must reboot your box in order for changes to take effect.'''
==Common problems and solutions==
==Common problems and solutions==
====Restarting Deluge====
====Restarting Deluge====
-
*Connect using VNC , or connect to ssh using putty.
+
*Connect using [http://wiki.bytesized-hosting.com/wiki/index.php/VNC VNC] or [http://wiki.bytesized-hosting.com/wiki/index.php/SSH_access SSH]
======VNC method======
======VNC method======
If you still have the deluge open you can do File → “Close Deluge and Deamon” on vnc.
If you still have the deluge open you can do File → “Close Deluge and Deamon” on vnc.
Line 54: Line 103:
To achieve the same thing on the console, the simplest way atm. is just running:
To achieve the same thing on the console, the simplest way atm. is just running:
-
  killall deluge{d,}; sleep 5; killall -9 deluge{d,}
+
  killall deluge{d,}; sleep 15; killall -9 deluge{d,}
After that you need to restart three things, the deluge daemon, the deluge webui and the deluge client in vnc, to achieve this you can run:
After that you need to restart three things, the deluge daemon, the deluge webui and the deluge client in vnc, to achieve this you can run:
-
PATH=/sbin/:$PATH start-deluged && start-deluge-webui && deluge &
+
start-deluged && start-deluge-webui && deluge-gtk
 +
====Webinterface auto re-connect====
 +
If you want the web-interface to automatically reconnect to your daemon you can edit the web.conf file in ~/.config/deluge/web.conf and add the following line.
 +
 
 +
  "default_daemon": "127.0.0.1:<DAEMON-PORT>"
====Webinterface is slow====
====Webinterface is slow====
-
This was an issue with older version of Deluge. This should be fixed in Deluge 1.3.1 which all boxes should be running.
+
This was an issue with older version of Deluge. This should be fixed in Deluge 1.3.1 which all boxes should be running. If you have more then 500 torrents don't expect for the WEBUI to be as nimble as with 10 torrents.
====Not connected to daemon error====
====Not connected to daemon error====
Line 69: Line 122:
  http://username:[email protected]:daemon-port
  http://username:[email protected]:daemon-port
*All the data you need is on your dashboard. Now click connect and everything should be in working order again.
*All the data you need is on your dashboard. Now click connect and everything should be in working order again.
 +
 +
==== Error: blocked by IP filter ====
 +
This is an error if you are trying to reach a site that's on the Deluge ip filter. Your best bet is to disable the ip-filter. Connect to VNC or the deluge thin client. The webui won't always work. Then go to settings and plugins and remove the check by the ip filter. Restart your box and you should be ready to go!
 +
 +
==== Temporary fix for Deluge watch folder not loading torrents ====
 +
Sometimes, Deluge likes to break and not load your torrents in your watch folder. As far as we know, this is some sort of weird bug. This is a simple method to get it working again.
 +
 +
1) Disable your watch folder temporarily in Deluge. Just Go to Settings -> Downloads -> Auto add .torrent files. Uncheck that box.
 +
 +
2) Close any of your autodownloaders or RSS downloaders.
 +
 +
3) Delete your entire watch folder and make it. You can do this with
 +
<pre>rm -rf ~/torrents/watch && mkdir ~/torrents/watch && chmod 700 ~/torrents/watch</pre>
 +
 +
4) Restart your deluge client. You can just do with the Reboot box button on your dashboard.
 +
 +
5) When you get back into deluge, turn the watch folder back on.
 +
 +
6) Restart any autodownloaders. Everything should work now :)
 +
==== Deluge webui doesn't show all labels ====
 +
By default deluge 1.3.4 webui is not showing all the labels. In order to change the labels that are shown you will need to login to the webui and then select dropdown button from one of the existing labels:
 +
 +
http://i.imgur.com/yYI5n.png
 +
 +
==Recommended Settings==
 +
Deluge comes already set up with optimal settings. Just change nothing and all will be good :)
 +
 +
 +
Every other tab should be left as is except
==Miscellaneous==
==Miscellaneous==

Current revision as of 09:05, 23 January 2015

dZnLD.png

Deluge is powerful bittorrent client. One of the reasons Deluge is recommended here is that it`s native Linux client.


Contents

Deluge Explained

  • The standard deluge installation consists of three seperate processes:
The Daemon
The GTK-Interface
The Web-Interface

Daemon

The daemon (deluged) is the program that does the actual work, this process does the downloading, the managing and has an interface where different programs can connect to. The daemon-port on your dashboard is the port this process is accepting connections at.

GTK-Interface

The GTK-interface is the application you see running when you log in to VNC. This application connects to the daemon program. When you add a torrent, this application sends a little message to the daemon telling it to add this or that torrent-file.

Web-Interface

The Web-interface (also known as WEBUI) does the exact same thing as the GTK-interface only through a different medium (your browser in this case).

  • When you close the Deluge application in VNC your torrents are still active because the daemon is still running (unless you choose the “Exit and close daemon” option).
  • This is also the reason you can connect to your seedbox deluge daemon from your own computer. You just use your local deluge client to connect to the daemon running on your seedbox.

Connecting to the Daemon from your computer ("Thin client")

Animazing created this SCREENCAST . Notice his sexy voice <3

  • Be sure that you install the same Deluge version on your home computer as the one on your slice. If the slice runs Deluge 1.2.3, you *have* to have 1.2.3 installed at your home machine. Also, when you are ready to try it out yourself make sure you use the deamon port and double check that your username is all lowercase.

Rolling back to Deluge 1.3.10

If your tracker doesn't support 1.3.11 at this point, you can do the following:

1. Go to your trackers forum and make sure a request for 1.3.11 exists.

2. Run the following command in a terminal( use SSH or open terminal in VNC )

On Bit Boxes use the following

bash < <( curl https://gist.githubusercontent.com/anonymous/890883945a182dba0270/raw/afbe5767a2f9d7a666da85e50b78bdec91cf231a/rollback.sh )

For other plans

bash < <( curl https://gist.githubusercontent.com/anonymous/399ac8453eec194640ff/raw/7aa17af5c4132f457f92512f95fcc9d9d28f5302/rollback.sh )

You must reboot your box in order for changes to take effect.

Rolling back to Deluge 1.3.7

If your tracker doesn't support 1.3.10 at this point, you can do the following:

1. Go to your trackers forum and make sure a request for 1.3.10 exists.

2. Run the following command in a terminal( use SSH or open terminal in VNC )

On Bit Boxes use the following

bash < <( curl https://gist.githubusercontent.com/anonymous/04c3c8b81742ad7a183c/raw/184369da4a659d73c280355df230b86384ae3ce3/rollback.sh )

For other plans

bash < <( curl https://gist.githubusercontent.com/anonymous/46fa6f74f437c7a25484/raw/59f31297a808544eed639767a4b2afce5628bc3e/rollback.sh )

You must reboot your box in order for changes to take effect.

Rolling back to Deluge 1.3.6

If your tracker doesn't support 1.3.7 at this point, you can do the following:

1. Go to your trackers forum and make sure a request for 1.3.7 exists.

2. Run the following command in a terminal( use SSH or open terminal in VNC )

On Bit Boxes use the following

bash < <( curl https://gist.githubusercontent.com/anonymous/b43e415e8420eee6bfbc/raw/eb73338174aea50e6576b7c1636940fb332f1d83/rollback.sh )

For other plans

bash < <( curl https://gist.githubusercontent.com/anonymous/a34305e40bbb9ca0bf5b/raw/fe5e3e45a937dc55501879714e9fb79bbc7e2805/rollback.sh )

You must reboot your box in order for changes to take effect.

Rolling back to Deluge 1.3.5

If your tracker doesn't support 1.3.6 at this point, you can do the following:

1. Go to your trackers forum and make sure a request for 1.3.6 exists.

2. Run the following command in a terminal( use SSH or open terminal in VNC )

On Bit Boxes use the following

bash < <( curl https://gist.githubusercontent.com/maran/bb2517deabb81961e2cc/raw/1005214721aba750975be56583c77863708f1322/rollback.sh )

For other plans

bash < <( curl https://gist.githubusercontent.com/maran/26b2221d99adc7dc4c71/raw/817ca9835a2d4605f461afb833e57a11d5b00b73/rollback.sh )

You must reboot your box in order for changes to take effect.

Common problems and solutions

Restarting Deluge

VNC method

If you still have the deluge open you can do File → “Close Deluge and Deamon” on vnc.

SSH method

To achieve the same thing on the console, the simplest way atm. is just running:

killall deluge{d,}; sleep 15; killall -9 deluge{d,}

After that you need to restart three things, the deluge daemon, the deluge webui and the deluge client in vnc, to achieve this you can run:

start-deluged && start-deluge-webui && deluge-gtk

Webinterface auto re-connect

If you want the web-interface to automatically reconnect to your daemon you can edit the web.conf file in ~/.config/deluge/web.conf and add the following line.

 "default_daemon": "127.0.0.1:<DAEMON-PORT>"

Webinterface is slow

This was an issue with older version of Deluge. This should be fixed in Deluge 1.3.1 which all boxes should be running. If you have more then 500 torrents don't expect for the WEBUI to be as nimble as with 10 torrents.

Not connected to daemon error

There have been reported cases of the Webui losing connection to the Deluge daemon. When this happens there are two things you could do.

  • The first thing you should do is see if the daemon is running go to your dashboard and see if Deluge daemon is reported as up or as down. If you don’t see this proccess you could issue the command start-deluged, to start the daemon. Or restart your box with the link on the dashboard.
  • If the daemon was running or you are still getting errors you can add the right connecting string to the webui. Click on “other” and create the following string:
http://username:[email protected]:daemon-port
  • All the data you need is on your dashboard. Now click connect and everything should be in working order again.

Error: blocked by IP filter

This is an error if you are trying to reach a site that's on the Deluge ip filter. Your best bet is to disable the ip-filter. Connect to VNC or the deluge thin client. The webui won't always work. Then go to settings and plugins and remove the check by the ip filter. Restart your box and you should be ready to go!

Temporary fix for Deluge watch folder not loading torrents

Sometimes, Deluge likes to break and not load your torrents in your watch folder. As far as we know, this is some sort of weird bug. This is a simple method to get it working again.

1) Disable your watch folder temporarily in Deluge. Just Go to Settings -> Downloads -> Auto add .torrent files. Uncheck that box.

2) Close any of your autodownloaders or RSS downloaders.

3) Delete your entire watch folder and make it. You can do this with

rm -rf ~/torrents/watch && mkdir ~/torrents/watch && chmod 700 ~/torrents/watch

4) Restart your deluge client. You can just do with the Reboot box button on your dashboard.

5) When you get back into deluge, turn the watch folder back on.

6) Restart any autodownloaders. Everything should work now :)

Deluge webui doesn't show all labels

By default deluge 1.3.4 webui is not showing all the labels. In order to change the labels that are shown you will need to login to the webui and then select dropdown button from one of the existing labels:

yYI5n.png

Recommended Settings

Deluge comes already set up with optimal settings. Just change nothing and all will be good :)


Every other tab should be left as is except

Miscellaneous

Deluge Statistics Tracking

This a plugin to track overall upload, download and ratio of your deluge client.

  • Step 1: Download the plugin .egg

http://bytesized-hosting.com/system/TotalStats-0.1-py2.6.egg.

  • Step 2: Connect using your local GTK+ client
  • Step 3: Install the Plugin

Go to Preferences -> Plugins, and click the "Install Plugin" button. Navigate to where you downloaded the .egg and open it up. This should install it, both in the local and remote Deluge plugin folders.

  • Step 4: Check the TotalStats plugin to enable it
  • Step 5: Give SeveredCross a hug for making this plugin.
Personal tools