Leverz Posted January 29, 2020 Share Posted January 29, 2020 (edited) 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 January 30, 2020 by Leverz Solved Quote Link to comment
bonienl Posted January 29, 2020 Share Posted January 29, 2020 Most likely your user scripts are messing up the system. Restart your system in safe mode. Remove/correct your scripts. Quote Link to comment
Leverz Posted January 29, 2020 Author Share Posted January 29, 2020 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. Quote Link to comment
bonienl Posted January 29, 2020 Share Posted January 29, 2020 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 Quote Link to comment
Leverz Posted January 29, 2020 Author Share Posted January 29, 2020 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 Quote Link to comment
bonienl Posted January 29, 2020 Share Posted January 29, 2020 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. Quote Link to comment
Leverz Posted January 30, 2020 Author Share Posted January 30, 2020 (edited) 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 January 30, 2020 by Leverz Quote Link to comment
bonienl Posted January 30, 2020 Share Posted January 30, 2020 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. 1 Quote Link to comment
Leverz Posted January 30, 2020 Author Share Posted January 30, 2020 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. Quote Link to comment
itimpi Posted January 30, 2020 Share Posted January 30, 2020 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. Quote Link to comment
Leverz Posted January 30, 2020 Author Share Posted January 30, 2020 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? Quote Link to comment
itimpi Posted January 30, 2020 Share Posted January 30, 2020 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. 1 Quote Link to comment
Leverz Posted January 30, 2020 Author Share Posted January 30, 2020 Thanks to the both of you guys, I got the system back up and running. Quote Link to comment
geofbennett Posted August 19, 2021 Share Posted August 19, 2021 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 Quote Link to comment
itimpi Posted August 19, 2021 Share Posted August 19, 2021 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. Quote Link to comment
geofbennett Posted August 21, 2021 Share Posted August 21, 2021 For the record, replacing the bz files as described got my system back online. Thanks Quote Link to comment
Recommended Posts
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.