[/details]
Nextcloud version : 21.0.5
Operating system and version: Ubuntu 20.04
Apache or nginx version; Apache 2.4.41
PHP version 7.4.3
The issue you are facing:
After update to version 21.0.5 we are facing an isue with LDAP. If LDAP is installed and activated in nextcloud I get an internal server error when I want to open the settings page. If I uninstall LDAP I can open the Settings section.
All my users are LDAP accounts so this functionality is really important.
Is this the first time you’ve seen this error? _(Y/N): Y
Steps to replicate it:
- Log in with admin account
- open Settigns
The output of your Nextcloud log in Admin > Logging:
Cannot access the Admin Logging Section, because it is in the settings, which I cannot access anymore
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xxxxxxxxxx',
'secret' => 'xxxxxxxxxx/',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '10.50.0.15',
2 => 'nextcloud',
3 => 'nextcloud',
4 => 'nextcloud.ourdomain.com',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '21.0.2.1',
'overwrite.cli.url' => 'https://nextcloud/',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'ncadmin',
'dbpassword' => 'FrbaHR=xxxxxxxxx',
'installed' => true,
'instanceid' => 'ochl703lxlva',
'upgrade.disable-web' => 'true',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => '2',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'mail_smtpmode' => 'smtp',
'remember_login_cookie_lifetime' => '172800',
'log_rotate_size' => '0',
'trashbin_retention_obligation' => 'auto, 180',
'versions_retention_obligation' => 'auto, 365',
'simpleSignUpLink.shown' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 0,
'password' => 'yyyyyyyyyyyyyy*',
),
'logtimezone' => 'Europe/Vienna',
'htaccess.RewriteBase' => '/',
'share_folder' => '/Shared',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'maintenance' => false,
'mail_from_address' => 'nextcloud',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'ourdomain.com',
'mail_smtphost' => 'mail.ourdomain.com',
'mail_smtpport' => '25',
);
.....
Thank you for any input