The Basics
-
Nextcloud Server version (e.g., 29.x.x):
[Nextcloud Hub 8] (29.0.4)
NextcloudPi V1.55.3 -
Web server and version (e.g, Apache 2.4.25):
Apache/2.4.62 (Debian) -
PHP version (e.g, 8.3):
8.3.12 -
Is this the first time you’ve seen this error? (Yes / No):
No, it happened already several times before, but not recently -
When did this problem seem to first start?
First time it was directly after installation -
Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
Docker -
Are you using Cloudflare, mod_security, or similar? (Yes / No)
No -
No relevant entries in logs
Summary of the issue you are facing:
trusted_domains, overwrite_cli_url and trusted_proxies overwritten by ? in config.php automatically from time to time. Strange comments in trusted_proxies, see below.
Configuration
Nextcloud
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "cloud.rollstuhlaktiv.dnsaddr.com",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "nextcloudpi",
"11": "178.251.71.119",
"1": "192.168.1.160",
"14": "nextcloudpi",
"2": "neibeck.ddns.net"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.4.1",
"overwrite.cli.url": "https:\/\/cloud.rollstuhlaktiv.dnsaddr.com\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"tempdirectory": "\/media\/NcDrive\/ncdata\/data\/tmp",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"overwriteprotocol": "https",
"maintenance": false,
"logfile": "\/media\/NcDrive\/ncdata\/data\/nextcloud.log",
"maintenance_window_start": 1,
"default_phone_region": "at",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
'**;; communications error to 1.0.0.1#53: timed out**
**;; communications error to 1.0.0.1#53: timed out**
**;; communications error to 1.0.0.1#53: timed out**
"app_install_overwrite": [
"groupfolder_filesystem_snapshots"
],
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}
Output of ls -l:
total 84
-rw-r----- 1 www-data www-data 2019 Dec 5 12:48 config.php
Relevant output of less /etc/group for www-data:
sudo:x:27:ncpadmin
www-data:x:33:ncpadmin
Does anybody have an idea, how this can happen?