Wrong URL/IP in email notifications

I have setup my Nextcloud Box at my home, where it received an IP via DHCP. Now I moved it to the site where it will permanently run and it got a static IP address, including a valid SSL certificate and hostname.

Now in the emails which users receive it still shows the old static IP address. Users who would click on that URL would not get to the Nextcloud Box.

What do I need to do to fix this? Something in the config.php?

Best regards,
Sascha

Adjust the trusted_domain and the overwrite.cli.url values in your config.php

1 Like

Can you provide the full path to this config.php file on the Nextcloud Box?
I’m having difficulty finding it.
Thanks

Hi, you can find the config.php at this place:

/var/snap/nextcloud/current/nextcloud/config

Regards,
Sascha