Nextcloud version (eg, 20.0.5): 18.0.3
Operating system and version (eg, Ubuntu 20.04): I don't know, I rent a shared server for web hosting
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.4): 7.2
The issue you are facing:
I can’t log in to the administration area with the correct username and password. I don’t get any error message, the login wheel keeps spinning. The last time I tried (more or less 12 months ago), I had no problems.
Note that I can log in to the user areas without any problems.
I confess that I’m totally lost with this issue, I really don’t know where to investigate. Any help would be welcome.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- go the login page
- try to connect with your admin username/passsword
- wait, wait and wait until you are sure that nothing happens
The output of your Nextcloud log in Admin > Logging:
I cannot access to the admin area
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'XXX',
'passwordsalt' => 'XXX',
'secret' => 'XXX',
'trusted_domains' =>
array (
0 => 'XXX',
),
'datadirectory' => '/srv/data/web/vhosts/XXX',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'XXX',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXX',
'dbpassword' => 'XXX',
'installed' => true,
'mail_from_address' => 'admin',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'XXX',
'mail_smtphost' => 'mail.gandi.net',
'mail_smtpsecure' => 'ssl',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXX',
'mail_smtppassword' => 'XXX',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => false,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'occweb',
1 => 'ojsxc',
),
'has_rebuilt_cache' => true,
);
The output of your Apache/nginx/system log in /var/log/error.log
:
[Mon Sep 27 07:26:31.778223 2021] [access_compat:error] [pid 18795:tid 139844470503168] [client 176.157.123.14:65316] AH01797: client denied by server configuration: /srv/data/web/vhosts/XXX/htdocs/config
[Mon Sep 27 07:59:13.710140 2021] [mpm_event:notice] [pid 134:tid 139845111453248] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Sep 27 07:59:13.723112 2021] [mpm_event:notice] [pid 134:tid 139845111453248] AH00489: Apache/2.4.43 (Unix) configured -- resuming normal operations
[Mon Sep 27 07:59:13.723132 2021] [core:notice] [pid 134:tid 139845111453248] AH00094: Command line: '/opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf'
[Mon Sep 27 07:59:14.231925 2021] [mpm_event:notice] [pid 134:tid 139845111453248] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Sep 27 07:59:14.250557 2021] [mpm_event:notice] [pid 134:tid 139845111453248] AH00489: Apache/2.4.43 (Unix) configured -- resuming normal operations
[Mon Sep 27 07:59:14.250578 2021] [core:notice] [pid 134:tid 139845111453248] AH00094: Command line: '/opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf'