Nextcloud version (eg, 10.0.2): 11.0
Operating system and version (eg, Ubuntu 16.04): FreeNAS (docker)
Apache or nginx version (eg, Apache 2.4.25): nginx 1.10.3
PHP version (eg, 5.6): 7.1.3
Is this the first time you’ve seen this error?: Yes
Can you reliably replicate it? (If so, please outline steps):
- Add a trusted domain
- Attempt to log in via newly created trusted domain.
- Page refreshes, shows no errors, and user not logged in.
The issue you are facing:
I added a trusted domain, but when I attempt to log in using the new domain, the page simply refreshes and provides no error messages/warnings. I can log in through the docker’s local IP just fine.
The output of your Nextcloud log in Admin > Logging:
Trusted domain error. "123.123.123.0" tried to access using "trusteddomain.com" as host.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
?php
$CONFIG = array (
'datadirectory' => '/data',
'apps_paths' =>
array (
0 =>
array (
'path' => '/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/apps2',
'url' => '/apps2',
'writable' => true,
),
),
'memcache.local' => '\\OC\\Memcache\\APCu',
'instanceid' => 'ocadc83b19e7',
'mail_from_address' => 'administrator',
'logtimezone' => 'UTC',
'logdateformat' => 'Y-m-d H:i:s',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'freenas.local:8888',
2 => 'trusteddomain.com:8888',
2 => '10.10.10.10:8888',
),
'overwrite.cli.url' => 'http://freenas.local:8888',
'dbtype' => 'sqlite3',
'version' => '11.0.2.7',
'installed' => true,
The output of your Apache/nginx/system log in /var/log/____
:
/var/log/nginx/error.log was empty