Mat1987 Posted April 29, 2021 Posted April 29, 2021 Hi All whats the best way to fix my gui. I dont have a lot of time for down time so easiest option would be great. I get the following error. i have tried to remove the stats plugin from putty and says it removed but still get the error. Will a reboot fix it or do i need to rebuild? Warning: require_once(/usr/local/emhttp/webGui/include/DefaultPageLayout.php): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/template.php on line 60 Fatal error: require_once(): Failed opening required '/usr/local/emhttp/webGui/include/DefaultPageLayout.php' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/dynamix/template.php on line 60 Quote
Frank1940 Posted April 29, 2021 Posted April 29, 2021 On the command line, type: diagnostics That will write the Diagnostics file to the logs directory on the Flash Drive, You can get it from the flash by shutting down the server by the comand powerdown Attach the file to your next post. Quote
Mat1987 Posted April 29, 2021 Author Posted April 29, 2021 Managed to get using WINSCP. Thanks in advance 3 minutes ago, Frank1940 said: On the command line, type: diagnostics That will write the Diagnostics file to the logs directory on the Flash Drive, You can get it from the flash by shutting down the server by the comand powerdown Attach the file to your next post. 3 minutes ago, Frank1940 said: On the command line, type: diagnostics That will write the Diagnostics file to the logs directory on the Flash Drive, You can get it from the flash by shutting down the server by the comand powerdown Attach the file to your next post. unraid-diagnostics-20210429-1605.zip Quote
Squid Posted April 29, 2021 Posted April 29, 2021 Only way for that file to not exist is that it got deleted somehow... A reboot is your only recourse, and then we go from there. Quote
Mat1987 Posted April 29, 2021 Author Posted April 29, 2021 Ok I will reboot later when server is quiet. I did delete a couple of things but only when googling the issue. I had a similar error when went to docker settings and couldn't open vnc to any of my vms. Let you know outcome of reboot. Worse case can I just rebuild the memory stick from a backup? Thanks Quote
Mat1987 Posted April 30, 2021 Author Posted April 30, 2021 Ok so reboot sorted gui. However i am back to the original issue. When i click settings and Docker i get this Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(520) : eval()'d code on line 62 Quote
Squid Posted April 30, 2021 Posted April 30, 2021 That implies a bad plugin (docker folders?) Reboot in safe mode and it should disappear, or from the plugins tab uninstall docker folders and try again (docker folders OTOH is the only thing I can think of that would affect both tabs) Quote
Mat1987 Posted April 30, 2021 Author Posted April 30, 2021 here are my plugin list. What do you mean docker folders. Im still new to unraid and dockers Quote
Squid Posted April 30, 2021 Posted April 30, 2021 Restart in safe mode. If it fixes itself, then delete the following from /config/plugins in order with a reboot after each gui.search.plg snmp.plg usbip.plg Followed by any of the remaining ones Quote
Mat1987 Posted April 30, 2021 Author Posted April 30, 2021 dont think i have ever used docker folders either. Quote
Squid Posted April 30, 2021 Posted April 30, 2021 1 hour ago, Squid said: Restart in safe mode. If it fixes itself, then delete the following from /config/plugins in order with a reboot after each gui.search.plg snmp.plg usbip.plg Followed by any of the remaining ones Quote
Mat1987 Posted April 30, 2021 Author Posted April 30, 2021 Ok so for example Ca.backup.plg Restart Ca.cleanup.appdata.plg Restart All the way to usbip-gui.plg Quote
Mat1987 Posted May 1, 2021 Author Posted May 1, 2021 ok so removed all plugins and error still appears any ideas. Latest diagnostic unraid-diagnostics-20210501-2336.zip Quote
JorgeB Posted May 2, 2021 Posted May 2, 2021 Backup and recreate the flash drive, from the backup restore just your key and the disk assignments (super.dat), then reconfigure the server or restore the rest of the config files one a a time. Quote
Mat1987 Posted May 2, 2021 Author Posted May 2, 2021 Oh great lol So reinstall dockers plugins. Yay will do tonight. Quote
Mat1987 Posted May 4, 2021 Author Posted May 4, 2021 After a lot of restores i found it was an issue with network.cfg or network rules so i used fresh cfg files and reconfigured network and all good. Thanks all 1 Quote
clusterbox Posted May 7, 2021 Posted May 7, 2021 On 5/4/2021 at 2:50 PM, Mat1987 said: After a lot of restores i found it was an issue with network.cfg or network rules so i used fresh cfg files and reconfigured network and all good. Thanks all Would you mind elaborating on your solution @Mat1987? Where are the network.cfg files? How did you get the "fresh files"? Thanks..This exact issue has happened to me as of 48 hours ago. Quote
Frank1940 Posted May 7, 2021 Posted May 7, 2021 5 minutes ago, clusterbox said: How did you get the "fresh files"? Delete or rename the file(s). (ex. network.cfg.old) Then reboot, the default files will be created automatically. Quote
clusterbox Posted May 7, 2021 Posted May 7, 2021 Thanks @Frank1940, that's helpful. Whats odd is that I solved my issue and got the Unassigned Devices UI back online by doing the following: 1) Uninstalled both "Unassigned Devices" & "Unassigned Devices Plus (Addon)" plug-ins. 2) Reboot Server 3) UI works correctly now. How is the Unassigned Devices feature still present in my Unraid if I uninstalled the plugin? Should I only install the "Unassigned Devices Plus (Addon)" now? Quote
clusterbox Posted May 7, 2021 Posted May 7, 2021 (edited) Small update to my current status. The Unassigned Devices feature is in the UI, but I can't figure out how to mount/un-mount disks. If I installed the Unassigned Devices plugin again, I'm back to my original issue (see screenshot). I'm going to try backing up and replacing network.cfg now. Edited May 7, 2021 by clusterbox Quote
itimpi Posted May 7, 2021 Posted May 7, 2021 UnRaid always has an Unassigned Devices section in the GUI, but without the plugin installed it does not have much functionality beyond listing the devices. Quote
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.