NC on TrueNas: ho to solve the untrusted domain error?

I have installed last NC 30 on Truenas 24.10 but when I go on the WebUI I got the error:
Access with an untrusted domain

Some can help me considering that with TrueNas is not possible to use the CLI ?
Thanks Ant

Hi,
you have to edit your config.php → /var/www/nextcloud/config/config.php with the option:
'trusted domain…
‘trusted_domains’ =>
array (
0 => ‘your.local.ip.address’,

See

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#trusted-domains

I know I have to edit the config.php file but trying to do it with nano editor it seems I don’t have the permission to reach the file in the directory /mnt/.ix-apps/app-mounts/nextcloud/html/config/config.php, infact trying to use cd mnt it doen’t find the folder…
Ant

I have also tried with sudo su that is accepted but it doens’t solve the problem…And if I reach the config.php seems that the nano doesn’t exits…Very strange for me, I am not a sw programmer of linux, I am learning…

If you´ve installed nextcloud over the appstore from truenas, look at best in forum of truenas.

1 Like

OK thanks a lot