I’ve set up an owncloud server in docker, and while it appears to be perfectly functional nothing I try no matter the different variations will make the trusted domains work. I’ve followed everything in the documentation exactly, and the file is definitely in use - if I intentionally mess up the format it’s loaded, but it will not implement any functionality it’s supposed to.
Steps to reproduce
- Started a new owncloud server
- Whitelisted local ip and WAN hostname
- Attempt to connect on anything other than localhost
Expected behaviour
Connecting to the service should work
Actual behaviour
I received a trusted domain error no matter what is attempted
Server configuration
Operating system:
Windows 10
Web server:
apache
Database:
sqlite
PHP version:
7.4.3
ownCloud version: (see ownCloud admin page)
10.12.1 stable
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
github via docker desktop
Config.php
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' => array (
0 => 'localhost',
1 => '192.168.50.2',
),
'domain' => 'localhost',
'datadirectory' => '/mnt/data/files',
'dbtype' => 'sqlite',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'en',
'overwrite.cli.url' => 'thebdf.org',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'passwordsalt' => 'IsHKalVg9iJKTDO+qHBUmPIZjFIQTW',
'secret' => 'Oo/+BJrVFRPVheHRMjTMx2+JweR/5mFL7fJBTk5guqkcQhwz',
'version' => '10.12.1.3',
'allow_user_to_change_mail_address' => '',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => 'ocpp9apit2p5',
);
Not using external storage
Not using encryption
Not using external backend or LDAP
Client configuration
Browser:
Chrome
Operating system:
Windows 10