-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All torrents redownload or recheck on reboot #15381
Comments
I get such behaviour in previous setup so just want to add the hypothesis: is the filesystem ready (available) when QBT start? Testing is easy: start the program /unit manually after the reboot prior first browsing the files to confirm they are reachable. |
It looks like It looks like |
The problem that occurs lately again is that it takes qB too long to quit completely. If you reboot your system in that time and qB has not closed completely then you are heading into OP's hell. Always check in task manager if qB closed completely before doing reboots. |
I faced the same annoying issue long time ago (~2018) when I had even only about 300 torrents on my server (now there are ~2000 torrents, and 50-100 are active in any point of time). yes, this is related to I'm using qbittorrent-nox on Linux (more than 2 years on Debian unstable yet, previously on Ubuntu and Arch), I solved this issue just by creating simple bash script which waits for qBittorrent clean exit, set this script as the script I use is below: #!/bin/bash
exe_name="qbittorrent-nox"
kill -s SIGINT $(pgrep ${exe_name})
while (pgrep ${exe_name} > /dev/null)
do
sleep 2
done I don't know what TrueNAS is, but I'm almost sure that in uses some kind of Linux or at least Unix-like system, so the only one thing that must be done to overcome this issue is just to find what and how launches apps/daemons (i.e. systemd on many Linux systems) and the way to customize this process (i.e. add script to wait for completion). |
TrueNAS is based on FreeBSD. I'll try this out thanks. |
The default was 90s[1], prolong to 30 mins. From the discussion in [2], ~2k torrents took 5 mins to completely shutdown. Here we wait at most 30 mins which scales to about 12k torrents which should cover most use case (also note that 4.3.x series is mentioned to have even shorter shutdown time). [1] https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html#DefaultTimeoutStartSec= [2] qbittorrent#15381 (comment)
The default was 90s[1], prolong to 30 mins. From the discussion in [2], ~2k torrents took 5 mins to completely shutdown. Here we wait at most 30 mins which scales to about 12k torrents which should cover most use case (also note that 4.3.x series is mentioned to have even shorter shutdown time). [1] https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html#DefaultTimeoutStartSec= [2] #15381 (comment) PR #15414.
Running v4.3.7 on TrueNAS in a jail. When I reboot my system all of my torrents are either checking or redownloading and some of them are using the default download location not the one I set in the config. It's like it forgets where the files are.
The text was updated successfully, but these errors were encountered: