Error Trusted Domain when i redirect http to https

hosting

#1

Steps to reproduce

  1. Install owncloud on ovh web hebergement
  2. Install latest version of owncloud
  3. Active redirection of http to https

Expected behaviour

I should have my logging page

Actual behaviour

Instead i have a page where i can see :

You are accessing the server from an untrusted domain.
Please contact your administrator. If you are an administrator of this instance, configure the "trusted_domains" setting in config/config.php. An example configuration is provided in config/config.sample.php or at the documentation.

Server configuration

Operating system:
Ovh web hebergement
Web server:
ovh
Database:
MYSQL v.5.6
PHP version:
7.0
ownCloud version: (see ownCloud admin page)
10.0.8
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
official web site
Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'ocv03vnuo987',
  'passwordsalt' => 'R2wgOkbcSL56Ge+UtregMKFRXzGFTh',
  'secret' => 'xxxx',
  'trusted_domains' => 
  array (
    0 => 'cloud.valery.ovh',
    1 => 'localhost',
     ),

'cors.allowed-domains' => [
        'https://cloud.valery.ovh',
],

  'datadirectory' => '/home/valeryovqu/owncloud/data',
  'overwrite.cli.url' => 'https://cloud.valery.ovh',
  'dbtype' => 'mysql',
  'version' => '10.0.8.5',
  'dbname' => 'xxxx',
  'dbhost' => 'xxxx',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxxx',
  'dbpassword' => 'xxxx',
  'logtimezone' => 'UTC',
  'installed' => true,
);

List of activated apps:

Are you using external storage, if yes which one: no..

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

ownCloud log (data/owncloud.log)

