[Solved] Unraid WebUI Borked


Leverz

Recommended Posts

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
Link to comment

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.

Link to comment

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

 

Link to comment

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
Link to comment

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.

Link to comment
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.

  • Like 1
Link to comment
  • 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

 

 

Link to comment
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.

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.