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.

[Solved] Unraid WebUI Borked

Featured Replies

Everything was running smoothly, I was renaming a Userscript, with the UI. Then all of a sudden the whole web UI is messed up. I cannot access the logs, terminal is not working but docker apps are working fine (it seems).

 

On the dashboard, the top of the screen has a number of warnings, but there are warnings in all all sections and subsections.

 

some of the warnings are 

Warning: exec(): Unable to fork [pgrep 'dockerd'] in /usr/local/emhttp/plugins/dynamix/include/Helpers.php on line 190

Warning: exec(): Unable to fork [pgrep 'libvirtd'] in /usr/local/emhttp/plugins/dynamix/include/Helpers.php on line 190

Warning: exec(): Unable to fork [pgrep -cf /sbin/btrfs] in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 68

Warning: exec(): Unable to fork [cat /sys/devices/system/cpu/*/topology/thread_siblings_list|sort -nu] in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 94

Warning: exec(): Unable to fork [sensors -uA 2>/dev/null|grep -c 'fan[0-9]_input'] in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 100

Warning: shell_exec(): Unable to execute 'dmidecode -qt2' in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 15

Warning: shell_exec(): Unable to execute 'dmidecode -qt0' in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 15

Warning: shell_exec(): Unable to execute 'dmidecode -qt4' in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 15

Warning: exec(): Unable to fork [awk '/^MemTotal/{print $2*1024}' /proc/meminfo] in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 132

Warning: exec(): Unable to fork [ls /sys/class/net|grep -Po '^(lo|(bond|eth)\d+)$'] in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 133

Warning: shell_exec(): Unable to execute 'dmidecode -qt17' in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 15

Warning: shell_exec(): Unable to execute 'dmidecode -qt16' in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(501) : eval()'d code on line 15

I completed a reboot, hoping that the cause would of been corrected with a reload, no joy.  Any help would be appreciated.

Edited by Leverz
Solved

Most likely your user scripts are messing up the system.

Restart your system in safe mode.

Remove/correct your scripts.

  • Author

OK, I'd be surprised if this fixes it, since I did not run the script, I did not even start it, it is not scheduled or anything, but here is to hoping.

 

How can I reboot in safe mode? I cannot find how to do it, on the wiki, I cannot find anything referencing to it, and the FAQ page does not work.

Go to Main -> Boot Device and click on "Flash"

 

Inside Flash settings -> Syslinux Configuration

 

Select the Safe Mode menu (3rd choice), save and reboot your system

  • Author

Yeah, thats the problem, all device sections have the message below. Even the terminal window opens up without the prompt, I'm unsure if anything I type there will get executed.

 

Warning: shell_exec(): Unable to execute 'logger error: /webGui/include/DeviceList.php: missing csrf_token' in /usr/local/emhttp/plugins/dynamix/include/local_prepend.php on line 18

 

Another way to start in safe mode is to connect a monitor and keyboard to your server.

 

Upon startup select the "safe mode" option in the menu which appears.

 

  • Author

When I get to the boot screen, I have the 5 options, however when I highlight and press return, the screen flashes. No matter how many times I select the option, or how long I wait.

 

The command that it is trying to execute is 

/bzimage initrd=/bzroot-gui,/bzroot-gui unraidsafemode

System does not boot now, even with the keyboard and monitor disconnected.

Edited by Leverz

2 hours ago, Leverz said:

System does not boot now, even with the keyboard and monitor disconnected.

Do a file system check on a Windows machine, and let it repair any corruptions on your USB device.

  • Author

I let it scan and fix, which it reported it did. I put it back into the server, and I'm having the same problem. If I select anything other than "Unraid OS" in the boot menu, it flashes black and back to menu. If I select "Unraid OS", it stats "Automatic boot in 5 seconds ...", when it reachers zero it flashes black and starts again.

  • Community Expert

You might want to try downloading the zip file for the release and extracting all the bz* type files overwriting the ones on the flash drive.   It is possible one of them is corrupt which is causing your current issues.

  • Author

I think I'm on version 6.8.0 (according to changes.txt), is there a location to download this older version?

 

Or would it be okay to grab 6.8.1 or 6.8.2?

  • Community Expert
7 minutes ago, Leverz said:

I think I'm on version 6.8.0 (according to changes.txt), is there a location to download this older version?

 

Or would it be okay to grab 6.8.1 or 6.8.2?

I would recommend going with the latest 6.8.2 release.   It IS possible to get the 6.8.0 release if you really need it but it seems sensible to have the release with all the latest fixes included.

  • Author

Thanks to the both of you guys, I got the system back up and running.

  • 1 year later...

I am having this same problem.  I'd like to know exactly which suggestion solved the problem?  Was it overwriting the bz files?

Also, how did you do the power cycle?  Clicking on the "reboot" button in the webGui does nothing for me, so I wonder is there another way or do I just pull the plug.

 

Thanks

 

 

  • Community Expert
3 minutes ago, geofbennett said:

Also, how did you do the power cycle?  Clicking on the "reboot" button in the webGui does nothing for me, so I wonder is there another way or do I just pull the plug.

A power cycle means removing the power and then reapplying it to boot again.   This can reset the hardware which a simple reboot might not do.  Normally you would power off using the Shutdown button on the GUI.

For the record, replacing the bz files as described got my system back online.  Thanks

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

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.