Alt WebUI not working #7933

Closed
opened 2026-02-21 19:15:10 -05:00 by deekerman · 11 comments
Owner

Originally created by @WolfganP on GitHub (Oct 17, 2018).

qBittorrent version and Operating System

Latest nox build from master (qBittorrent v4.1.0alpha)
Linux DietPi 4.9.62-v7+ #2 SMP Fri Nov 17 23:52:26 GMT 2017 armv7l GNU/Linux

If on linux, libtorrent and Qt version

Latest build from libtorrent RC_1_1

What is the problem

While trying to start modifying the WebUI to be more mobile friendly as per https://github.com/qbittorrent/qBittorrent/issues/9143 , I noticed the Alt WebUI (https://github.com/qbittorrent/qBittorrent/pull/7610) not being used, but core WebUI instead

What is the expected behavior

Alt WebUI files to be pulled at startup, according to config as per https://github.com/qbittorrent/qBittorrent/wiki/Alternate-WebUI-usage for instructions

.conf

WebUI\AlternativeUIEnabled=true
WebUI\RootFolder=/mnt/usb_12/wTools/qBittorrent/_altWebUI/

private/about.html text modified to notice the alt set of files being used

Steps to reproduce

Launch qBt as a service, monitor file usage via
$ sudo fnotifystat -vnT | grep torrent

I expected the modified about.html to reflect the text changes for the test, also expected to see my alt WebUI folder files being read at program launch

Log file doesn't reflect anything on alt WebUI either:

(N) 2018-10-17T12:12:06 - Web UI: Now listening on IP: *, port: 8099
(I) 2018-10-17T12:12:06 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/1715

Probably some specific msg should be logged at github.com/qbittorrent/qBittorrent@1c3112e402/src/webui/webapplication.cpp (L413)

Originally created by @WolfganP on GitHub (Oct 17, 2018). ### qBittorrent version and Operating System Latest nox build from master (qBittorrent v4.1.0alpha) Linux DietPi 4.9.62-v7+ #2 SMP Fri Nov 17 23:52:26 GMT 2017 armv7l GNU/Linux ### If on linux, libtorrent and Qt version Latest build from libtorrent RC_1_1 ### What is the problem While trying to start modifying the WebUI to be more mobile friendly as per https://github.com/qbittorrent/qBittorrent/issues/9143 , I noticed the Alt WebUI (https://github.com/qbittorrent/qBittorrent/pull/7610) not being used, but core WebUI instead ### What is the expected behavior Alt WebUI files to be pulled at startup, according to config as per https://github.com/qbittorrent/qBittorrent/wiki/Alternate-WebUI-usage for instructions .conf ``` WebUI\AlternativeUIEnabled=true WebUI\RootFolder=/mnt/usb_12/wTools/qBittorrent/_altWebUI/ ``` private/about.html text modified to notice the alt set of files being used ### Steps to reproduce Launch qBt as a service, monitor file usage via `$ sudo fnotifystat -vnT | grep torrent` I expected the modified about.html to reflect the text changes for the test, also expected to see my alt WebUI folder files being read at program launch Log file doesn't reflect anything on alt WebUI either: ``` (N) 2018-10-17T12:12:06 - Web UI: Now listening on IP: *, port: 8099 (I) 2018-10-17T12:12:06 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/1715 ``` Probably some specific msg should be logged at https://github.com/qbittorrent/qBittorrent/blob/1c3112e4028c307e13d3a6897cec21f8b59edf15/src/webui/webapplication.cpp#L413
deekerman 2026-02-21 19:15:10 -05:00
  • closed this issue
  • added the
    WebUI
    label
Author
Owner

@Piccirello commented on GitHub (Oct 17, 2018):

Was this working for you previously but then stopped after updating qBittorrent?

@Piccirello commented on GitHub (Oct 17, 2018): Was this working for you previously but then stopped after updating qBittorrent?
Author
Owner

@WolfganP commented on GitHub (Oct 17, 2018):

