Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

6.8.3 - webGui folder missing

Featured Replies

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

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).

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.

 

 

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.

Make sure your Flash Drive is plugged into a USB2 port and not a USB3 port.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.