Untrusted domain

php
webserver_issue

#1

You are accessing the server from an untrusted domain.
Please contact your administrator. If you are an administrator of this example, configure the "trusted_domains" setting in config / config.php. An example configuration is provided in config / config.sample.php.
Depending on the configuration, as an administrator, you may also be able to use the button below to trust this domain

config.php

<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'datadirectory' => '/app/data',
'dbtype' => 'sqlite3',
'version' => '7.0.2.1',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'loglevel' => '0',
'forcessl' => true,
'user_webdavauth_url' => 'https://cloud.xxxxx.xx.xxxxx',
'theme' => '',
'maintenance' => true,
'trusted_domains' =>
array (
0 => 'cloud.xxxxx.xx.xxx.xx',
1 => '10.x.x.xxx'
),
'share_folder' => '/Shared',
);


#2

This version is highly outdated [1] and was releases more then 2 1/2 years ago. Please don't run such outdated version on productive environments as this contains tons of known bugs (at least one directly related to the trusted domains feature) [1] and public security vulnerabilities [2].

When running such outdated version you're causing e.g. effort of people helping you where the issue might be already fixed in newer available versions.

[1] https://owncloud.org/changelog/

[2] https://owncloud.org/security/advisories/


#3

Do you access Owncloud with one of the 2 URL's above? If not, add the URL you use there.


#4

As @kljhlkhglklfgh says, update your Owncloud to the most recent. For your own sake. :slight_smile:

For the trusted domains I've added:

  1. localhost address for the server - i.e. 'localhost'
  2. the loopback address for the server - i.e. '127.0.0.1'
    (these 2 addresses allow me to access the Owncloud admin console from the server commandline if anything goes wrong)
  3. the internal IP address which the Owncloud instance is hosted on - e.g. 192.168.1.1
    (this allows me to access Owncloud admin from the local network)
  4. the Internet routable DNS name the Owncloud instance answers on - e.g. owncloud.bernard.com
    (this allows me to access Owncloud from the Internet)

I'm not sure if you need to make your OC Internet accessable, but I'd suggest you need 1, 2, 3 above.