FakeWimmer Posted May 17, 2022 Share Posted May 17, 2022 So I'm a sucker for pain and decided after reading an article about how to better secure your network, I decided to change the DHCP rules on my router. To best get around issues with relocating my Unraid server (or any static IP computer on my network), I changed the DHCP rules to automatically configure its network rules and figured I'd re-find my server after it was given a new IP address. Well unfortunately I can't seem to log into the web UI to interact with Unraid. I know the network protocols are working correctly because I can access the shares, Plex, etc, and I can see it live on the Unraid website, I just physically can't log into the UI, either through the link the Unraid website provides or with the IP address my router has assigned. Anytime I try, the browser refuses to load. It just says "Problem loading page" regardless of the browser. I thought it was potentially an issue with the SSL certificate, so I shut down the server and edited the files on the USB to not use SSL when logging in and...still nothing. I'm really at a loss on this one and can't see any issue with why I couldn't log into the web UI. If anyone can provide any help it would be greatly appreciated! Quote Link to comment
ljm42 Posted May 17, 2022 Share Posted May 17, 2022 I'm guessing you have an unraid.net SSL certificate? DDNS for yourpersonalhash.unraid.net should update automatically within about 10-15 minutes after an IP change. Odd that it sounds like that didn't happen. If you already edited config/ident.cfg and set: USE_SSL="no" Then you should be able to access the webgui via: http://ipaddress or: http://servername.localTLD (i.e. http://tower.local ) Note that these are http urls, not https urls. If your browser is automatically changing them to https, try a different browser and/or private/incognito mode. If you can't get in at all, then you'll need to plug a keyboard and monitor directly into the server. Login there and type: php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v It will be difficult to copy/paste the results back here. If you see anything that looks like an error message, wait 5 minutes and run the same command again. If you are still having issues, type this: diagnostics (pay attention to the filename it created on the flash drive). Then type: powerdown Once the system shuts down put the flash drive in another computer and grab the zip file mentioned above and upload it here. Quote Link to comment
FakeWimmer Posted May 19, 2022 Author Share Posted May 19, 2022 (edited) Typing in the command code worked! Any ideas on what happened? Or how I can avoid causing that problem again? And can I re-enable SSL again? Edited May 19, 2022 by FakeWimmer Quote Link to comment
ljm42 Posted May 19, 2022 Share Posted May 19, 2022 Sorry, I'm not clear what worked exactly? Are you able to access the webgui now? If so, please upload the diagnostics.zip file (from Tools -> Diagnostics) Quote Link to comment
FakeWimmer Posted May 19, 2022 Author Share Posted May 19, 2022 I am able to access the webgui now after entering the command you described above. Here is the diagnostics.zip file. gringotts-diagnostics-20220519-1051.zip Quote Link to comment
ljm42 Posted May 19, 2022 Share Posted May 19, 2022 OK so based on current settings, either of these urls should work at the moment: http://Gringotts.local http://192.168.4.77 How do you want to access the server? Do you want SSL with an unraid.net certificate? Quote Link to comment
FakeWimmer Posted May 19, 2022 Author Share Posted May 19, 2022 I would like to access the server with an unraid.net certificate, if I could. Quote Link to comment
ljm42 Posted May 20, 2022 Share Posted May 20, 2022 I mostly work in Unraid 6.10, but I've configured a 6.9.2 system as close as I can to yours so I can follow along. Although TBH if you would consider updating to 6.10 first, it has a much more robust SSL configuration. Since you're having issues, I think before we make any changes it would be a good idea to get access to the server via SSH or a local keyboard/monitor. Can you do that? Also, I would stop the array. That way if you have to power down the server to pull the flash drive it won't cause an unclean shutdown. OK so go to Settings -> Management Access. Is the Update DNS button available? What response do you get when you press that? If that says the IP is correct, go ahead and change Use SSL/TLS from No to Yes and Apply. That will change the url to https://yourpersonalhash.unraid.net . If the DNS really has updated then you will be good to go. If DNS hasn't updated and you now can't access the webgui, use SSH or a local keyboard/monitor and run this first: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/makestate (I don't need to see the output of that). Then run this again: php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v I will need to see the output of that, either copy/paste from SSH or maybe take a picture if you are using a local monitor. Quote Link to comment
FakeWimmer Posted May 23, 2022 Author Share Posted May 23, 2022 I try to just stick with the most stable current version just out of fear of data loss. Although, 6.10 sounds like it is a pretty robust update. I pressed the Update DNS button as instructed and it says "Your local IP address has been updated for unraid.net." It changed the url to https://yourpersonalhash.unraid.net. I changed the SSL/TLS: to Auto and was able to reconnect to the server. Quote Link to comment
ljm42 Posted May 23, 2022 Share Posted May 23, 2022 Excellent, sounds like you are back up and running! 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.