Cannot login with the official apps anymore

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

Nextcloud version (eg, 12.0.2): 15.0.4
Operating system and version (eg, Ubuntu 17.04): Debian 9.7
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.10.3
PHP version (eg, 7.1): PHP 7.2.15-1+0~20190209065123.16+stretch~1.gbp3ad8c0

The issue you are facing: Cannot login with apps anymore

Is this the first time you’ve seen this error? (Y/N): y

Steps to replicate it:

  1. Update to 15.0.4
  2. Try to login on the cloud with the official apps (android, linux, it makes no difference)

The output of your Nextcloud log in Admin > Logging:

There is no errors

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'oc9jqhje4291',
  'passwordsalt' => 'a password',
  'secret' => 'a secret',
  'trusted_domains' => 
  array (
    0 => 'my.domain.tld',
  'datadirectory' => '/path/to/data,
  'dbtype' => 'pgsql',
  'version' => '',
  'overwrite.cli.url' => 'https://my.domain.tld',
  'dbname' => 'a db name',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'an user',
  'dbpassword' => 'a password',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  '' => 'production',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'my email',
  'mail_domain' => '',
  'mail_smtphost' => '',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'an username',
  'mail_smtppassword' => 'random chars',
  'mail_smtpauthtype' => 'LOGIN',
  'updater.secret' => 'a secret',

The output of your Apache/nginx/system log in /var/log/____:

There is no errors

You’ve not written if you followed the displayed recommendation and tried to access Nextcloud using your browser. This should give you a hint if a general access problem exists or if e.g. the used tls certificate isn’t valid anymore.