@Piccirello I tested when it was initially merged and I think it worked OK, couldn't do much due to lack of time.
But when I tried to retest today and start working on it (as per https://github.com/qbittorrent/qBittorrent/issues/9143) I found out that Alt WebUI isn't working as expected, no indications the files are being used by qb-nox and no indication of errors/misconfig in the log.

@WolfganP commented on GitHub (Oct 17, 2018): @Piccirello I tested when it was initially merged and I think it worked OK, couldn't do much due to lack of time. But when I tried to retest today and start working on it (as per https://github.com/qbittorrent/qBittorrent/issues/9143) I found out that Alt WebUI isn't working as expected, no indications the files are being used by qb-nox and no indication of errors/misconfig in the log.
Author
Owner

@Piccirello commented on GitHub (Oct 23, 2018):

I'll see if I can reproduce this tonight. Ping me in a couple days if I haven't updated this.

@Piccirello commented on GitHub (Oct 23, 2018): I'll see if I can reproduce this tonight. Ping me in a couple days if I haven't updated this.
Author
Owner

@WolfganP commented on GitHub (Oct 23, 2018):

@Piccirello maybe the easiest initial path to troubleshoot will be to add logging features to ensure the Alt WebUI is being used as per configuration, as my analysis was indirect as documented above.

@WolfganP commented on GitHub (Oct 23, 2018): @Piccirello maybe the easiest initial path to troubleshoot will be to add logging features to ensure the Alt WebUI is being used as per configuration, as my analysis was indirect as documented above.
Author
Owner

@Piccirello commented on GitHub (Oct 24, 2018):

Just tested and this feature appears to work for me. Can you post the output of ls -al /mnt/usb_12/wTools/qBittorrent/_altWebUI/ and ensure that the user running qBittorrent has access to this directory?

@Piccirello commented on GitHub (Oct 24, 2018): Just tested and this feature appears to work for me. Can you post the output of `ls -al /mnt/usb_12/wTools/qBittorrent/_altWebUI/` and ensure that the user running qBittorrent has access to this directory?
Author
Owner

@WolfganP commented on GitHub (Oct 24, 2018):

Thx @Piccirello for the help. qB has effective access to those folders and files:

pi@DietPi:~$ ps axwo pid,euser,egroup,euid,egid,args | grep torr
  742 pi       users     1111   100 /usr/bin/qbittorrent-nox -d --webui-port=8099

pi@DietPi:~$ ls -al /mnt/usb_12/wTools/qBittorrent/_altWebUI/
total 32
drwxrwxr-x  5 pi users 4096 Oct 17 11:32 .
drwxr-xr-x 13 pi users 4096 Oct 18 12:28 ..
drwxr-xr-x  4 pi users 4096 Oct 17 11:30 private
drwxr-xr-x  4 pi users 4096 Sep 23 17:15 public
drwxr-xr-x  2 pi users 4096 Oct 17 11:32 translations
-rwxr-xr-x  1 pi users 6905 Oct 17 11:32 tstool.py
-rw-r--r--  1 pi users 2253 Oct 17 11:32 webui.qrc

Do you agree that it may be beneficial to add some entries to the log on altWebUI execution?
Thx again.

@WolfganP commented on GitHub (Oct 24, 2018): Thx @Piccirello for the help. qB has effective access to those folders and files: ``` pi@DietPi:~$ ps axwo pid,euser,egroup,euid,egid,args | grep torr 742 pi users 1111 100 /usr/bin/qbittorrent-nox -d --webui-port=8099 pi@DietPi:~$ ls -al /mnt/usb_12/wTools/qBittorrent/_altWebUI/ total 32 drwxrwxr-x 5 pi users 4096 Oct 17 11:32 . drwxr-xr-x 13 pi users 4096 Oct 18 12:28 .. drwxr-xr-x 4 pi users 4096 Oct 17 11:30 private drwxr-xr-x 4 pi users 4096 Sep 23 17:15 public drwxr-xr-x 2 pi users 4096 Oct 17 11:32 translations -rwxr-xr-x 1 pi users 6905 Oct 17 11:32 tstool.py -rw-r--r-- 1 pi users 2253 Oct 17 11:32 webui.qrc ``` Do you agree that it may be beneficial to add some entries to the log on altWebUI execution? Thx again.
Author
Owner

@glassez commented on GitHub (Oct 28, 2018):

@WolfganP, Alt Web UI is accessible in current master but there are some issues with image substitutions (it still sends images from buil-in one). Should be fixed in #9777. Some logging is also added.

@glassez commented on GitHub (Oct 28, 2018): @WolfganP, Alt Web UI is accessible in current master but there are some issues with image substitutions (it still sends images from buil-in one). Should be fixed in #9777. Some logging is also added.
Author
Owner

@WolfganP commented on GitHub (Oct 28, 2018):

@glassez excellent, I'll test again once https://github.com/qbittorrent/qBittorrent/pull/9777 is merged.

@WolfganP commented on GitHub (Oct 28, 2018): @glassez excellent, I'll test again once https://github.com/qbittorrent/qBittorrent/pull/9777 is merged.
Author
Owner

@Piccirello commented on GitHub (Oct 28, 2018):

Are you able to test prior to merging? It would help confirm if the PR actually fixes your issue.

@Piccirello commented on GitHub (Oct 28, 2018): Are you able to test prior to merging? It would help confirm if the PR actually fixes your issue.
Author
Owner

@bonny1992 commented on GitHub (Feb 19, 2019):

Ehi, @WolfganP, do you have any update on this?
I'm hugely interested in having a more mobile friendly UI for qBittorrent, and I'm afraid I'm not skilled enough to do it by myself!

@bonny1992 commented on GitHub (Feb 19, 2019): Ehi, @WolfganP, do you have any update on this? I'm hugely interested in having a more mobile friendly UI for qBittorrent, and I'm afraid I'm not skilled enough to do it by myself!
Author
Owner

@WolfganP commented on GitHub (Feb 19, 2019):

@bonny1992 I had no time to develop a full mobile alt webUI, but I saw some expansions to the webUI being implemented already (ie RSS https://github.com/qbittorrent/qBittorrent/issues/453)
I also played with the CSS files to get a webUI (kind of) dark mode, but not near ready at all.

@WolfganP commented on GitHub (Feb 19, 2019): @bonny1992 I had no time to develop a full mobile alt webUI, but I saw some expansions to the webUI being implemented already (ie RSS https://github.com/qbittorrent/qBittorrent/issues/453) I also played with the CSS files to get a webUI (kind of) dark mode, but not near ready at all.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#7933
No description provided.