{"reqId":"WvBhDQoaFMYAAFNoCgcAAAAY","level":2,"time":"2018-05-07T14:22:05+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvKoiwoaFAYAAA2SB40AAABD","level":3,"time":"2018-05-09T07:51:39+00:00","remoteAddr":"213.56.64.90","user":"--","app":"files","method":"GET","url":"\/cron.php","message":"Exception: {\"Exception\":\"OC\\\\ForbiddenException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(139): OC\\\\Files\\\\Utils\\\\Scanner->shouldScan(Object(OC\\\\Files\\\\Mount\\\\MountPoint))\\n#1 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan('')\\n#2 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner(Object(OC\\\\User\\\\User))\\n#3 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(57): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run(NULL)\\n#4 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(53): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#5 \\\/home\\\/valeryovqu\\\/owncloud\\\/cron.php(144): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 {main}\",\"File\":\"\\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php\",\"Line\":192}"}
{"reqId":"WvKsyQoaFAYAACkVi6gAAAAh","level":3,"time":"2018-05-09T08:09:45+00:00","remoteAddr":"213.56.64.90","user":"--","app":"files","method":"GET","url":"\/cron.php","message":"Exception: {\"Exception\":\"OC\\\\ForbiddenException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(139): OC\\\\Files\\\\Utils\\\\Scanner->shouldScan(Object(OC\\\\Files\\\\Mount\\\\MountPoint))\\n#1 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan('')\\n#2 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner(Object(OC\\\\User\\\\User))\\n#3 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(57): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run(NULL)\\n#4 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(53): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#5 \\\/home\\\/valeryovqu\\\/owncloud\\\/cron.php(144): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 {main}\",\"File\":\"\\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php\",\"Line\":192}"}
{"reqId":"WvLCoAoaFAYAADI-zgcAAAA4","level":2,"time":"2018-05-09T09:42:56+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/login","message":"Login failed: 'admin6761' (Remote IP: '213.56.64.90')"}
{"reqId":"WvLCpQoaFAYAADI-ziYAAAAT","level":2,"time":"2018-05-09T09:43:01+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/login?user=admin6761","message":"Login failed: 'admin6761' (Remote IP: '213.56.64.90')"}
{"reqId":"WvLCqQoaFAYAADI-zsAAAAA4","level":2,"time":"2018-05-09T09:43:05+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/login?user=admin6761","message":"Login failed: 'admin6761' (Remote IP: '213.56.64.90')"}
{"reqId":"WvLCsgoaFAYAADI-zuEAAAAD","level":3,"time":"2018-05-09T09:43:14+00:00","remoteAddr":"213.56.64.90","user":"--","app":"files","method":"GET","url":"\/cron.php","message":"Exception: {\"Exception\":\"OC\\\\ForbiddenException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(139): OC\\\\Files\\\\Utils\\\\Scanner->shouldScan(Object(OC\\\\Files\\\\Mount\\\\MountPoint))\\n#1 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan('')\\n#2 \\\/home\\\/valeryovqu\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner(Object(OC\\\\User\\\\User))\\n#3 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(57): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run(NULL)\\n#4 \\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(53): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#5 \\\/home\\\/valeryovqu\\\/owncloud\\\/cron.php(144): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 {main}\",\"File\":\"\\\/home\\\/valeryovqu\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php\",\"Line\":192}"}
{"reqId":"WvLElAoaFAYAADI-2vwAAAAI","level":3,"time":"2018-05-09T09:51:16+00:00","remoteAddr":"213.56.64.90","user":"Hugo","app":"no app in context","method":"POST","url":"\/index.php\/settings\/users\/users","message":"User backend OC\\User\\Database is returning home: \/home\/valeryovqu\/owncloud\/data\/admin6761 for user: admin6761 which differs from existing value: "}
{"reqId":"WvLEtwoaFAYAADI-2@QAAAAu","level":3,"time":"2018-05-09T09:51:51+00:00","remoteAddr":"213.56.64.90","user":"admin6761","app":"no app in context","method":"POST","url":"\/index.php\/settings\/users\/users","message":"User backend OC\\User\\Database is returning home: \/home\/valeryovqu\/owncloud\/data\/Hugo for user: Hugo which differs from existing value: "}
{"reqId":"WvLnVAoaFAYAAGWGRTQAAACu","level":2,"time":"2018-05-09T12:19:33+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/login","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvLnVQoaFAYAAGWGRUcAAAC@","level":2,"time":"2018-05-09T12:19:33+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvLnVQoaFAYAAGWGRWsAAACk","level":2,"time":"2018-05-09T12:19:33+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvLnsQoaFAYAAGWGSq4AAACB","level":2,"time":"2018-05-09T12:21:05+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/login","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvLnsQoaFAYAAGWGSq8AAACQ","level":2,"time":"2018-05-09T12:21:05+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvLnsgoaFAYAAGWGSrIAAACh","level":2,"time":"2018-05-09T12:21:06+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMA6goaFAYAAEaMnC8AAAE-","level":2,"time":"2018-05-09T14:08:42+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMA8AoaFAYAAEaMnGUAAAEB","level":2,"time":"2018-05-09T14:08:48+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMA8AoaFAYAAEaMnHUAAAEU","level":2,"time":"2018-05-09T14:08:48+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMA8QoaFAYAAEaMnJcAAAE6","level":2,"time":"2018-05-09T14:08:49+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBKwoaFAYAAEaMng4AAAE2","level":2,"time":"2018-05-09T14:09:47+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBKwoaFAYAAEaMng8AAAEy","level":2,"time":"2018-05-09T14:09:47+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBKwoaFAYAAEaMnhEAAAE6","level":2,"time":"2018-05-09T14:09:47+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBMwoaFAYAAEaMnjwAAAE7","level":2,"time":"2018-05-09T14:09:55+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBMwoaFAYAAEaMnkwAAAE4","level":2,"time":"2018-05-09T14:09:55+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBNAoaFAYAAEaMnm8AAAE8","level":2,"time":"2018-05-09T14:09:56+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBVAoaFAYAAEaMn90AAAEe","level":2,"time":"2018-05-09T14:10:28+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBVAoaFAYAAEaMn@4AAAEh","level":2,"time":"2018-05-09T14:10:28+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBVQoaFAYAAEaMoBIAAAE5","level":2,"time":"2018-05-09T14:10:29+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBuwoaFAYAAHvtyawAAAAR","level":2,"time":"2018-05-09T14:12:11+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBvAoaFAYAAHvtyb4AAAAj","level":2,"time":"2018-05-09T14:12:12+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMBvAoaFAYAAHvtyf0AAAAi","level":2,"time":"2018-05-09T14:12:13+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCUgoaFAYAAHvtzeUAAAAE","level":2,"time":"2018-05-09T14:14:42+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCUgoaFAYAAHvtzi0AAAAS","level":2,"time":"2018-05-09T14:14:42+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCUwoaFAYAAHvtzjwAAAAI","level":2,"time":"2018-05-09T14:14:43+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCUwoaFAYAAHvtzkcAAAAD","level":2,"time":"2018-05-09T14:14:43+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCWQoaFAYAAHvtzqwAAAAb","level":2,"time":"2018-05-09T14:14:49+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCWQoaFAYAAHvtzrsAAAAi","level":2,"time":"2018-05-09T14:14:49+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCZAoaFAYAAHvtzzYAAAAI","level":2,"time":"2018-05-09T14:15:00+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCZQoaFAYAAHvtz0cAAAAZ","level":2,"time":"2018-05-09T14:15:01+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMCZQoaFAYAAHvtz2sAAAAv","level":2,"time":"2018-05-09T14:15:01+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDbQoaFAYAAHvt1pwAAAAD","level":2,"time":"2018-05-09T14:19:25+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDbQoaFAYAAHvt1p0AAAAI","level":2,"time":"2018-05-09T14:19:26+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDbgoaFAYAAHvt1qAAAAAJ","level":2,"time":"2018-05-09T14:19:26+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDbwoaFAYAAHvt1qQAAAAS","level":2,"time":"2018-05-09T14:19:27+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDbwoaFAYAAHvt1qUAAAAN","level":2,"time":"2018-05-09T14:19:27+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMDcAoaFAYAAHvt1qcAAAA0","level":2,"time":"2018-05-09T14:19:28+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFDgoaFAYAAHvt4UgAAAAJ","level":2,"time":"2018-05-09T14:26:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFDwoaFAYAAHvt4UkAAAA3","level":2,"time":"2018-05-09T14:26:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFEAoaFAYAAHvt4U4AAAAb","level":2,"time":"2018-05-09T14:26:24+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFEAoaFAYAAHvt4VEAAAAG","level":2,"time":"2018-05-09T14:26:24+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFEAoaFAYAAHvt4VMAAAAO","level":2,"time":"2018-05-09T14:26:24+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFhAoaFAYAAHvt5GMAAAAl","level":2,"time":"2018-05-09T14:28:20+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFhQoaFAYAAHvt5HUAAAAx","level":2,"time":"2018-05-09T14:28:21+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFhQoaFAYAAHvt5JgAAAAA","level":2,"time":"2018-05-09T14:28:21+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwQoaFAYAAHvt5ksAAAA1","level":2,"time":"2018-05-09T14:29:21+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwQoaFAYAAHvt5kwAAAAt","level":2,"time":"2018-05-09T14:29:22+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwgoaFAYAAHvt5k0AAAAY","level":2,"time":"2018-05-09T14:29:22+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwwoaFAYAAHvt5lIAAAA4","level":2,"time":"2018-05-09T14:29:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwwoaFAYAAHvt5lQAAAAf","level":2,"time":"2018-05-09T14:29:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFwwoaFAYAAHvt5lYAAAAn","level":2,"time":"2018-05-09T14:29:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFywoaFAYAAHvt5pYAAAAU","level":2,"time":"2018-05-09T14:29:31+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFzAoaFAYAAHvt5qYAAAA@","level":2,"time":"2018-05-09T14:29:32+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMFzAoaFAYAAHvt5skAAAAe","level":2,"time":"2018-05-09T14:29:32+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMF6goaFAYAAHvt51wAAAAC","level":2,"time":"2018-05-09T14:30:02+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/heartbeat","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMGtgoaFAYAAHvt7OYAAAA6","level":2,"time":"2018-05-09T14:33:26+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMGtgoaFAYAAHvt7PYAAAA3","level":2,"time":"2018-05-09T14:33:26+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG7woaFAYAAHvt7iAAAAAb","level":2,"time":"2018-05-09T14:34:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG7woaFAYAAHvt7iEAAAAR","level":2,"time":"2018-05-09T14:34:23+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG8AoaFAYAAHvt7iQAAAAt","level":2,"time":"2018-05-09T14:34:24+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG9AoaFAYAAHvt7jUAAAAq","level":2,"time":"2018-05-09T14:34:28+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG9AoaFAYAAHvt7jYAAAAr","level":2,"time":"2018-05-09T14:34:28+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMG9QoaFAYAAHvt7jgAAAAU","level":2,"time":"2018-05-09T14:34:29+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMITQoaFAYAABWtvtQAAABu","level":2,"time":"2018-05-09T14:40:14+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMITgoaFAYAABWtvtUAAAB1","level":2,"time":"2018-05-09T14:40:14+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMITgoaFAYAABWtvtcAAABv","level":2,"time":"2018-05-09T14:40:14+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIVAoaFAYAABWtvugAAAB6","level":2,"time":"2018-05-09T14:40:20+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIVAoaFAYAABWtvvgAAABX","level":2,"time":"2018-05-09T14:40:20+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIVQoaFAYAABWtvxsAAAB4","level":2,"time":"2018-05-09T14:40:21+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIsgoaFAYAABWtwOkAAAB0","level":2,"time":"2018-05-09T14:41:54+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIsgoaFAYAABWtwOoAAABG","level":2,"time":"2018-05-09T14:41:55+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=c29615750e4e7283d8655e0038a0ac0c","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMIswoaFAYAABWtwO0AAABe","level":2,"time":"2018-05-09T14:41:55+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMJbgoaFAYAABWtxcoAAABX","level":2,"time":"2018-05-09T14:45:03+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/heartbeat","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvML2goaFAYAABWt1c8AAABW","level":2,"time":"2018-05-09T14:55:22+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/heartbeat","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMMOAoaFAYAABWt2IAAAABK","level":2,"time":"2018-05-09T14:56:56+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/heartbeat","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}
{"reqId":"WvMM8woaFAYAABWt3l0AAABn","level":2,"time":"2018-05-09T15:00:04+00:00","remoteAddr":"213.56.64.90","user":"--","app":"core","method":"POST","url":"\/index.php\/heartbeat","message":"Trusted domain error. \"213.56.64.90\" tried to access using \"www.cloud.valery.ovh\" as host."}

#2

Hi,

can you add this to your trusted domains array:

www.cloud.valery.ovh

#3

Hi, thanks for reply

But i have already tried (Following some other topics here) and when i do i got a blank page when i go to cloud.valery.ovh which is redirected to https://www.cloud.valery.ovh) in .htacces i added :

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


#4

Could it be possible that you made a syntax error in the config.php while updating the trusted_domains in your config leading to this white page?


#5

Hi , i don't think i made a syntax error in config.php but perhaps.. i'll show you my files :

CONFIG.PHP :

<?php
$CONFIG = array (
'instanceid' => 'ocv03vnuo987',
'passwordsalt' => 'Xxxx ',
'secret' => xx
'trusted_domains' =>
array (
0 => 'cloud.valery.ovh',
1 => 'localhost',
2 => 'www.cloud.valery.ovh',
),

'datadirectory' => '/home/valeryovqu/owncloud/data',
'overwrite.cli.url' => 'https://cloud.valery.ovh',
'dbtype' => 'mysql',
'version' => '10.0.8.5',
'dbname' => 'xx',
'dbhost' => 'Xxx db',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => 'xxx',
'logtimezone' => 'UTC',
'installed' => true,
);

.HTACCESS :




SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION


SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION


SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1


# Add security and privacy related headers
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set X-Robots-Tag "none"
Header set X-Frame-Options "SAMEORIGIN"
Header set X-Download-Options "noopen"
Header set X-Permitted-Cross-Domain-Policies "none"
SetEnv modHeadersAvailable true

# Let browsers cache CSS, JS files for half a year

Header set Cache-Control "max-age=15778463"

# Let browsers cache WOFF files for a week

Header set Cache-Control "max-age=604800"


php_value always_populate_raw_post_data -1
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0

SetEnv htaccessWorking true


php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0

SetEnv htaccessWorking true


RewriteEngine on

RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/host-meta.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^(?:.|autotest|occ|issue|indie|db_|console).* - [R=404,L]


AddType image/svg+xml svg svgz
AddEncoding gzip svgz


DirectoryIndex index.php index.html

AddDefaultCharset utf-8
Options -Indexes

ModPagespeed Off

DO NOT CHANGE ANYTHING ABOVE THIS LINE

ErrorDocument 403 //core/templates/403.php
ErrorDocument 404 //core/templates/404.php

Thanks


#6

It seems you have currently posted the username, password and additional sensitive data from your config.php publicly. I would strongly recommend to change this data immediately on your server to avoid that this data is misused.

For the initial issue it could be possible that your logfiles are telling you more.


#8

Keep in mind that the board software seems to keep a history of your changes to a post so the sensitive data won't be really hidden.

The log output only shows that the trusted domains setting is not configured correctly. Maybe there are more logs somewhere else outside of ownCloud where the white space is logged?


#9

Ok, i deleted so thanks

I will check on OVH i come back !