2022-02-21
Install instructions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | sudo apt-get install deluged deluge-console # don't start at boot sudo systemctl stop deluged sudo systemctl disable deluged # now, as the desired user, create cfg files deluged && pkill deluged # add a new full user to deluge (10 = max level) echo "name:password:10" >> .config/deluge/auth deluge-console "config -s allow_remote True" # enable thin clients pkill deluged && deluged # restart daemon # install the web ui sudo apt-get install deluge-web deluge-web --fork firefox http://localhost:8112/ # password: deluge # on another host sudo apt-get install deluge-gtk deluge-gtk # use thin client mode, then configure connection manager |
Setup an IP blocklist thanks to johntyree's quora question, useful gist and the resulting big list build by concatenating all files from bluetack in iblocklist.com.
You can use the attached deluge_manager.rb
script to auto stop seeding and sort torrents by number of seeds/peers.
You can also use the Transdrone (aka Transdroid) Android app to remotely manage deluge.
Note: Since libtorrent >= 0.16
you cannot anymore set a dl/ul speed limit because it is all very well auto managed by the µTP protocol enabled by default.
You can disable it by installing the ltconfig
plugin and setting:
1 2 | enable_outgoing_utp = false enable_incoming_utp = false |
but it is better to keep it enabled. You can also disable TCP and let µTP do all the work by setting:
1 2 3 4 | enable_outgoing_utp = true enable_incoming_utp = true enable_outgoing_tcp = false enable_incoming_tcp = false |
On a low end system like a raspberry pi using an sdcard you can reduce disk I/O for the fastresume and state files:
1 2 3 | # change default 200s timers to 4h sudo sed -ri 's/( +self\.save_.+_timer.start)\([0-9]+/\1(60*60*4/' \ /usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py |
Fix deluge v2 log error in debian bullseye
1 2 3 4 5 6 | # deluged [CRITICAL][twisted :154 ] Unhandled error in Deferred: # Unhandled error in Deferred: -- https://forum.deluge-torrent.org/viewtopic.php?t=55874 # https://git.deluge-torrent.org/deluge/commit/?h=develop&id=351664ec071daa04161577c6a1c949ed0f2c3206 sudo sed -i \ 's:def findCaller(self, stack_info=False):def findCaller(self, *args, **kwargs):' \ /usr/lib/python3/dist-packages/deluge/log.py |
Source: Deluge HP and HP guide, HowtoGeek, tuttodinternet, kamilslab