linuxserver / docker-qbittorrent

GNU General Public License v3.0
1.05k stars 154 forks source link

[BUG] can't access WebUI after latest update #283

Closed draculya666 closed 10 months ago

draculya666 commented 10 months ago

Is there an existing issue for this?

Current Behavior

when accessig the IP I get this message in the browser "Unacceptable file type, only regular file is allowed." The arr's are able to connect. Only the WebUI ins't. Already removed the docker mods for the custom theme args to no avail

Expected Behavior

No response

Steps To Reproduce

run the docker

Environment

- OS:Unraid 6.12.6
- How docker service was installed:

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='qbittorrent'
  --net='bridge'
  -e TZ="Europe/London"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Dracul"
  -e HOST_CONTAINERNAME="qbittorrent"
  -e 'WEBUI_PORT'='8080'
  -e 'DOCKER_MODS'='ghcr.io/gilbn/theme.park:qbittorrent'
  -e 'TP_THEME'='overseerr'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/qbittorrent-logo.png'
  -p '8080:8080/tcp'
  -p '6881:6881/tcp'
  -p '6881:6881/udp'
  -v '/mnt/user/Transmission/Downloads/complete/':'/downloads':'rw'
  -v '/mnt/user/appdata/qbittorrent':'/config':'rw' 'lscr.io/linuxserver/qbittorrent:latest'

Container logs

(I) 2024-01-14T14:59:12 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Mon Jan 1 23:14:23 2024.
(N) 2024-01-14T14:59:12 - Using custom WebUI. Location: "/themepark".
(W) 2024-01-14T14:59:12 - Couldn't load WebUI translation for selected locale (C).
(N) 2024-01-14T14:59:12 - WebUI: Now listening on IP: *, port: 8080
(N) 2024-01-14T14:59:28 - WebAPI login success. IP: ::ffff:172.17.0.1
(N) 2024-01-14T15:00:05 - WebAPI login success. IP: ::ffff:172.17.0.1
(N) 2024-01-14T15:00:08 - WebAPI login success. IP: ::ffff:172.17.0.1
(N) 2024-01-14T15:00:17 - WebAPI login success. IP: ::ffff:172.17.0.1
(W) 2024-01-14T15:01:46 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[172.17.0.9]: no router found"
(W) 2024-01-14T15:01:46 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[172.17.0.9]: no router found"
(W) 2024-01-14T15:01:46 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[172.17.0.9]: no router found"
github-actions[bot] commented 10 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 10 months ago

Likely need to remove the custom webui location from your config.

draculya666 commented 10 months ago

It looks like is not downloading the files and creating the /themepark folder. I pulled this from the logs:


| qBittorrent theme.park Mod |

Variables set: 'APP_FILEPATH'=/config/qBittorrent/qBittorrent.conf 'TP_DISABLE_THEME'= 'TP_HOTIO'= 'TP_DOMAIN'= 'TP_COMMUNITY_THEME'= 'TP_SCHEME'= 'TP_THEME'=overseerr

No domain set, defaulting to theme-park.dev No scheme set, defaulting to https

| Downloading WebUI files from github |

Downloading qBittorrent webui to "/themepark"..please wait

Download finished

Downloading qBittorrent webui icons to "/themepark/xxx"..please wait

Download finished


| Adding the stylesheet to html files |

Stylesheet set to overseerr on /themepark/public/index.html

I've also removed the variables: DOCKER_MODS: ghcr.io/gilbn/theme.park:qbittorrent TP_THEME: overseerr

from the container which gives this log: [custom-init] No custom files found, skipping... WebUI will be started shortly after internal preparations. Please wait...

**** Information **** To control qBittorrent, access the WebUI at: http://localhost:8080

[ls.io-init] done.

but the problem persists

UPDATE:

Changed "WebUI\AlternativeUIEnabled= " from true to false and reagined access.

I'll check with the themapark team if something more is needed but the mod variables are exclusive to use with lnuxserver.io containers, which made me to report it here. Thx for all the help

j0nnymoe commented 10 months ago

You need to check in with the theme park mod to see if there are changes needed to be made.

draculya666 commented 10 months ago

Changed "WebUI\AlternativeUIEnabled= " from true to false and reagined access.

I'll check with the themapark team if something more is needed but the mod variables are exclusive to use with lnuxserver.io containers, which made me to report it here. This is the only container with issues, since all the arr's have the same docker mod variable and are working fine

j0nnymoe commented 10 months ago

While yes they have exclusive lsio env's (and Gilbn is part of our team) - they aren't developed exclusively by us and in our docker mod repo so you would need to report issues directly to them.