Open intelfx opened 2 years ago
I have had the same issue, multiple times, on a raspberry pi. Not only torrents, but the configuration/settings were lost too. This is really frustrating, because I had several categories set up, and now I have to add the torrents one-by-one, by hand a redo the categories.
Hello, Same issue mentioned by @MarkMan0 has been observed on my Freebsd server.
When sending SIGTERM the configuration is overwritten.
My (dirty) Workaround : editing the /usr/local/etc/rc.d/qbittorrent
to send another signal that is not handled by Qbittorrent.
#!/bin/sh
<...>
# custom stop since SIGTERM overwrite config file to default (BUG??)
sig_stop="SIGKILL"
stop_precmd="cp -v ${qbittorrent_conf_dir}/qBittorrent/config/qBittorrent.conf ${qbittorrent_conf_dir}/qBittorrent/config/qBittorrent.conf.bak "
stop_postcmd="echo Kill the process $name"
<...>
run_rc_command $1
$ freebsd-version
13.3-RELEASE
$pkg info qbittorrent-nox
qbittorrent-nox-4.6.4
Name : qbittorrent-nox
Version : 4.6.4
Installed on : Sun Apr 14 15:33:24 2024 CEST
Origin : net-p2p/qbittorrent
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : net-p2p
Licenses : GPLv2+
Maintainer : yuri@FreeBSD.org
WWW : https://www.qbittorrent.org/
Comment : Bittorrent client using Qt6 and libtorrent-rasterbar (web UI version)
Options :
DEBUG : off
LIBTORRENT1 : on
LIBTORRENT2 : off
PYTHON : on
Shared Libs required:
libtorrent-rasterbar.so.10
libQt6Xml.so.6
libQt6Sql.so.6
libQt6Network.so.6
libQt6Core.so.6
Annotations :
FreeBSD_version: 1302001
build_timestamp: 2024-04-08T18:42:29+0000
built_by : poudriere-git-3.4.1-1-g1e9f97d6
cpe : cpe:2.3:a:qbittorrent:qbittorrent:4.6.4:::::freebsd13:x64
flavor : nox
port_checkout_unclean: no
port_git_hash : 17691ed79fc
ports_top_checkout_unclean: no
ports_top_git_hash: 29620930d47
repo_type : binary
repository : FreeBSD
qBittorrent & operating system versions
Operating system: Arch Linux x64 qBittorrent: 4.4.0-2 Qt: 6.2.3-4 libtorrent-rasterbar: 2.0.5-1
What is the problem?
qBittorrent was installed from
qbittorrent-nox
package to run in headless mode. After initial configuration, adding a torrent, downloading it and restarting the service via systemd (meaning a SIGTERM) the torrent is gone from the Web UI.Steps to reproduce
No response
Additional context
No response
Log(s) & preferences file(s)
Log (
.local/share/qBittorrent/logs/qbittorrent.log
) excerpt:Contents of
BT_backup
directory: