Issues logging into Unraid WebUI


Recommended Posts

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!

Link to comment

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.

Link to comment

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.

Link to comment

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.

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.