mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-28 00:31:44 +00:00
Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
211074f609 | ||
|
|
58142a5053 | ||
|
|
ae28e1e759 | ||
|
|
0355dd534b | ||
|
|
ce01e657fe | ||
|
|
53109170ca | ||
|
|
9b9157092c | ||
|
|
12e141eacf |
No files matched your search
@@ -1,3 +1,5 @@
|
||||
## 5.2.0-17 (13-05-2026)
|
||||
- Remove lockfile due to upstream bug https://github.com/linuxserver/docker-qbittorrent/issues/434
|
||||
|
||||
## 5.2.0-2 (2026-05-10)
|
||||
- Fix startup loop on aarch64: drop s6-notifyoncheck wrapper so s6 supervises qbittorrent-nox directly (LSIO arm64 image has no notification-fd, causing EBADF restart loop)
|
||||
|
||||
@@ -143,4 +143,4 @@ schema:
|
||||
slug: qbittorrent
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "5.2.0-2"
|
||||
version: "5.2.0-17"
|
||||
@@ -5,7 +5,11 @@ mkdir -p /config/qBittorrent
|
||||
mkdir -p /config/wireguard
|
||||
mkdir -p /config/openvpn
|
||||
|
||||
MIGRATED=""
|
||||
MIGRATED=""x
|
||||
|
||||
if [ -f /config/qBittorrent/lockfile ]; then
|
||||
rm /config/qBittorrent/lockfile
|
||||
fi
|
||||
|
||||
# Move main folder
|
||||
if [ -f /homeassistant/addons_config/qBittorrent/qBittorrent.conf ] && [ ! -f /homeassistant/addons_config/qBittorrent/migrated ]; then
|
||||
|
||||
@@ -49,5 +49,6 @@ if [ -f /etc/s6-overlay/s6-rc.d/svc-qbittorrent/notification-fd ]; then
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
|
||||
s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" > "${QB_OUTPUT}"
|
||||
else
|
||||
sleep 10
|
||||
exec s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" > "${QB_OUTPUT}"
|
||||
fi
|
||||
@@ -152,7 +152,7 @@ _pnat_set_firewall() {
|
||||
# --- qBittorrent Specific Logic ---
|
||||
|
||||
_qbt_login() {
|
||||
config["SID"]=$(_cmd "curl -s -k -i --header \"Referer: ${config["Schema"]}://${config["Server"]}:${config["Port"]}\" --data \"username=${config["User"]}\" --data-urlencode \"password=${config["Pass"]}\" \"${config["Schema"]}://${config["Server"]}:${config["Port"]}/api/v2/auth/login\" | grep -oP '(?!set-cookie:.)SID=.*(?=\;.HttpOnly\;)'")
|
||||
config["SID"]=$(_cmd "curl -s -k -i --header \"Referer: ${config["Schema"]}://${config["Server"]}:${config["Port"]}\" --data \"username=${config["User"]}\" --data-urlencode \"password=${config["Pass"]}\" \"${config["Schema"]}://${config["Server"]}:${config["Port"]}/api/v2/auth/login\" | grep -oiP 'set-cookie:.*SID[^=]*=\K[^;]+'")
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user