6.8.3 - webGui folder missing


Recommended Posts

It already happened to me 2 times before but I wasn't on the newest version then (6.8.1). I upgraded to 6.8.3 thinking the problem would be solved with this upgrade but it happened again. A restart solves this problem and gets the webUI up and running again.

When trying to access the webUI I get 500 Internal Server Error. Everything else is working (VMs, Docker container, plugins etc.)

 

This comes up in the nginx error log when I want to access the webUI.

2020/03/28 16:18:29 [error] 27546#27546: *3245721 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.0.113, server: , request: "GET /Dashboard HTTP/1.1", subrequest: "/auth_request.php", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "192.168.0.156"
2020/03/28 16:18:29 [error] 27546#27546: *3245721 auth request unexpected status: 404 while sending to client, client: 192.168.0.113, server: , request: "GET /Dashboard HTTP/1.1", host: "192.168.0.156"

Sadly, I cannot get the diagnostics from the CLI.

root@Tower:~# diagnostics
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required '/usr/local/emhttp/webGui/include/local_prepend.php' (include_path='.:/usr/local/emhttp') in Unknown on line 0

The folder /usr/local/emhttp/ is completely empty except for plugins, so can't run the diagnostics tool/don't know how else to run it.

I suppose a work around for this is just copying the webGui folder onto the array or somewhere and when the folder disappears again, copying the folder back to /usr/local/emhttp/ will make it work. However, I'd really like to know what is causing the whole folder to disappear. The webGui folder was there 14 hours ago, then I went to bed, so I didn't do anything to the server since then.

 

Edit: Since the post it happened again a few times. A workaround is creating a backup of the emhttp folder and then inserting it when the webUI is missing again. The diagnostics are from after restoring the webUI by copying the stuff

syslog

tower-diagnostics-20200428-1751.zip

Edited by FunnyPocketBook
Link to comment

Ok, can you try booting in safe mode to see if these problems occur?  You seem to have a few customizations to your GO file and user scripts that are running.  We're not seeing this behavior on any test systems nor are we seeing other reports of this in the forum.  That leads me to believe this is most likely a user customization or plugin that is causing the behavior.  Another thing you can try is removing the flash and plugging it into a PC and performing a checkdisk (to see if there is any corruption there).

Link to comment

Hello,

 

I'd like to report similar thing.


I subscribed to this thread because I had the same error with GUI throwing 404 or 500 error and empty /usr/local/emhttp/ folder. I'm running Unraid DVB 3.8.2.

It happened 4 times over 3 weeks, in march. I hadn't issue in April and cannot reproduce. Only thing to do is to reboot.
My user script and plugins were running since months.

 

I have no more issue and did not find the culprit. I assume it was an hardware issue because the flash is inserted in an adapter directly on the motherboard pins.

 

 

Link to comment

Hi there,

 

Definitely need more info.  This isn't a common issue and is likely being caused by something amiss with the configuration or customization.  That or your flash drive may be failing, though that shouldn't cause this issue either since /usr/local is all in RAM.  What would be helpful is a copy of your system diagnostics and an attempt to reproduce the issue in safe mode (where user scripts, plugins, and other customizations are disabled).  If you cannot reproduce the issue in that state, then it is likely something wrong with one of those mods.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.