Wednesday, March 2, 2022

Homelab Hacker Blog Entry #0x11: Nextcloud plugin on TrueNAS

 Maybe this works out of the box for you if you leave it configured for NAT instead of switching it to DHCP.

I get this error when navigating to the IP address for Nextcloud:

Access through untrusted domain

Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.

That means we need to break into the jail and modify some config.

open a shell into the jail

vi /usr/local/www/netcloud/config/config.php

move down to the section where 'localhost' and the IP address of the truenas box are listed, and change the list to include the proper IP address and any hostnames that might be mapped to it.

How to exit Vi: press escape, then type colon (:) then wq enter (write to file, quit)

No comments:

Post a Comment