MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
166 stars 92 forks source link

Can't access WebUI #168

Closed baykalokandemir closed 2 months ago

baykalokandemir commented 2 months ago

Hi! As the title suggests, I cant reach the web UI from my local network. The problem persists with or without VPN enabled. Here's my docker-compose.yml

qbittorrentvpn:
    image: dyonr/qbittorrentvpn
    container_name: qbittorrentvpn
    privileged: true
    cap_add:
        - NET_ADMIN
    environment:
      - VPN_ENABLED=no
      - VPN_TYPE=wireguard
      - LAN_NETWORK=192.168.178.0/24
      - WEBUI_PORT=8080
      - PUID=1000
      - PGID=1000
      - UMASK_SET=022
    volumes:
      - ~/docker/config/qbittorrentvpn:/config
      - /shitbox/NAS/downloads:/downloads
    ports:
      - 8080:8080
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    restart: unless-stopped         

and here is the log:

2024-04-26 21:45:22.444067 [INFO] VPN_ENABLED defined as 'no'
2024-04-26 21:45:22.463196 [INFO] LEGACY_IPTABLES is set to ''
2024-04-26 21:45:22.482834 [INFO] Not making any changes to iptables version
2024-04-26 21:45:22.500547 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
2024-04-26 21:45:22.517464 [WARNING] !!IMPORTANT!! You have set the VPN to disabled, your connection will NOT be secure!
2024-04-26 21:45:22.534257 [WARNIG] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2024-04-26 21:45:22.550764 [WARNIG] THE CONTAINER IS RUNNING WITH VPN DISABLED
2024-04-26 21:45:22.567323 [WARNIG] PLEASE MAKE SURE VPN_ENABLED IS SET TO 'yes'
2024-04-26 21:45:22.584257 [WARNIG] IF THIS IS INTENTIONAL, YOU CAN IGNORE THIS
2024-04-26 21:45:22.600995 [WARNIG] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2024-04-26 21:45:22.621819 [WARNING] ENABLE_SSL is set to '', SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2024-04-26 21:45:22.638358 [WARNING] Removing the SSL configuration from the config file...
2024-04-26 21:45:22.656917 [INFO] A group with PGID 1000 does not exist within this container, adding a group called 'qbittorrent' with PGID 1000
2024-04-26 21:45:22.732788 [INFO] An user with PUID 1000 does not exist within this container, adding an user called 'qbittorrent user' with PUID 1000
2024-04-26 21:45:22.810415 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
2024-04-26 21:45:22.830442 [INFO] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent.log.
2024-04-26 21:45:23.854856 [INFO] Started qBittorrent daemon successfully...
2024-04-26 21:45:23.873147 [INFO] qBittorrent PID: 75
2024-04-26 21:45:23.890599 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2024-04-26 21:45:23.907351 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2024-04-26 21:45:23.924170 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default
2024-04-26 21:45:23.940933 [WARNING] RESTART_CONTAINER not defined,(via -e RESTART_CONTAINER), defaulting to 'yes'
2024-04-26 21:45:23.957788 [INFO] HEALTH_CHECK_AMOUNT is not set. For now using default interval of 1
2024-04-26 21:45:23.974570 [INFO] HEALTH_CHECK_AMOUNT is set to 1
2024-04-26 21:47:55.786766 [INFO] Received SIGTERM, stopping...
No /usr/local/bin/qbittorrent-nox found running; none killed.
2024-04-26 21:57:30.551403 [INFO] VPN_ENABLED defined as 'no'
2024-04-26 21:57:30.569956 [INFO] LEGACY_IPTABLES is set to ''
2024-04-26 21:57:30.586602 [INFO] Not making any changes to iptables version
2024-04-26 21:57:30.604377 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
2024-04-26 21:57:30.622302 [WARNING] !!IMPORTANT!! You have set the VPN to disabled, your connection will NOT be secure!
2024-04-26 21:57:30.639334 [WARNIG] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2024-04-26 21:57:30.656106 [WARNIG] THE CONTAINER IS RUNNING WITH VPN DISABLED
2024-04-26 21:57:30.672946 [WARNIG] PLEASE MAKE SURE VPN_ENABLED IS SET TO 'yes'
2024-04-26 21:57:30.689805 [WARNIG] IF THIS IS INTENTIONAL, YOU CAN IGNORE THIS
2024-04-26 21:57:30.706605 [WARNIG] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2024-04-26 21:57:30.727482 [WARNING] ENABLE_SSL is set to '', SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2024-04-26 21:57:30.744190 [WARNING] Removing the SSL configuration from the config file...
2024-04-26 21:57:30.762736 [INFO] A group with PGID 1000 already exists in /etc/group within this container, nothing to do.
2024-04-26 21:57:30.780477 [INFO] An user with PUID 1000 already exists within this container, nothing to do.
2024-04-26 21:57:30.797304 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
2024-04-26 21:57:30.814077 [INFO] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent.log.
2024-04-26 21:57:31.837576 [INFO] Started qBittorrent daemon successfully...
2024-04-26 21:57:31.855642 [INFO] qBittorrent PID: 62
2024-04-26 21:57:31.873089 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2024-04-26 21:57:31.889848 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2024-04-26 21:57:31.906615 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default
2024-04-26 21:57:31.923427 [WARNING] RESTART_CONTAINER not defined,(via -e RESTART_CONTAINER), defaulting to 'yes'
2024-04-26 21:57:31.940135 [INFO] HEALTH_CHECK_AMOUNT is not set. For now using default interval of 1
2024-04-26 21:57:31.957225 [INFO] HEALTH_CHECK_AMOUNT is set to 1

Any help would be appreciated, I've been going at this for hours. I saw that a lot of people with the same problem managed to fix theirs with the correct LAN_NETWORK and ports but im pretty sure i got mine correctly and haven't made any progress.