Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2): 17.0.2
Operating system and version (eg, Ubuntu 17.04): ubuntu-server 18.04.3
Apache or nginx version (eg, Apache 2.4.25): NGinx version 1.17.4
PHP version (eg, 7.1): 7.3.13
The issue you are facing: After update (successful) from 16.x to 17.0.2 i tested first with nc admin account. All well so far - at first - but today i wanted to change something in my user-account (an LDAP User - AD member) and that second i click on settings my cloud webui switched over to files.
I reproduced this several times - in log files no entry.
I tested with another user account but with local authentication - no problem.
I switched back again to admin account (local password) and double checked my LDAP/AD settings
All was tagged ok (Connection established, all good …)
I listed my users - alls well so far.
And back again to my user account with ldap credentials. Loged in properly but no admittance to enter the settings page. No error message, no logs - just pulled me back to files section every time i click to enter my settings page.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- update 16 to 17
- create ldap account
- make test
- take a click on settings page
The output of your Nextcloud log in Admin > Logging:
PASTE HERE see above - no logs
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
> <?php
> $CONFIG = array (
> 'instanceid' => 'my id',
> 'passwordsalt' => 'my pass',
> 'secret' => 'my secret',
> 'trusted_domains' =>
> array (
> 0 => 'my.domain.de',
> 1 => 'my.local.IP',
> ),
> 'activity_expire_days' => 14,
> 'auth.bruteforce.protection.enabled' => 'false',
> 'blacklisted_files' =>
> array (
> 0 => '.htaccess',
> 1 => 'Thumbs.db',
> 2 => 'thumbs.db',
> ),
> 'trusted_proxies' =>
> array (
> 0 => 'my.Proxy.IP',
> ),
> 'overwritehost' => 'my.domain.de',
> 'overwriteconaddr' => '^IPpart1\\.IPpart2\\.IPpart3\\.IPpart4$',
> 'forward_for_headers' =>
> array (
> 0 => 'X_FORWARDED_FOR',
> 1 => 'HTTP_X_FORWARDED_FOR',
> ),
> 'datadirectory' => '/media/cloud/data',
> 'overwriteprotocol' => 'https',
> 'overwrite.cli.url' => '/',
> 'dbtype' => 'pgsql',
> 'version' => '17.0.2.1',
> 'dbname' => 'cloud',
> 'dbhost' => '127.0.0.1',
> 'dbport' => '',
> 'dbtableprefix' => 'oc_',
> 'dbuser' => 'db-user',
> 'dbpassword' => 'db-password',
> 'htaccess.RewriteBase' => '/',
> 'logtimezone' => 'Europe/Berlin',
> 'logfile' => '/media/cloud/data/nextcloud.log',
> 'log_rotate_size' => 10485760,
> 'cron_log' => true,
> 'installed' => true,
> 'filesystem_check_changes' => 0,
> 'quota_include_external_storage' => false,
> 'skeletondirectory' => '',
> 'share_folder' => '/Shares',
> 'knowledgebaseenabled' => false,
> 'ldapIgnoreNamingRules' => false,
> 'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
> 'ldapUserCleanupInterval' => 20,
> 'memcache.local' => '\\OC\\Memcache\\Redis',
> 'filelocking.enabled' => 'true',
> 'memcache.locking' => '\\OC\\Memcache\\Redis',
> 'redis' =>
> array (
> 'host' => '/var/run/redis/redis.sock',
> 'port' => 0,
> 'timeout' => 0.0,
> 'password' => 'my.REDIS.Password',
> ),
> 'mail_smtpmode' => 'smtp',
> 'mail_smtpsecure' => 'ssl',
> 'mail_from_address' => 'info',
> 'mail_domain' => 'mail.domain.de',
> 'mail_smtphost' => 'mail.domain.de',
> 'mail_smtpport' => '465',
> 'maintenance' => false,
> 'integrity.check.disabled' => false,
> 'updater.release.channel' => 'stable',
> 'enable_previews' => true,
> 'enabledPreviewProviders' =>
> array (
> 0 => 'OC\\Preview\\PNG',
> 1 => 'OC\\Preview\\JPEG',
> 2 => 'OC\\Preview\\GIF',
> 3 => 'OC\\Preview\\BMP',
> 4 => 'OC\\Preview\\XBitmap',
> 5 => 'OC\\Preview\\Movie',
> 6 => 'OC\\Preview\\PDF',
> 7 => 'OC\\Preview\\MP3',
> 8 => 'OC\\Preview\\TXT',
> 9 => 'OC\\Preview\\MarkDown',
> ),
> 'preview_max_x' => 1024,
> 'preview_max_y' => 768,
> 'preview_max_scale_factor' => 1,
> 'trashbin_retention_obligation' => 'auto, 7',
> 'loglevel' => 2,
> 'mail_sendmailmode' => 'smtp',
> 'updater.secret' => 'my.updater.secret',
> );
The output of your Apache/nginx/system log in /var/log/____
:
Dec 22 15:08:23 server systemd[1]: Starting Clean php session files...
Dec 22 15:08:23 server sessionclean[2148]: find: ‘/usr/local/tmp/sessions/sess_hash-value’ kann nicht gelöscht werden.: Das Dateisystem ist nur lesbar
I get many of these messages above - but no log entry for login failure. It is in my opinion no login failure itself because users can login - but after that are not able to enter their settings page.
For testing i deleted all sessions in /usr/local/tmp and loged in back again with no change.
I tried with safari browser instead of mozilla - no change.
I am not sure but the error occurs since update to 17.x version and in the change log i’ve read that since 17th version of Nextcloud there where changes concerning ldap / password etc.
That’s the reason why i’ve double checked my LDAP settings with admin account after remarking the error.