I did a fresh install of Ubuntu server 22.04
Everything seems to be working fine.
Deluged and webgui function correctly. I add a torrent and it starts downloading like expected.
No problems there. Except when I reboot the system while it's downloading.
After that the webgui still functions normally. No errors. But it won't resume downloading for some odd reason.
Another odd thing I noticed is that all the other peers it finds have exactly the same % of that file.
For example I rebooted the system while torrent X was at 74% after reboot all peers are also stuck @ 74%
Which is false, I verified that using Deluge client on Windows those torrent X have enough seeders
Anyone experienced this before?
I can reproduce this issue time and time again.
Can download the entire file as long as I don't reboot the system.
If i reboot the system while Deluge is busy with downloading a file it won't continue after reboot.
[Linux] Deluge won't resume downloads after reboot
Re: [Linux] Deluge won't resume downloads after reboot
Are you using a systemd service for deluged?
I just tested this here on my linux system, granted not ubuntu, but I see somewhat same, in that if not using systemd and reboot mid-download, then after starting then the download is "stuck" - here it though lists 100% finished but in pause, and if resuming then still lists 100% finished and seeding but that is false - after a recheck and it starts downloading correctly where left off.
Using systemd services and rebooting mid-download resumes perfectly after restarting here.
Follow the guide if not done already, here: https://deluge.readthedocs.io/en/latest ... rvice.html
I just tested this here on my linux system, granted not ubuntu, but I see somewhat same, in that if not using systemd and reboot mid-download, then after starting then the download is "stuck" - here it though lists 100% finished but in pause, and if resuming then still lists 100% finished and seeding but that is false - after a recheck and it starts downloading correctly where left off.
Using systemd services and rebooting mid-download resumes perfectly after restarting here.
Follow the guide if not done already, here: https://deluge.readthedocs.io/en/latest ... rvice.html
Re: [Linux] Deluge won't resume downloads after reboot
I used a older guide for creating the systemd config.
Mine looks as following:
The newer link you posted contains a different user & group approach
a separate file in /etc/systemd/system/deluged.service.d/user.conf
I updated mine systemd service config just now following the official guide by creating a separate user file
Rebooted the system and the torrents in download continue. Seems to have fixed it!
Thanks for pointing me in the right direction
Mine looks as following:
Code: Select all
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target mnt-storage.mount
[Service]
Type=simple
User=MYUSERNAME
Group=MYUSERNAME
UMask=007
ExecStart=/usr/bin/deluged -d
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
The newer link you posted contains a different user & group approach
a separate file in /etc/systemd/system/deluged.service.d/user.conf
I updated mine systemd service config just now following the official guide by creating a separate user file
Rebooted the system and the torrents in download continue. Seems to have fixed it!
Thanks for pointing me in the right direction