Pducharme Posted March 23, 2019 Share Posted March 23, 2019 (edited) Hi, it seems something went wrong on my Unraid server. The GUI doesn't load anymore. I always get 502 Bad Gateway (nginx) when trying to load my Unraid GUI. I want to avoid rebooting the whole server just for fixing the GUI. Is there a process I can kill to restart the GUI without a reboot ? Forgot to add, that i'm on lastest RC build. Thanks! Edited March 23, 2019 by Pducharme Quote Link to comment
JonathanM Posted March 23, 2019 Share Posted March 23, 2019 https://forums.unraid.net/bug-reports/prereleases/unraid-os-version-660-rc2-available-r145/?do=findComment&comment=1052 Quote Link to comment
Pducharme Posted March 24, 2019 Author Share Posted March 24, 2019 finally i rebooted it, because the rc.nginx command wasn't found. Works now. Quote Link to comment
rxnelson Posted December 30, 2019 Share Posted December 30, 2019 Anything on 6.7 or 6.8 that is built in and works or maybe better instructions if this works? I used putty to get to the server, logged in and tried to run the commands but they weren't found. From the link above. Quote For testing purposes I swapped menus a dozen times to the extreme, but never experienced a break. Side note: a full restart of the GUI requires "rc.nginx restart" and "rc.php-fpm restart" (make sure all your browser sessions are closed before restarting) Quote Link to comment
Squid Posted December 30, 2019 Share Posted December 30, 2019 Preface the commands with /etc/rc.d/ Quote Link to comment
rxnelson Posted December 30, 2019 Share Posted December 30, 2019 Thanks, that worked. Got a strange issue though, on both servers this has just recently occurred. The first one I tried a clean powerdown from the command line but it didn't work. After that I tried to access a share on the other server and it hung. When I refreshed the GUI it hung. Your instructions allowed be back into the gui but the share is now not accessible. I'm attempting to pull diagnostics from the GUI but that seems to not be working. Any other ideas? Quote Link to comment
rxnelson Posted December 30, 2019 Share Posted December 30, 2019 Is there a place to start looking for errors? I found it strange that both machines had issues around the same time. Another thread suggests looking in /var/log/nginx/error.logAny other ways to go about pulling a diagnostic? Even after I was able to restart the GUI on the second server it was effectively hung. The shares weren’t accessible and the diagnostic wouldn’t run/download. Quote Link to comment
frakman1 Posted January 1, 2020 Share Posted January 1, 2020 /etc/rc.d/rc.nginx restart /etc/rc.d/rc.php-fpm restart Quote Link to comment
rxnelson Posted January 3, 2020 Share Posted January 3, 2020 Thanks. Squid gave me that above and it did fix the gui however the shares were hung and dockers wouldn’t stop, etc. There doesn’t seem to be much on this issue so I was really surprised when it happened on two different servers minutes apart. Quote Link to comment
OFark Posted October 29, 2020 Share Posted October 29, 2020 if you putty on is the /boot folder populated and responsive in a timely manner? Quote Link to comment
rxnelson Posted October 29, 2020 Share Posted October 29, 2020 I don’t think I tried that. Luckily I don’t think the issue has occurred again since I posted. Quote Link to comment
mgutt Posted January 22, 2021 Share Posted January 22, 2021 Only as feedback. I tried to enable BIND_MGT. For this it is need to execute the following: /etc/rc.d/rc.nginx restart I opened the Webterminal, executed it and the Webterminal was dead. I think this happens because restarting Nginx means restarting the Webterminal and while its dead the Nginx restart command is interrupted. So finally it does not restart nginx, it kills it. But strangely it kills only the Webterminal and not the total WebGUI. So I though "hey you are having User Scripts. Let's use this to execute the restart". And now my next mistake ^^ I added a script and executed it through "Run Script" and not "Run in background". So again, nginx restart was killed while execution. And finally the complete WebGUI was dead. Of course SSH was disabled 🙈, so I needed physical access to the server. Logged into the console, entered the command and.. nginx is not started. Ok, so I started it and everything was fine again. So reminder to myself: Never restart a Webserver through the Webserver ^^ Quote Link to comment
RYZEN5000 Posted November 15, 2021 Share Posted November 15, 2021 Try typing "server name".local where "land" is server name use "land.local" that should work, you should always be able to log in with .local then check your flash drive because this error can be caused by bad configuration of ssl certificate. you may need to reburn a flash drive and always copy your config folder so u have a backup and can fall back on your settings. go ahead copy it back onto the freshly burnt usb and good luck. 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.