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:
github.com
Specifically, I ran the command
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:
I followed this guide:
Linux WebUI setting up HTTPS with self signed SSL certificates
qBittorrent BitTorrent client. Contribute to qbittorrent/qBittorrent development by creating an account on GitHub.
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