ntoporcov/iQbit

"Unacceptable file type, only regular file is allowed" for multiple alternative web UIs

Opened this issue · 3 comments

Hello

qBittorrent & operating system versions

Docker

What is the problem?

When I try to install this interface, I have the following message:
"Unacceptable file type, only regular file is allowed."

And this is what I can find in the logs:
"(N) 2023-03-06T16:17:01 - Using custom Web UI. Location: "iQbit/release".
(W) 2023-03-06T16:17:01 - Couldn't load Web UI translation for selected locale (en)."

I tried on an ubuntu VM and everything works.

At first I had the same issue. I'm using qBittorrent via Docker/Portainer. Here's what got it working for me:

If you followed the main instructions and have downloaded iQbit to somewhere on your system you still need to expose that folder to the qBittorrent container. Via docker compose under volumes that might look something like: /srv/dev-disk-by-uuid-.../iqbit/release:/release

After that in the qBittorent interface point your WebUI location to /release.

I'm not sure if that is your exact issue but it's what fixed it for me. Might help someone else.

I tried and here are the logs

"(N) 2023-03-13T09:45:37 - Using custom Web UI. Location: "/run/s6-rc:s6-rc-init:FDJHgD/servicedirs/svc-qbittorrent/iQbit/release".
(W) 2023-03-13T09:45:37 - Couldn't load Web UI translation for selected locale (en)."

is the first line correct?

Try cp index.html login.html from the iQbit/release/public directory assuming you are on linux. The server still looks for login.hml in the iQbit/release/public directory.
(Restart qbittorrent afterwards)
This fixed the issue for me. (Identical issue as yours)