Is there an existing issue for this?
Current Behavior
On 5.2.0 - 5.2.3 enabling Run external program (Run on torrent added) will crash the WebUI when this command is run.
This issue is not present on 5.1.4.
Expected Behavior
Run external program (Run on torrent added) not crashing on 5.2.X.
Steps To Reproduce
- Create clean container with with tag :5.2.X
- Login to WebUI
- Settings - enable Run on torrent added and add legitimate command like (
curl -s -X POST --data-urlencode "hashes=%K" "http://127.0.0.1:8888/api/v2/torrents/toggleSequentialDownload" "http://127.0.0.1:8888/api/v2/torrents/toggleFirstLastPiecePrio" or just for testing echo test or touch /config/test)
- Add any torrent
- Crash - WebUI is no longer responding, docker container log does not produce any new output
Environment
- OS: Debian 13.6
- How docker service was installed: APT - docker.io package (26.1.5+dfsg1-9+b13 amd64)
CPU architecture
x86-64
Docker creation
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:5.2.3
container_name: qbittorrent
#user: "999:996" # root / rootless does not make difference
volumes:
- "./config-tst:/config"
#- "./down:/downloads"
environment:
- "TZ=Europe/Prague"
- "PUID=999"
- "PGID=996"
- "WEBUI_PORT=8888"
- "TORRENTING_PORT=60944"
ports:
- 60944:60944/tcp
- 60944:60944/udp
- 8888:8888
labels:
- "diun.enable=true"
restart: unless-stopped
networks:
docket_net_p2p:
ipv4_address: X.X.X.X
stop_grace_period: 65s
mem_limit: 2g
cpus: 2
healthcheck:
test: curl --fail http://127.0.0.1:$${WEBUI_PORT}/ || exit 1
interval: 90s
retries: 5
start_period: 5s
timeout: 15s
logging:
driver: json-file
options:
max-size: "50m"
max-file: "5"
networks:
docket_net_p2p:
external: true
Container logs
qbittorrent | [migrations] started
qbittorrent | [migrations] no migrations found
qbittorrent | usermod: no changes
qbittorrent | ───────────────────────────────────────
qbittorrent |
qbittorrent | ██╗ ███████╗██╗ ██████╗
qbittorrent | ██║ ██╔════╝██║██╔═══██╗
qbittorrent | ██║ ███████╗██║██║ ██║
qbittorrent | ██║ ╚════██║██║██║ ██║
qbittorrent | ███████╗███████║██║╚██████╔╝
qbittorrent | ╚══════╝╚══════╝╚═╝ ╚═════╝
qbittorrent |
qbittorrent | Brought to you by linuxserver.io
qbittorrent | ───────────────────────────────────────
qbittorrent |
qbittorrent | To support LSIO projects visit:
qbittorrent | https://www.linuxserver.io/donate/
qbittorrent |
qbittorrent | ───────────────────────────────────────
qbittorrent | GID/UID
qbittorrent | ───────────────────────────────────────
qbittorrent |
qbittorrent | User UID: 999
qbittorrent | User GID: 996
qbittorrent | ───────────────────────────────────────
qbittorrent | Linuxserver.io version: 5.2.3_v2.0.13-ls469
qbittorrent | Build-date: 2026-07-19T09:01:18+00:00
qbittorrent | ───────────────────────────────────────
qbittorrent |
qbittorrent | [custom-init] No custom files found, skipping...
qbittorrent | WebUI will be started shortly after internal preparations. Please wait...
qbittorrent |
qbittorrent | ******** Information ********
qbittorrent | To control qBittorrent, access the WebUI at: http://localhost:8888
qbittorrent | The WebUI administrator username is: admin
qbittorrent | The WebUI administrator password was not set. A temporary password is provided for this session: Q6t83nYnB
qbittorrent | You should set your own password in program preferences.
qbittorrent | Connection to localhost (::1) 8888 port [tcp/*] succeeded!
qbittorrent | [ls.io-init] done.
Is there an existing issue for this?
Current Behavior
On 5.2.0 - 5.2.3 enabling Run external program (Run on torrent added) will crash the WebUI when this command is run.
This issue is not present on 5.1.4.
Expected Behavior
Run external program (Run on torrent added) not crashing on 5.2.X.
Steps To Reproduce
curl -s -X POST --data-urlencode "hashes=%K" "http://127.0.0.1:8888/api/v2/torrents/toggleSequentialDownload" "http://127.0.0.1:8888/api/v2/torrents/toggleFirstLastPiecePrio"or just for testingecho testortouch /config/test)Environment
CPU architecture
x86-64
Docker creation
services: qbittorrent: image: lscr.io/linuxserver/qbittorrent:5.2.3 container_name: qbittorrent #user: "999:996" # root / rootless does not make difference volumes: - "./config-tst:/config" #- "./down:/downloads" environment: - "TZ=Europe/Prague" - "PUID=999" - "PGID=996" - "WEBUI_PORT=8888" - "TORRENTING_PORT=60944" ports: - 60944:60944/tcp - 60944:60944/udp - 8888:8888 labels: - "diun.enable=true" restart: unless-stopped networks: docket_net_p2p: ipv4_address: X.X.X.X stop_grace_period: 65s mem_limit: 2g cpus: 2 healthcheck: test: curl --fail http://127.0.0.1:$${WEBUI_PORT}/ || exit 1 interval: 90s retries: 5 start_period: 5s timeout: 15s logging: driver: json-file options: max-size: "50m" max-file: "5" networks: docket_net_p2p: external: trueContainer logs