Trusted Server issue while accessing own cloud over the LAN

Hi,

I have installed owncloud on Raspberry pi 4 and installed own cloud with the tutorial from below link.

Note: My pi is connected over wifi not through wired LAN.

I have gone throug every possible posts about trusted server issue but couldn’t resolve. I am able to see the owncloud homepage with error in all the devices in LAN but it just the “Trusted Domain error page”.

Please find below details from config report.

“basic”: {
“license key”: “REMOVED SENSITIVE VALUE”,
“date”: “Wed, 29 Jul 2020 12:59:55 +0000”,
“ownCloud version”: “10.4.1.3”,
“ownCloud version string”: “10.4.1”,
“ownCloud edition”: “Community”,
“server OS”: “Linux”,
“server OS version”: “Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l”,
“server SAPI”: “apache2handler”,
“webserver version”: “Apache/2.4.38 (Raspbian)”,
“hostname”: “localhost”,
“logged-in user”: “dinesh.py”
},
“stats”: {
“users”: {
“Database”: {
“count”: 1,
“seen”: 1,
“logged in (30 days)”: 1
}
},
“groups”: {
“OC\Group\Database”: 1
}
},
“config”: {
“updatechecker”: false,
“instanceid”: “ocq5li3oc8x3”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“127.0.1.1”,
“localhost”,
“192.168.0.13”
],
“datadirectory”: “/media/data/owncloud”,
“overwrite.cli.url”: “http://127.0.1.1/owncloud”,
“dbtype”: “mysql”,
“version”: “10.4.1.3”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“apps_paths”: [
{
“path”: “/var/www/owncloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/owncloud/apps-external”,
“url”: “/apps-external”,
“writable”: true
}
],
“installed”: true,
“maintenance”: false
},

Hi,

please try to put a " , " after your last ip adress in your config.php.

Here you can see how it should look like:

https://doc.owncloud.com/server/10.0/admin_manual/configuration/server/config_sample_php_parameters.html?highlight=warning#default-parameters

1 Like

hi,
some reason I see the report generated from owncloud and the actual config.php files trusted domain servers are not matching.

do i need to refresh anything after editing config.php file.

thanks
dinesh

Hi,
normally not.
You can restart your apache.
Like in the docu described you have to add the ip or the domain from your ownCloud.
Important is the “,” after every ip or domain.