Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotio qBittorrent theme not working #529

Closed
virusperfect opened this issue Jan 9, 2024 · 6 comments
Closed

hotio qBittorrent theme not working #529

virusperfect opened this issue Jan 9, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@virusperfect
Copy link

Describe the bug
When I try and use the qBittorrent theme for hotio container it just displays this message when opening the webui:
Unacceptable file type, only regular file is allowed.

Theme Install Method

  • docker-compose
version: "3.7"
  services:
    container_name: qbittorrent
    image: hotio/qbittorrent:release-4.6.2
    ports:
      - 127.0.0.1:8080:8080
      - "61394:61394"
    environment:
      - PUID=132
      - PGID=1001
      - UMASK=002
      - TZ=Europe/Zurich
      - TP_HOTIO=true
      - TP_THEME=plex
    volumes:
      - /opt/config/qbittorrent:/config
      - /opt/theme-park-mods/98-themepark-qbittorrent:/etc/cont-init.d/98-themepark
      - /mnt/nas/data/torrents:/data/torrents
    restart: unless-stopped
  • container logs
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/98-themepark
------------------------------
| qBittorrent theme.park Mod |
------------------------------
Changing to Hotio file path!
Variables set:
'APP_FILEPATH'=/config/config/qBittorrent.conf
'TP_DISABLE_THEME'=
'TP_HOTIO'=true
'TP_DOMAIN'=
'TP_COMMUNITY_THEME'=
'TP_SCHEME'=
'TP_THEME'=plex

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
svn: E170013: Unable to connect to a repository at URL 'https://github.com/qbittorrent/qBittorrent/trunk/src/webui/www'
svn: E900002: Subversion support temporarily disabled.

GitHub has temporarily disabled Subversion support as part of a planned brownout
in order to give you advance notice of the upcoming permanent removal of
Subversion support on 2024-01-08.

Please see https://github.blog/2023-01-20-sunsetting-subversion-support/ for details.

Download finished


Downloading qBittorrent webui icons to "/themepark/xxx"..please wait
svn: E170013: Unable to connect to a repository at URL 'https://github.com/qbittorrent/qBittorrent/trunk/src/icons'
svn: E900002: Subversion support temporarily disabled.

GitHub has temporarily disabled Subversion support as part of a planned brownout
in order to give you advance notice of the upcoming permanent removal of
Subversion support on 2024-01-08.

Please see https://github.blog/2023-01-20-sunsetting-subversion-support/ for details.
cp: cannot stat '/temp/.': No such file or directory
cp: cannot stat '/temp/.': No such file or directory

Download finished

grep: /themepark/public/index.html: No such file or directory
---------------------------------------
| Adding the stylesheet to html files |
---------------------------------------
sed: can't read /themepark/public/index.html: No such file or directory
sed: can't read /themepark/public/index.html: No such file or directory
Stylesheet set to plex on /themepark/public/index.html

Can't open /themepark/public/index.html: No such file or directory.
Can't open /themepark/public/index.html: No such file or directory.
find: ‘/themepark/private’: No such file or directory
------------------------------------------------------------
| Cleaning files in /themepark for any translation text... |
------------------------------------------------------------
find: ‘/themepark’: No such file or directory
cont-init: info: /etc/cont-init.d/98-themepark exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-perms: starting
s6-rc: info: service init-perms successfully started
s6-rc: info: service init-secrets: starting
s6-rc: info: service init-secrets successfully started
s6-rc: info: service init-setup: starting

----------------------------------------------------------------------
ENVIRONMENT
----------------------------------------------------------------------
PUID=132
PGID=1001
UMASK=002
TZ=Europe/Zurich
WEBUI_PORTS=8080/tcp,8080/udp
VPN_ENABLED=false
VPN_LAN_NETWORK=
VPN_CONF=wg0
VPN_ADDITIONAL_PORTS=
PRIVOXY_ENABLED=false
----------------------------------------------------------------------

Executing usermod...
usermod: no changes
Applying permissions to /config
s6-rc: info: service init-setup successfully started
s6-rc: info: service init-wireguard: starting
s6-rc: info: service init-wireguard successfully started
s6-rc: info: service init-privoxy: starting
s6-rc: info: service service-qbittorrent: starting
s6-rc: info: service service-qbittorrent successfully started
s6-rc: info: service init-privoxy successfully started
s6-rc: info: service legacy-services: starting
WebUI will be started shortly after internal preparations. Please wait...
s6-rc: info: service legacy-services successfully started

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

Application Info (Don't skip)

  • Container: hotio/qbittorrent:release-4.6.2

To Reproduce
Steps to reproduce the behavior:

  1. Start the container with the docker-compose file above

Expected behavior
WebUI should work.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (If applicable) (please complete the following information):

  • OS: Windows 10
  • Browser Firefox
  • Version 121.0
@virusperfect virusperfect added the bug Something isn't working label Jan 9, 2024
@nintendo424
Copy link
Contributor

I am running into the same thing with the qBittorrent linux server docker mod.

Downloading qBittorrent webui to "/themepark"..please wait
svn: E170013: Unable to connect to a repository at URL 'https://github.com/qbittorrent/qBittorrent/trunk/src/webui/www'
svn: E900002: Subversion support temporarily disabled.

GitHub has temporarily disabled Subversion support as part of a planned brownout
in order to give you advance notice of the upcoming permanent removal of
Subversion support on 2024-01-08.

Please see https://github.blog/2023-01-20-sunsetting-subversion-support/ for details.

Download finished


Downloading qBittorrent webui icons to "/themepark/xxx"..please wait
svn: E170013: Unable to connect to a repository at URL 'https://github.com/qbittorrent/qBittorrent/trunk/src/icons'
svn: E900002: Subversion support temporarily disabled.

GitHub has temporarily disabled Subversion support as part of a planned brownout
in order to give you advance notice of the upcoming permanent removal of
Subversion support on 2024-01-08.

Please see https://github.blog/2023-01-20-sunsetting-subversion-support/ for details.
cp: cannot stat '/temp/.': No such file or directory
cp: cannot stat '/temp/.': No such file or directory

Download finished

I saw that the code uses svn to checkout certain directories - this needs to be rewritten to use git since GitHub has removed subversion entirely.

@GilbN
Copy link
Collaborator

GilbN commented Jan 9, 2024

Describe the bug When I try and use the qBittorrent theme for hotio container it just displays this message when opening the webui: Unacceptable file type, only regular file is allowed.

Add -e TP_DISABLE_THEME="true" to disable the theme.

@GilbN
Copy link
Collaborator

GilbN commented Jan 11, 2024

Fixed on the develop branch.

ghcr.io/themepark-dev/theme.park:qbittorrent-develop

@mgrimace
Copy link

Thanks, noticed this issue today, how does a novice install the development branch version? I just ran the script ages ago to download the themepark files locally. AFAIK Hotio images require them to be local.

As a follow-up question, is there a way to keep the local themepark files up to date?

@rursache
Copy link

i also noticed the issue today and indeed by using the qbittorrent-develop branch it got fixed. however why isn't this on stable already? everyone on stable have a broken install

@GilbN
Copy link
Collaborator

GilbN commented Jan 25, 2024

Fixed on master

@GilbN GilbN closed this as completed Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants