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
Getting 'Unacceptable file type, only regular file is allowed' after a while #225
Comments
It's possible that the storage is unmounted. This message is a message that occurs when qbittorrent cannot find the correct webui file. |
FYI you can instantly get back to the old UI by adding this to the end of your url: /api/v2/app/setPreferences?json=%7B%22alternative_webui_enabled%22:false%7D |
I've had this issue as well. I eventually gave up and just used Nginx reverse proxy instead |
@toniR15 @rany2 I don't think the message was triggered by 'VueTorrent'.
|
@m4ximuel Ah, so the WebUI path should be |
@rany2 yes, you right. please try it and tell me the result. |
it works now, thanks! |
I really doubt that's the case since the VueTorrent folder is inside the home folder and it can still be accessed via ssh
Yes, I'm pointing to the VueTorrent folder which is the parent of the public folder. And it works perfectly when I do that, my problem is as I told you that after a while, when I try to access qbittorrent webUI, I get that message as if the program cannot find the folder or the contents of the folder are not correct.
That's a nice trick, thanks for the tip! |
@toniR15 A properly designed serviceworker should work in offline mode when the original source does not exist. I will put a PR that fixes serviceworker problem. |
I see, I'll keep an eye on the permissions when I ran into the issue and I will update you. Thanks for the quick reply 👍👍 |
I had the issue again and the permisions for both the index.html file and VueTorrent folder did not change from when it was working to when it wasn't. |
@toniR15 Starting qbittorrent might have taken precedence over mounting storage. After all operations have been performed for startup, adjust qbittorrent to run last, approximately 20 seconds later. |
I tried delaying the start of qbittorrent with |
@toniR15 I'm not using a Raspberry Pi, so I don't think I can help anymore. It could be a problem with the processor's permission causing the auto-start... I can't think of another case anymore. |
Yeah of course, don't worry. Thanks for the help anyways! 👍👍 |
Closing as the issue seems solved and unrelated to VueTorrent itself. |
Hi, I'm running qbittorrent-nox 4.1.5 on a Raspberry pi 4 ( Raspbian 10) and I can download VueTorrent and apply the alterate webUI without problems and for some time it works fine. But after some time (about one hour more or less) with the system at idle, when I try to access it again the webUI, I get a blank screen with 'Unacceptable file type, only regular file is allowed' message.
After this happens the only way for me to solve it is to edit qbittorrent.conf and remove the flag for AlteranteWebUI to false, restart qbittorrent and then it can load again on the default web interface.
Any ideas of what could be going wrong and how I can solve it? Thanks!
The text was updated successfully, but these errors were encountered: