Nexctcloud AIO Interface on wrong ip after network change

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): Nextcloud Hub 8 (29.0.4)

The issue you are facing:
I moved my server to a new network I have no control over the assigned local ip.
The previous local ip was 192.168.0.3
the new local ip is 192.168.1.51
When I go to Admin Settings → Open Nextcloud AIO Interface
it still is set to 192.168.0.3

Remote access via the domain works but I cant access the AIO Interface I need for updates etc.

How can I change the config to the new local ip?

Best regards

Hi, see the note in this section: GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

Hey,
first of all thanks for the fast response.

I did as instructed and ran the command in the linked section.
I changed the AIO_URL variable to the correct ip, then i rebooted the host and thus all containers. Sadly in the Administration Overview the link is still pointing to the old ip. calling it up manually gives me the same message as before
" Nextcloud AIO Login

The login is blocked since Nextcloud is running.
Please use the automatic login from your Nextcloud.

If that is not possible, you can unblock the login by running
sudo docker stop nextcloud-aio-apache"

the domain under “domain” did not change and
i assume apache_ip_binding should be left on “0.0.0.0” too.

Any ideas?

Edit: What works but is not optimal I can take the link in the admin actions pane
https://192.168.0.3:8080/api/auth/getlogin?token=my supertoken
and change it to
https://192.168.1.51:8080/api/auth/getlogin?token=my supertoken

not optimal but works. Still I would like to fix it

Yes.

See

Note: You can change the domain/ip-address/port of the button by simply stopping the containers, visiting the AIO interface from the correct and desired domain/ip-address/port and clicking once on Start containers .

Thanks, should have read the whole thing… sorry

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.