Deluge

Please make yourself aware of the Ultra.cc Fair Usage Policy. Directly pointing any cloud storage directory using Rclone will create extreme strain on your slot's disk and WILL cause a 24-hour ban on accessing your cloud storage repeatedly. It is YOUR responsibility to ensure usage is within acceptable limits. Ignorance is not an excuse.

If you are on an HDD plan, you should be mindful not to have multiple simultaneous downloads active as it will cause high disk IO utilization, and negatively affect your disk neighbors. There is no set limit on how many active downloads you can have, though depending on the download speeds, we recommend 1-3 at the most. To monitor the disk IO utilization, see this link: https://docs.ultra.cc/link/235#bkmrk-how-to-check-high-di

Deluge is a full-featured BitTorrent application written in Python 2. It has a variety of features, including but not limited to:

When the server daemon is running, users can connect to it via a console client, a GTK-based GUI, or a Web-based UI. A complete list of features can be viewed here.

Deluge is already configured and tuned out of the box. Once logged in for the first time, there will be a text box asking you if you want to change the default password, which you set in UCP. Click No.

Then, the Connection Manager settings will appear. Just click the host in the box and click Connect. After that, you are now logged into Deluge's Web UI.

We recommend that your Deluge password consists of LETTERS and NUMBERS only. This is particularly useful when you're using deluge-console injection for autodl-irssi.

Default File Paths

Upgrade Deluge V1 to V2

To successfully upgrade your Deluge instance from v1 to v2, we recommend that you follow the below instructions to preserve your Deluge data directory and torrent session state.

Due to the nature of how our infrastructure installs and uninstalls Deluge preserving its data directory for an already installed instance, and Deluge version 2 plugins being incompatible with Deluge version 1 plugins, it is recommended to follow these steps to manually upgrade your Deluge to version 2 while also preserving your current Deluge's torrents state.

mv ~/.config/deluge ~/.config/deluge.BAK
cp -rv ~/.config/deluge.BAK/state/* ~/.config/deluge/state

In case you do opt to upgrade Deluge V1 to V2, please note the following:

How to Reset a Password for Deluge's Web UI

Should you need to change your Deluge's daemon password, you may need to reinstall your Deluge instance with your preferred password.

This section will show you how to reset your Deluge's Web UI password.

sed -i.bak "/pwd_sha1/d" ~/.config/deluge/web.conf

sed -i.bak "/pwd_salt/d" ~/.config/deluge/web.conf

Setting Up Deluge Thin Client

Please note that Deluge version 2.x does not have an official Thin Client at this time for Mac OSX

This section shows you how to install, configure, and connect your Deluge client to your slot's instance.

Deluge's Thin Client is a great way to manage your Deluge instance from your PC. It also gives you more customization to your Deluge instance, and some plug-ins, such as LabelPlus, do require that you need to have the thin client installed for you to access its settings.

Installation

Deluge Client version 1.x
    Windows - https://ftp.osuosl.org/pub/deluge/archive/1.3/deluge-1.3.15-win32-py2.7.exe
    MacOS - http://download.deluge-torrent.org/mac_osx/deluge-1.3.15.1-macosx-x64.dmg
    Linux - Refer to your distribution
Deluge Client version 2.x
    Windows - https://ftp.osuosl.org/pub/deluge/windows/deluge-2.1.1-win64-setup.exe
    MacOS - official version 2 client unavailable at this time
    Linux - Refer to your distribution

Please note: Thin Client version must match the version 1.x or version 2.x installed to your Ultra.cc Deluge instance for connection to be successful.

Setting up Deluge Client

Deluge Plugins

Please note that Deluge 2.X.X uses Python 3.7 egg files.

This section will teach you how to install Deluge plug-ins. Deluge plug-ins extend the functionality of what Deluge provides, giving you more ways to automate processes or simplifying tasks. Take note that you need to check what plug-in you download. Specifically:

Installing Plugins

Enable Public Torrent Seeding (Optional)

app-deluge restart --remove-pubscript

Torrent Queueing

If you have an Ultra.cc service with HDD instead of NVME, you need to be mindful of your disk neighbors and not hammer the disk with high IO utilization. See this guide for more information on how to check your disk IO utilization.

One way to mitigate this is to limit the amount of active downloads in your torrent client. Below you will find instructions on how to do this for Deluge.

As Deluge v1 only can handle up to 500 torrents before it becomes unstable, you would want to set the Total and Seeding to 500. Deluge v2 can handle somewhere between 1000-2000 torrents before it becomes unstable.

Troubleshooting Information

Why does Deluge keep crashing?

This is a typical characteristic of Deluge. It usually happens when downloading, where the client will prioritize torrent traffic over the WebUI. Deluge is aggressive and caches the information into the RAM. In turn, the Deluge WebUI loses connection, and the Daemon would appear offline.

It will come back/stabilize some minutes after the download is completed, and no action needs to be taken at that time.

If it's not coming back, a misconfigured plug-in may be interfering with Deluge. The usual case with this is ltconfig with high-performance seed pre-set engaged. This pre-set most likely crashes Deluge. We recommend using our default tunings first, as it is tuned specifically for our slots.

Why does the main IP of my slot and torrent clients appear different? Which IP should I report to trackers?

Our slot IPs are pooled to avoid clashing on trackers with a more extensive user database to help peers and seeders.

If you need to submit IP's, then you should use the IP's that are binding to the torrent clients.. You can obtain them by logging into Deluge and go to Settings -> Network -> Interface. Copy the IP from that field.


Revision #44
Created 8 November 2019 09:32:01
Updated 15 February 2024 14:21:20 by warp