[/details]
Nextcloud version (eg, 20.0.5): 24.0.5.1
Operating system and version : Debian GNU/Linux 11. 5.10.103-v8+ (aarch64)
PHP version : PHP 8.1.10
when adding nc_trusted_proxies and than looking in the config.php file, I dont see any trusted proxies configuration line.
Same the other way around: when adding manually the trusted_proxies in the config.php, I dont see it listed in the NCP config page (:4443)
And its gets even more interesting (for me). I have config.php in 2 locations:
Here:
/var/www/nextcloud/config
And here:
/media/cloud
Both have same contents. Should i assume they are mutually and automatically updated?
If someone could help me understand this, I would appreciate.
Thank you
Is this the first time you’ve seen this error? (Y/N): No. I keep trying and have same result
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'blablabla',
'secret' => '%^%$%$^%^&%$%$^$%^',
'trusted_domains' =>
array (
0 => 'localhost',
5 => 'nextcloudpi.local',
1 => '192.168.2.60',
4 => 'subD.duckdns.org',
2 => 'subD.duckdns.org',
7 => 'nextcloudpi',
8 => 'nextcloudpi.lan',
9 => '192.168.2.138',
11 => 'ip_add',
12 => 'subD.duckdns.org',
),
'datadirectory' => '/path/path/ncdata',
'tempdirectory' => '/path/path/nextcloudtemp',
'overwrite.cli.url' => 'https://subD.duckdns.org/',
'overwriteprotocol' => 'https',
'trusted_proxies' => ['192.168.21.204']
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'user',
'dbpassword' => 'superpass,
'installed' => true,
'instanceid' => 'ocyxuokvmjte',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'superpass,
),
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'user',
'mail_domain' => 'domain',
'maintenance' => false,
'logfile' => '/path/path/ncdata/nextcloud.log',
'loglevel' => '2',
'log_type' => 'file',
'mail_smtpauth' => 1,
'mail_smtpsecure' => 'ssl',
'mail_smtpport' => '465',
'mail_smtpname' => 'user@domain',
'mail_smtppassword' => 'supersuper password',
'theme' => '',
'jpeg_quality' => '60',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'smtp.domain.xx',
'data-fingerprint' => 'dfdfddfdfdfdfdfdfdfdfdfd',
);