qBittorrent stuck on deploying if https

ajp_anton

Dabbler
Joined
Mar 6, 2017
Messages
11
qBittorrent works fine out of the box, and all other settings work fine. However when I try to activate https on the WebUI, it breaks.

I followed this guide:
Specifically, I ran the command
Code:
openssl req -new -x509 -nodes -out server.crt -keyout server.key

just entering through the process to use the defaults. Then entering the path to these files in the qBt settings.

Note: it doesn't break yet. Saving this and changing the URL to https works fine (will have to accept the self-signage in the browser). However as soon as I stop and restart the app within TrueNAS, it will get stuck on "deploying" indefinitely. This happens if and only if the https setting is activated.

Here's the log from the app:
Code:
2023-07-21 14:37:27.428449+00:00  QFile::at: Cannot set file position 0
2023-07-21 14:37:27.428654+00:00  (N) 2023-07-21T16:37:27 - qBittorrent v4.5.4 started
2023-07-21 14:37:27.428702+00:00  (N) 2023-07-21T16:37:27 - Using config directory: /config/qBittorrent
2023-07-21 14:37:27.428710+00:00  WebUI will be started shortly after internal preparations. Please wait...
2023-07-21 14:37:27.428849+00:00  (N) 2023-07-21T16:37:27 - Trying to listen on the following list of IP addresses: "0.0.0.0:50413,[::]:50413"
2023-07-21 14:37:27.447666+00:00  (I) 2023-07-21T16:37:27 - Peer ID: "-qB4540-"
2023-07-21 14:37:27.447685+00:00  (I) 2023-07-21T16:37:27 - HTTP User-Agent: "qBittorrent/4.5.4"
2023-07-21 14:37:27.447691+00:00  (I) 2023-07-21T16:37:27 - Distributed Hash Table (DHT) support: ON
2023-07-21 14:37:27.447710+00:00  (I) 2023-07-21T16:37:27 - Local Peer Discovery support: OFF
2023-07-21 14:37:27.447716+00:00  (I) 2023-07-21T16:37:27 - Peer Exchange (PeX) support: ON
2023-07-21 14:37:27.447726+00:00  (I) 2023-07-21T16:37:27 - Anonymous mode: OFF
2023-07-21 14:37:27.447732+00:00  (I) 2023-07-21T16:37:27 - Encryption support: ON
2023-07-21 14:37:27.448194+00:00  (I) 2023-07-21T16:37:27 - UPnP/NAT-PMP support: ON
2023-07-21 14:37:27.448806+00:00  (I) 2023-07-21T16:37:27 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/50413"
2023-07-21 14:37:27.448818+00:00  (I) 2023-07-21T16:37:27 - Successfully listening on IP. IP: "127.0.0.1". Port: "UDP/50413"
2023-07-21 14:37:27.448843+00:00  (I) 2023-07-21T16:37:27 - Successfully listening on IP. IP: "172.16.0.97". Port: "TCP/50413"
2023-07-21 14:37:27.448876+00:00  (I) 2023-07-21T16:37:27 - Successfully listening on IP. IP: "172.16.0.97". Port: "UDP/50413"
2023-07-21 14:37:27.450834+00:00  (I) 2023-07-21T16:37:27 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Sat Jul 1 10:07:53 2023.
2023-07-21 14:37:27.451473+00:00  (N) 2023-07-21T16:37:27 - Using built-in Web UI.
2023-07-21 14:37:27.451496+00:00  (N) 2023-07-21T16:37:27 - Web UI translation for selected locale (en) has been successfully loaded.
2023-07-21 14:37:27.453441+00:00  (N) 2023-07-21T16:37:27 - Web UI: HTTPS setup successful
2023-07-21 14:37:27.453535+00:00  (N) 2023-07-21T16:37:27 - Web UI: Now listening on IP: *, port: 8080
2023-07-21 14:37:27.550270+00:00  (I) 2023-07-21T16:37:27 - Detected external IP. IP: "[here's my public IP]"
2023-07-21 14:38:28.547551+00:00  Catching signal: SIGTERM
2023-07-21 14:38:28.547627+00:00  Exiting cleanly
2023-07-21 14:38:28.547553+00:00  (N) 2023-07-21T16:38:28 - qBittorrent termination initiated
2023-07-21 14:38:28.558041+00:00  (I) 2023-07-21T16:38:28 - UPnP/NAT-PMP support: OFF
2023-07-21 14:38:29.040598+00:00  (N) 2023-07-21T16:38:29 - qBittorrent is now ready to exit
2023-07-21 14:38:29.041836+00:00  2023-07-21T14:38:29.041836772Z
2023-07-21 14:38:29.041859+00:00  ******** Information ********
2023-07-21 14:38:29.041867+00:00  To control qBittorrent, access the WebUI at: https://localhost:8080
2023-07-21 14:38:29.041884+00:00  2023-07-21T14:38:29.041884713Z
 

efalsken

Cadet
Joined
Feb 17, 2023
Messages
8
You're not crazy. I've reinstalled qbittorrent 3 times now from scratch and I get to the exact same spot and problem. Useless too since I can't register it as a default magnet handler without https.
 

efalsken

Cadet
Joined
Feb 17, 2023
Messages
8
Oh, after much delay, I'm pretty sure what it was doing was resetting the permissions on every file in my app data share. It took most of the day. I deleted the app and won't touch it again. Apps should never do anything potentially-destructive automatically without a visible option or notification. qBittorrent from TrueCharts community does not do this automatically, although there is an option to enable this behavior.
 

sirpawel

Cadet
Joined
Oct 9, 2017
Messages
2
Oh, after much delay, I'm pretty sure what it was doing was resetting the permissions on every file in my app data share. It took most of the day. I deleted the app and won't touch it again. Apps should never do anything potentially-destructive automatically without a visible option or notification. qBittorrent from TrueCharts community does not do this automatically, although there is an option to enable this behavior.
Strip ACL and then what kind of permissions. My tries unfortunately had no effect.
 

TCWL

Dabbler
Joined
Dec 23, 2023
Messages
11
Oh, after much delay, I'm pretty sure what it was doing was resetting the permissions on every file in my app data share. It took most of the day. I deleted the app and won't touch it again. Apps should never do anything potentially-destructive automatically without a visible option or notification. qBittorrent from TrueCharts community does not do this automatically, although there is an option to enable this behavior.

Same problem here, how did you fix it?
 
Top