themepark-dev / theme.park

A collection of themes/skins for 50 selfhosted apps!
https://theme-park.dev
MIT License
2.43k stars 799 forks source link

hotio qBittorrent theme not working #529

Closed virusperfect closed 10 months ago

virusperfect commented 10 months ago

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

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
nintendo424 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

Fixed on the develop branch.

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

mgrimace commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

Fixed on master