SnoringDragon / gluetun-qbittorrent-port-manager

Automatically updates the listening port for qbittorrent to the port forwarded by gluetun.
MIT License
68 stars 17 forks source link

qBittorrent port not updating #5

Open markus-lei opened 3 months ago

markus-lei commented 3 months ago

On my system, the container is logging that it successfully updated the qBittorrent port, but it does not change.

I am unsure how to troubleshoot this (since the log says it is successful)..?

JakubKopys commented 2 months ago

On which port is you qBittorrent web ui running? The PORT in QBITTORRENT_PORT has to correspond to the web ui port, so if you change your qbittorent ui with:

    environment:
      - WEBUI_PORT=6011

then you have to set the QBITTORRENT_PORT to 6011 too.

markus-lei commented 2 months ago

Hi,

my qBittorrent is on port 8080, I have configured this and it is also reachable there. I have also double checked that no other container is using this port.

ErnToTo commented 1 month ago

The bash script inside this repo works by monitoring changes in gluetun-generated file with forwarded port. If it somehow misses that info (container restarts, qbitorrent restarts etc) it will not update the port. This PR #7 fixes the issue by setting timeout value.

markus-lei commented 1 month ago

I understand, but according to the log he finds it just fine... Problem is, even after he logs that he successfully updated it in qBittorrent - it is not actually changed there.

whatfreudsaid commented 1 month ago

I'm having the same problem. The container logs that the port has been changed, but it remains unchanged when i check to see inside the qBittorrent Web UI.

It is not a problem of finding the port (in the gluetun generated file), because the reported port is the correct one. It seems to be the problem of actually changing the port inside qBittorrent.