Can't login with SSL after IP change


Recommended Posts

In the process of moving, my router decided it was a good time to change my unRaid server's IP address.  I can only login now unsecured.  It's been a while since I set up the secure login (https) and I'm at a loss  as to the procedure.  I'm running version 6.9.2 stable.  If someone  could point me in the right direction I would appreciate it.  Thanks.

Link to comment

DDNS for yourpersonalhash.unraid.net should update automatically within about 10-15 minutes. If pressing the Update DNS button in the gui doesn't solve it, open a web terminal and run:

php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v

then paste the results here. 

Link to comment

OK this is Unraid 6.9.2 without the My Servers plugin installed. The version of UpdateDNS.php that ships with stock Unraid 6.9.2 doesn't have the verbose output option to see exactly what it is doing.

 

I'm going to have you download the version of that script that ships with Unraid 6.10 and drop it in /tmp. We'll run that and look at the output.

 

Please open a web terminal and type:
 

cd /tmp
[[ -f UpdateDNS.php ]] && rm UpdateDNS.php
wget -q https://raw.githubusercontent.com/limetech/webgui/master/plugins/dynamix/include/UpdateDNS.php
php UpdateDNS.php -v


and paste the results here.

Link to comment

Results:

 

root@Tower:~# cd /tmp
root@Tower:/tmp# [[ -f UpdateDNS.php ]] && rm UpdateDNS.php
root@Tower:/tmp# wget -q https://raw.githubusercontent.com/limetech/webgui/master/plugins/dynamix/include/UpdateDNS.php
root@Tower:/tmp# php UpdateDNS.php -v

Warning: parse_ini_file(/var/local/emhttp/nginx.ini): failed to open stream: No such file or directory in /tmp/UpdateDNS.php on line 203
(Output is anonymized, use '-vv' to see full details)
Unraid OS 6.9.2
⚠️  Not signed in to Unraid.net
Use SSL is 
 Rebind protection is disabled for myunraid.net
Response (HTTP 406):
null
Error: Nothing to do
root@Tower:/tmp# 

Link to comment

OK that failed because 6.9.2 without the My Servers plugin is missing another file.

 

Been thinking about the best way to proceed, let's do this:

cd /tmp
[[ -f makestate ]] && rm makestate
wget -q https://gist.githubusercontent.com/ljm42/df7fd93e4d1972f9afef4e870cfbda6f/raw/79ce7c23ed2edb0f493032e72b6a6bac22e092b3/makestate

[[ -f UpdateDNS.php ]] && rm UpdateDNS.php
wget -q https://raw.githubusercontent.com/limetech/webgui/master/plugins/dynamix/include/UpdateDNS.php

php makestate
php UpdateDNS.php -v

Please post the output from that last command

Link to comment

Last command output:

 

root@Tower:/tmp# php UpdateDNS.php -v
(Output is anonymized, use '-vv' to see full details)
Unraid OS 6.9.2
⚠️  Not signed in to Unraid.net
Use SSL is yes
 Rebind protection is disabled for unraid.net

Request:
{
    "keyfile": "[redacted]",
    "plgversion": "base-6.9.2",
    "internalip": "192.168.0.189"
}
Response (HTTP 200):
[]
success

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.