Deluge
From Bytesized Wiki
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.3
If your tracker doesn't support 1.3.4 at this point you can do the following.
1. Go to your trackers forum and make sure a request for 1.3.4 in
2. Run the following command in a terminal
bash < <( curl https://raw.github.com/gist/2008284/95bf22e63c571b584214612ba3bc798817693fc4/rollback.sh )
You must reboot your box in order for changes to take effect.
Rolling back to Deluge 1.3.2
If your tracker doesn't support 1.3.3 at this point you can do the following.
1. Go to your trackers forum and make sure a request for 1.3.3 in
2. Run the following command in a terminal
bash < <( curl https://raw.github.com/gist/1186404/b9dfb14076acdf0772a4a5ec0d22d8faf49f346b/rollback.sh )
You must reboot your box in order for changes to take effect.
Rolling back to Deluge 1.3.1
If your tracker doesn't support 1.3.2 at this point you can do the following.
1. Go to your trackers forum and make sure a request for 1.3.2/1.3.3 in
2. Run the following command in a terminal
bash < <( curl https://raw.github.com/gist/1010810/86020bfc730f70dca67fc2c4bd5340aa6c288d26 )
You must reboot your box in order for changes to take effect.
Rolling back to Deluge 1.2.3
This only works on the old .lu servers. Not the newer ones.
If you really need to rollback to deluge 1.2.3 you can do the following:
Login to SSH or VNC. (If you use SSH use nano instead of leafpad)
leafpad ~/.startup
Now find all the lines that say /usr/local/bin/ and change them to /usr/bin/ mind the trailing slashes.
Now open up .shutdown
leadpaf ~/.shutdown
and do the same for this file.
Reboot your box and deluge 1.2.3 should be running again.
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 5; 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:
PATH=/sbin/:$PATH start-deluged && start-deluge-webui && deluge &
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:application-password@localhost: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:
Recommended Settings
Deluge comes already set up, but in case you change your settings and need to revert back here are the recommended settings
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.
