Hey @Zerax, thank you for this script. I appreciate all the details for setting it up. I recently started having issues with it. Not sure what might have changed, but now when the port forwarding script starts to run, I get the error: qBittorrent is available. Proceeding with the script...
Fetching listening port from Gluetun with authentication...
jq: parse error: Invalid numeric literal at line 1, column 3
Failed to extract listening port from Gluetun response. Exiting.I then saw you updated the script, so I used your new script from April 10th, and I get this response now when I try to run the script: / # /bin/sh -c /tmp/gluetun/update_qbittorrent_listening_port.sh
Script created by Unraid user Zerax (Reddit user u/Snowbreath)
Checking for required tools (curl and jq)...
curl is already installed.
jq is already installed.
Waiting for qBittorrent to be available at http://127.0.0.1:8080...
qBittorrent is available. Proceeding with the script...
Fetching listening port from Gluetun URL: http://127.0.0.1:8000/v1/openvpn/portforwarded
Curl exit code: 0
Raw Gluetun Response: [<a href="/v1/portforward">Moved Permanently</a>.]
jq: parse error: Invalid numeric literal at line 1, column 3
Failed to parse valid port number from Gluetun response using jq.
JQ Input (Raw Gluetun Response): [<a href="/v1/portforward">Moved Permanently</a>.]
JQ Output (Attempted Port): []
/ # Any idea what might be going on? If it is obvious, I apologize, I'm a bit of a noob at this stuff as much as I try to stumble my way through it 😅