Access denied. after fresh installation

Hi,

Did a fresh install of 21.0.1 to my server, after creating database this error occoured;

When i refresh the page it started to return Access denied. as below;

What am i doing wrong and how to fix it?

guess it is denied due to untrusted address
pls check and add the address you used into the config.php

1 Like

edited config.php as below;

but still getting Access denied when i try to reach through browser.

For trusted domains, it’s just the first entry that is needed (the others are URLs)

Please check your logfiles. Could be a database connection, file permissions, …

1 Like

added below lines to config.php
“log_type” => “file”,
“logfile” => “nextcloud.log”,
“loglevel” => 0,
“logdateformat” => “F d, Y H:i:s”,

here is the log output;
{"reqId":"xJQl7LwK2aqPdclfNpZk","level":0,"time":"May 17, 2021 07:38:49","remoteAddr":"176.43.108.199","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"21.0.1.1"}