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

Blank screen when UITheme applied #68

Open
Riki7745 opened this issue Mar 24, 2023 · 25 comments
Open

Blank screen when UITheme applied #68

Riki7745 opened this issue Mar 24, 2023 · 25 comments

Comments

@Riki7745
Copy link

It used to work fine for months then, suddenly, this morning blank screen, if I untick UI Web Alternative, login show up, but if I enable it, I just have a blank (white) screen. Any idea ?

@ntoporcov
Copy link
Owner

Sounds like a qbittorrent update..

I'll try to look into it soon

@Riki7745
Copy link
Author

I'm on 4.5.2 btw.

@danielsan1
Copy link

Same here. Just installed qbittorent because I found this nice mobile UI :) I'm also on 4.5.2
How can I go back to the original theme without access to the web UI? (blank/white screen)

@Riki7745
Copy link
Author

Riki7745 commented Apr 1, 2023

By disabling in it in QB...no ?

@danielsan1
Copy link

Can't access it as I use a dedicated server. My access point was the web UI... reinstalling it now as I was not able to finde the config file as described in the docs:
GNU/Linux:
preferences:
~/.config/qBittorrent/

we will see

@ntoporcov
Copy link
Owner

Install 4.5.0 and it should work, I still need to investigate what changes with .2

@Riki7745
Copy link
Author

Riki7745 commented Apr 1, 2023

Can't access it as I use a dedicated server. My access point was the web UI... reinstalling it now as I was not able to finde the config file as described in the docs: GNU/Linux: preferences: ~/.config/qBittorrent/

we will see

Maybe : https://github.com/qbittorrent/qBittorrent/wiki/Web-UI-password-locked-on-qBittorrent-NO-X-%28qbittorrent-nox%29

@danielsan1
Copy link

Thanks! But I finally found the config file (strange path) and disabled the alternative web UI :)

@ntoporcov
Copy link
Owner

So I just installed 4.5.2 on my computer and the webui worked normally :/

If you guys are able to turn the webui on again and check for any console messages, maybe it will offer some answer. I'm running qbittorrent on macOS which I know is not the most common case

@danielsan1
Copy link

Oh no that’s strange… I’m running Ubuntu 22.04 on my server and Swizzin (seedbox tool) which is not offering 4.5.0 :-/
Where can I look for error messages?
I can try again on the weekend at the latest

@ntoporcov
Copy link
Owner

Here are some steps

  1. Turn the WebUI on as it was, pointing at the release folder

  2. Go to whatever address you go for the WebUI

  3. Wait for the browser to stop spinning. When the refresh button is no longer an X

  4. Open dev tools and go to the console tab

Then check if there are anything there.

@danielsan1
Copy link

Ok, here you go @ntoporcov . I hope that will help! Thanks for checking

vTools failed to load source map: Could not load content for chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
web.site/:1 GET https://web.site/static/js/main.cb4373a3.js net::ERR_ABORTED 404
web.site/:1 GET https://web.site/static/css/main.5e6dcba8.css net::ERR_ABORTED 404
favicon.ico:1 GET https://web.site/favicon.ico 404
/manifest.json:1 GET https://web.site/manifest.json 404
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.

@ntoporcov
Copy link
Owner

That looks like some extension in your browser is breaking :/

@danielsan1
Copy link

I don't think it's linked to the extension issue... Here the freshly installed Firefox (sorry it's German):

Laden fehlgeschlagen für das <script> mit der Quelle "https://web.site/static/js/main.cb4373a3.js". qbittorrent:1:1

@danielsan1
Copy link

It is my Adblocker extension! I turned it off and the errors stayed the same:

web.site/:1 GET https://web.site/static/js/main.cb4373a3.js net::ERR_ABORTED 404
web.site/:1 GET https://web.site/static/css/main.5e6dcba8.css net::ERR_ABORTED 404
favicon.ico:1 GET https://web.site/favicon.ico 404
/manifest.json:1 GET https://web.site/manifest.json 404
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.

@PriamX
Copy link

PriamX commented Apr 14, 2023

Perhaps same issue, getting just a blank screen. Using v4.5.2 in the linuxserver.io docker container. Here's the related entry in the log file:

(N) 2023-04-13T18:00:25 - Using custom Web UI. Location: "/config/WebUI/iQbit/release".
(W) 2023-04-13T18:00:25 - Couldn't load Web UI translation for selected locale (en).
(N) 2023-04-13T18:00:25 - Web UI: Now listening on IP: *, port: 8080
(N) 2023-04-13T18:01:03 - WebAPI login success. IP: ::ffff:172.20.0.5

@Snowail
Copy link

Snowail commented Apr 14, 2023

Get a blank screen when the download list is empty. Add anything to the download list were fix it.

@danielsan1
Copy link

Hey @ntoporcov any news on that?

@danielsan1
Copy link

Hey @ntoporcov any news?

@rizese
Copy link

rizese commented Nov 7, 2023

Just found this repo, I do all my self-hosting via mobile

Screen.Recording.2023-11-07.at.2.48.49.PM.mov
Screenshot 2023-11-07 at 2 50 24 PM

Based on a little digging, @Snowail might be on to something. It looks like the error is in Home.tsx trying to loop through a download list that's falsey. This could be an easy fix

@rizese
Copy link

rizese commented Nov 7, 2023

Screenshot 2023-11-07 at 4 11 35 PM

I have a fix for this issue, @ntoporcov - can you give me PR permissions?

@ntoporcov
Copy link
Owner

You should be able to open a cross-repo PR, I can approve pretty quickly..

@rizese
Copy link

rizese commented Nov 7, 2023

@ntoporcov PR is here #77

@rizese
Copy link

rizese commented Nov 8, 2023

@ntoporcov forgot to commit build files #78

I think we can close this issue after this goes in

@rizese
Copy link

rizese commented Nov 10, 2023

This issue should be resolved now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants