Impossible to change setting in administration section

Nextcloud version (eg, 10.0.3):
Operating system and version (eg, Rasbian ):
Apache (eg, Apache 2.4.25):
PHP version (eg, 7.0):
Is this the first time you’ve seen this error?: YES
Can you reliably replicate it? (If so, please outline steps): YES

The issue you are facing:
Dear everyone,

When I try to change something in my administration section, nextcloud ask me for my password. I enter the password and after few second nextcloud ask me again for my password.

I try to change my information exemple credentials for the mail systeme, but everytime nextcloud ask me for my password. My password is ok because I can logging in nextcloud.

Warning core Trusted domain error. “127.0.0.1” tried to access using “88.185.116.54” as host. 4 hours ago
Warning no app in context Missing expected parameters in change user hook 5 hours ago
Warning no app in context Missing expected parameters in change user hook 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 5 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 6 hours ago
Warning core Login failed: ‘baimard’ (Remote IP: ‘127.0.0.1’) 6 hours ago

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
$CONFIG = array (
‘instanceid’ => ‘’,
‘passwordsalt’ => ‘’,
‘secret’ => ‘+’,
‘trusted_domains’ =>
array (
0 => ‘192.168.0.240’,
1 => ‘baim.freeboxos.fr’,
),
‘datadirectory’ => ‘’,
‘overwrite.cli.url’ => ‘https://192.168.0.240’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘11.0.3.2’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘oc_baimard’,
‘dbpassword’ => ‘’,
‘logtimezone’ => ‘UTC’,
‘installed’ => true,
‘maintenance’ => false,
);

The output of your Apache/nginx/system log in /var/log/____:

[Thu May 04 16:52:32.883526 2017] [authz_core:error] [pid 31437] [client 127.0.0.1:44482] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 16:55:32.664401 2017] [authz_core:error] [pid 32414] [client 127.0.0.1:44634] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 16:57:07.159300 2017] [authz_core:error] [pid 32725] [client 127.0.0.1:44734] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 16:57:12.063378 2017] [authz_core:error] [pid 32701] [client 127.0.0.1:44748] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 16:58:04.793473 2017] [authz_core:error] [pid 32701] [client 127.0.0.1:44802] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 17:05:41.433463 2017] [authz_core:error] [pid 389] [client 127.0.0.1:45016] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 17:07:39.845348 2017] [authz_core:error] [pid 461] [client 127.0.0.1:45076] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 17:12:51.423395 2017] [authz_core:error] [pid 32664] [client 127.0.0.1:45140] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 21:20:54.733442 2017] [authz_core:error] [pid 1566] [client 127.0.0.1:45488] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata
[Thu May 04 21:20:59.533420 2017] [authz_core:error] [pid 1319] [client 127.0.0.1:45500] AH01630: client denied by server configuration: /mnt/nextcloud/cloud/data/.ocdata

Tks everyone

No idea everybody ?

Hi,

I have the same error message and search for a solution currently. What I’m guessing is, that something in Nextcloud (maybe an app?!) is requesting an information from another part of Nextcloud by addressing the DNS name. That the requesting IP is 127.0.0.1 indicates that. And instead of using localhost that instance uses your DNS name which resolves to the external IP address from your provider. But that IP is not in the trusted domains in your config.php. That is, what the error message is saying.
In my case - and I guess it is the same for you - I have a dynamic IP address (and use a dyndns like service), hence I can’t write my external (WAN) IP into the trusted domains.

I can’t see that anything on my server doesn’t work, so I guess the message is pretty much benign, but I would like to solve it anyway.
What I tried so far is, add my DNS name in /etc/hosts and make it resolve to 127.0.0.1 - which I have in the trusted domains. I had the error message once again, but I’m not sure if it needs a reboot or restart of some services.
I’m going to continue to observe the logs the next days and see if it helped.

Just wanted to let you know. Maybe it helps you a little. For the actual problem you are describing, I have no idea unfortunately. Hopefully this thread gets some attention again.