I'm having a lot of difficulties getting Deluge to work. Let me summarize my environment with as much information as possible.
Code: Select all
$ deluged --version
deluged 2.0.5
libtorrent: 2.0.5.0
Python: 3.10.4
OS: Linux Arch Linux
$ deluge-web --version
deluge-web 2.0.5
... (same as above)
$ cat /usr/lib/systemd/system/deluged.service
[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target media-media.mount
[Service]
Type=simple
UMask=007
ExecStart=/usr/bin/deluged -d -L debug -c /srv/deluge/.config/deluge
Restart=on-failure
TimeoutStopSec=180
[Install]
WantedBy=multi-user.target
$ cat /usr/lib/systemd/system/deluge-web.service
[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service]
Type=simple
UMask=027
ExecStart=/usr/bin/deluge-web -d -L debug -c /srv/deluge/.config/deluge
Restart=on-failure
TimeoutStopSec=180
[Install]
WantedBy=multi-user.target
$ cat core.conf
{
"file": 1,
"format": 1
}{
"add_paused": false,
"allow_remote": false,
"auto_manage_prefer_seeds": false,
"auto_managed": true,
"cache_expiry": 60,
"cache_size": 512,
"copy_torrent_file": true,
"daemon_port": 58846,
"del_copy_torrent_file": false,
"dht": true,
"dont_count_slow_torrents": false,
"download_location": "/media/media/downloads",
"download_location_paths_list": [],
"enabled_plugins": [
"ltConfig"
],
"enc_in_policy": 1,
"enc_level": 2,
"enc_out_policy": 1,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"ignore_limits_on_local_network": true,
"info_sent": 0.0,
"listen_interface": "",
"listen_ports": [
6881,
6891
],
"listen_random_port": null,
"listen_reuse_port": true,
"listen_use_sys_port": false,
"lsd": true,
"max_active_downloading": 3,
"max_active_limit": 8,
"max_active_seeding": 5,
"max_connections_global": 200,
"max_connections_per_second": 20,
"max_connections_per_torrent": -1,
"max_download_speed": -1.0,
"max_download_speed_per_torrent": -1,
"max_half_open_connections": 50,
"max_upload_slots_global": 4,
"max_upload_slots_per_torrent": -1,
"max_upload_speed": -1.0,
"max_upload_speed_per_torrent": -1,
"move_completed": true,
"move_completed_path": "/media/media/movies",
"move_completed_paths_list": [],
"natpmp": false,
"new_release_check": true,
"outgoing_interface": "",
"outgoing_ports": [
0,
0
],
"path_chooser_accelerator_string": "Tab",
"path_chooser_auto_complete_enabled": true,
"path_chooser_max_popup_rows": 20,
"path_chooser_show_chooser_button_on_localhost": true,
"path_chooser_show_hidden_files": false,
"peer_tos": "0x00",
"plugins_location": "/srv/deluge/.config/deluge/plugins",
"pre_allocate_storage": false,
"prioritize_first_last_pieces": false,
"proxy": {
"anonymous_mode": false,
"force_proxy": false,
"hostname": "",
"password": "",
"port": 8080,
"proxy_hostnames": true,
"proxy_peer_connections": true,
"proxy_tracker_connections": true,
"type": 0,
"username": ""
},
"queue_new_to_top": false,
"random_outgoing_ports": true,
"random_port": false,
"rate_limit_ip_overhead": true,
"remove_seed_at_ratio": false,
"seed_time_limit": 180,
"seed_time_ratio_limit": 7.0,
"send_info": false,
"sequential_download": false,
"share_ratio_limit": 2.0,
"shared": false,
"stop_seed_at_ratio": false,
"stop_seed_ratio": 2.0,
"super_seeding": false,
"torrentfiles_location": "/media/media/torrent_files",
"upnp": true,
"utpex": true
}
$ cat web.conf
{
"file": 2,
"format": 1
}{
"base": "/",
"cert": "ssl/daemon.cert",
"default_daemon": "",
"enabled_plugins": [],
"first_login": false,
"https": false,
"interface": "0.0.0.0",
"language": "",
"pkey": "ssl/daemon.pkey",
"port": redacted,
"pwd_salt": "redacted",
"pwd_sha1": "redacted",
"session_timeout": 3600,
"sessions": {
"0f89b0178c6fdbb37f8a1a02b864e6f0c779d3b5031dbba3fc078825db3cbbe4": {
"expires": 1648879326.0,
"level": 10,
"login": "admin"
},
"10eca63f65dc09fd6dd0725580fc7224a8f2a1c57061ae5e01279dce36b3c8fe": {
"expires": 1648952453.0,
"level": 10,
"login": "admin"
},
"2710d57b513eb7ae61bc57cd925909f4571bdbfbd8b0dab322b0cae0dce630c6": {
"expires": 1648974181.0,
"level": 10,
"login": "admin"
},
"2991cb9784d3256e8622442d2512cdc468938edd2d8f544921b1f1d40c0cdf4b": {
"expires": 1648883602.0,
"level": 10,
"login": "admin"
},
"2ffa1a2fe837b8c4ac36ab46812253b6d0e6a7b8bbfb1586897eb3c3e82db51a": {
"expires": 1648924224.0,
"level": 10,
"login": "admin"
},
"94b0468fd6d7dd1d94d8d344da7dd5f12ed4644619f887ecd5d16fb9dba6d463": {
"expires": 1648884123.0,
"level": 10,
"login": "admin"
},
"c9528592f319e0f6d71d978c4a476412f1b32f64e9ee17872c8fe3e2fb5d5f9b": {
"expires": 1648947846.0,
"level": 10,
"login": "admin"
}
},
"show_session_speed": false,
"show_sidebar": true,
"sidebar_multiple_filters": true,
"sidebar_show_zero": false,
"theme": "gray"
}
$ sudo ufw status
Status: active
To Action From
-- ------ ----
Deluge ALLOW Anywhere
Deluge (v6) ALLOW Anywhere (v6)
- I have confirmed that the systemd units I'm working with are indeed those at the above paths.
- I am running these systemd units from root.
- As you can see above, I have confirmed that the incoming port is not random, and it is open in ufw.
- I have confirmed that the incoming port is forwarded on both tcp and udp to my server.
- I have tried 6 different torrents from different sites, and I have confirmed that I can download at least one of those torrents easily on a separate computer.
- I'm used deluged and deluge-web, no GUI.
- If I drop in a half finished torrent, it seeds, but doesn't download. Really weird.
- I have ltConfig installed and I've set it to libtorrent defaults and have also enabled announce_to_all_tiers and announce_to_all_trackers.
- I have tried reinstalling deluged, it didn't help.
With all of this information combined, I'm really not sure what's wrong. Any help would be much appreciated.
Thanks!