crash0verride11 / DarkLight-qBittorent-WebUI

A version of the default webUI that supports OS Dark Mode and is toggle-able, made using CSS properties and SASS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install does not work

whatgoesbump opened this issue · comments

Screen Shot 2021-03-17 at 2 32 34 AM

Once loaded the webui is completely unresponsive, and does not display torrents at all. The instructions for install were very confusing. Any help is appreciated. I'm running a headless ubuntu20.04 server LTS

same here
at first it didn't take my password, reinstalled, added /private, now it takes the password but everything's blank

@whatgoesbump I suppose try to flush out the instructions more, as I know the qBIttorrent Master's are confusing, but there will always be a need to mix my files with the master's.

@kriskate You definitely need public and private for any alternate webui.

What web browsers, qbittorent version #, and OS (running your browser, not your qbittorent) are both of you using.

I've uploaded my "www" folder to Box here: https://app.box.com/s/4b572ty06kf7vz2xe6l3o91zm90nnkso if you'd like to try and see if it's the confusion of combining files or you can at least compare your folder structures with mine.

For reference my set-up is headless in a linux docker, qbit 4.3.3, I've tested in a variety of browsers on Mac and windows.

It also may be worth trying to clear your browser cache as it may be loading older cached files. You'll have to google how to for your browser.

image

Bunch of MIME type blocked (“text/plain”) mismatch (X-Content-Type-Options: nosniff errors on js files after applying your instructions.

The scripts for the master WebUI were renamed and updated 8 days ago. The nosniff errors are because the js files don't exist at their old names.

DarkLight still works if the folder from the commit previous to the changes is used, although it's using the WebUI from a year ago instead of the recently updated one.

@nearcatch thanks for identifying the issue. I'll work to update this project in the near future for parity with the master branch (needed anyways). Unfortunately, I'm not going to have time to touch this for another week or two at least. My box link above, will provide a webUI from April this year if needed.

any update on this? i know you said you wouldnt have time for a while but its been over two months since this bug was opened. I'm having the same problem after trying this theme today.

I've taken a night to update the mootools version and add parity for the last eight months elsewhere. I've also added a "release" that incorporates a full www folder install, without the need to merge my files with the qBit master for those who just want something to download and use.

works excellent on firefox and chrome. has some problems in edge but that's not a huge concern for me personally. ill attach a screenshot though if you're interested in looking into it. Thank you for the release.

image

Hey,

I just installed the "Wide-compatibility" theme and it looks like this. What's wrong?
Thanks.

image

Ah, forgot to restart the container. After that it now looks like this. A little better but still...

image

Feel free to try the master branch release. For the wideCompat branch: what browser are you using? Have you followed the post install instructions about clearing caches? (https://github.com/crash0verride11/DarkLight-qBittorent-WebUI towards the bottom) If you could open up the console and check for errors and let me know what they are, that will give me the most info. (right click -> inspect page or view page source, or ctrl + alt + I, and look in the "console" tab)

Thanks for your reply and sorry for not reaching back until now.

Trying the master release now. No difference.

I've cleared my cache in Chrome both in Win10 and on my Pi4.
The console gives me a bunch of "500 (Internal Server Error)" but also:

dynamicTable.js?locale=en&v=j1nk8g:1790 Uncaught TypeError: Cannot read properties of undefined (reading 'FileTree')
    at dynamicTable.js?locale=en&v=j1nk8g:1790:51
    at dynamicTable.js?locale=en&v=j1nk8g:2626:3
(anonymous) @ dynamicTable.js?locale=en&v=j1nk8g:1790
(anonymous) @ dynamicTable.js?locale=en&v=j1nk8g:2626
client.js?locale=en&v=j1nk8g:27 Uncaught TypeError: Cannot read properties of undefined (reading 'TorrentsTable')
    at client.js?locale=en&v=j1nk8g:27:58

Problem solved.
I thought that I already had done this: "Start with the instructions on alternate UI usage from the qBittorent Master", but apparently not.
(Yes, I'm an idiot 🥇)

Problem solved.
I thought that I already had done this: "Start with the instructions on alternate UI usage from the qBittorent Master", but apparently not.
(Yes, I'm an idiot 🥇)

No worries. Sounds like you were pulling the "source files" from the release and not the compiled "www.zip" as well. (should contain the appropriate master branch files mixed together with mine) I added a note to the release for others.

Problem solved.
I thought that I already had done this: "Start with the instructions on alternate UI usage from the qBittorent Master", but apparently not.
(Yes, I'm an idiot 🥇)

No worries. Sounds like you were pulling the "source files" from the release and not the compiled "www.zip" as well. (should contain the appropriate master branch files mixed together with mine) I added a note to the release for others.

Hehe, yep, I did. I'm a Github noob as well. How could you tell? And does it matter? I mean I got it to work after all even though I downloaded the wrong file...

Hehe, yep, I did. I'm a Github noob as well. How could you tell? And does it matter? I mean I got it to work after all even though I downloaded the wrong file...

Eh, GitHub is kind of confusing. I get it. My releases are mostly for those who have trouble mixing together the files (or occasionally if an update to the master adds some breaking change that I haven't incorporated yet). Mixing the latest version of my edits with the qBittorrent source is usually the best way to go.

I could tell which files you downloaded because if you chose the www.zip, it wouldn't matter if you followed my instructions on mixing files. The "source files" links in the release are like a snapshot of the GitHub project at the time the release was added.

Hello,

My install not work:
image

I add this line in my configs:
WebUI\AlternativeUIEnabled=true
WebUI\RootFolder=/www/DarkLight-qBittorent-WebUI-0.3.1

What I did wrong ?

Hello,

My install not work: image

I add this line in my configs: WebUI\AlternativeUIEnabled=true WebUI\RootFolder=/www/DarkLight-qBittorent-WebUI-0.3.1

What I did wrong ?

Unfortunately only the following works on qBittorrent 4.5 and above and is English only: https://github.com/crash0verride11/DarkLight-qBittorent-WebUI/releases/tag/v0.3.1(Eng)