Support intro
Hello, I’m moving the first steps with nextcloud, but I’m stumbling already
I installed nextcloud on my server with the Web Installer.
Almost everything went fine (just a weird url without domain at the end of the process), but the problem is that I cannot login.
I tried to change the password several times with occ, but no luck.
Nextcloud version (eg, 20.0.5): 23.0.3
Operating system and version (eg, Ubuntu 20.04): Centos8 Stream
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.1
PHP version (eg, 7.4): 7.4.28
The issue you are facing:
I try to log in at https://[mydomain]/nextcloud/xyz/index.php/login but the page reloads every time.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Launch setup-nextcloud.php
- Complete the setup
- Try to login
The output of your Nextcloud log in Admin > Logging:
nothing (cannot access there, and nextcloud.log shows no recent logs)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocumjebmf0z5',
'passwordsalt' => 'xyz',
'secret' => 'xyz',
'trusted_domains' =>
array (
0 => '[mydomain]',
),
'datadirectory' => '/var/www/[mydomain]/nextcloud/xyz/data',
'dbtype' => 'mysql',
'version' => '23.0.3.2',
'overwrite.cli.url' => 'https://[mydomain]/nextcloud/xyz',
'dbname' => 'nextcloud_xyz',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xyz',
'dbpassword' => 'xyz',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
nginx error log does not show anything
nginx access log:
x.y.z.w - - [01/Apr/2022:21:33:07 +0200] "POST /nextcloud/xyz/index.php/login HTTP/1.1" 303 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
x.y.z.w - - [01/Apr/2022:21:33:07 +0200] "GET /nextcloud/xyz/index.php/core/apps/recommended HTTP/1.1" 303 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
x.y.z.w - - [01/Apr/2022:21:33:07 +0200] "GET /nextcloud/xyz/index.php/login?redirect_url=/nextcloud/xyz/index.php/core/apps/recommended HTTP/1.1" 200 5977 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"