macOS apps can't connect after upgrade to 12.0.5

Nextcloud version: 12.0.5
Operating system and version: 16.04.3
Apache or nginx version: Apache/2.4.18
PHP version: 7.0.22

The issue you are facing: macOS nextcloud sync client and macOS contacts and calendar app can’t connect to the server anymore. Access via browser works fine though. The sync client says Keine Verbindung zu nextcloud auf *** Operation abgebrochen. When I remove the account in the sync client and add it again, it works fine, but only until I restart the app. After that the above mentioned error appears again.

Is this the first time you’ve seen this error?: Yes

The output of your Nextcloud log in Admin > Logging:
Nothing special, just information about the update process. Everything worked fine.

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

<?php
$CONFIG = array (
  'loglevel' => '4',
  'trusted_domains' =>
  array (
    0 => '***',
    1 => '***',
  ),
  'datadirectory' => '/var/www/data',
  'overwrite.cli.url' => '***',
  'dbtype' => 'mysql',
  'version' => '12.0.5.3',
  'tempdirectory' => '/var/www/nextcloud/tmp',
  'mail_from_address' => 'info',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => '***',
  'mail_smtpport' => '25',
  'mail_smtptimeout' => 10,
  'mail_smtpauthtype' => 'LOGIN',
  'htaccess.RewriteBase' => '/',
  'instanceid' => '***',
  'passwordsalt' => '***',
  'secret' => '***',
  'dbname' => '***',
  'dbhost' => '***',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '***',
  'dbpassword' => '***',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'maintenance' => false,
  'mail_domain' => '***',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '***',
  'mail_smtppassword' => '***',
  'mail_smtpsecure' => 'tls',
  'theme' => '',
  'updater.secret' => '***',
);

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

Jan 25 10:13:47 *** nextcloud.apache[9247]: Nextcloud is not installed - only a limited number of commands are available
Jan 25 10:13:47 *** nextcloud.apache[9247]:
Jan 25 10:13:47 *** nextcloud.apache[9247]:   [Symfony\Component\Console\Exception\CommandNotFoundException]
Jan 25 10:13:47 *** nextcloud.apache[9247]:   There are no commands defined in the "config:system" namespace.
Jan 25 10:13:47 *** nextcloud.apache[9247]:
Jan 25 10:13:47 *** nextcloud.apache[9247]: Making sure nextcloud is fully upgraded...
Jan 25 10:13:48 *** nextcloud.apache[9247]: The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Jan 25 10:13:48 *** nextcloud.apache[9247]: Nextcloud is not installed - only a limited number of commands are available
Jan 25 10:13:48 *** nextcloud.apache[9247]:
Jan 25 10:13:48 *** nextcloud.apache[9247]:   [Symfony\Component\Console\Exception\CommandNotFoundException]
Jan 25 10:13:48 *** nextcloud.apache[9247]:   Command "upgrade" is not defined.
Jan 25 10:13:48 *** nextcloud.apache[9247]:
Jan 25 10:13:48 *** nextcloud.apache[9247]: Nextcloud is not yet installed-- no upgrade necessary
Jan 25 10:13:48 *** nextcloud.apache[9247]: All set! Running httpd...
Jan 25 10:13:48 *** nextcloud.apache[9247]: No certificates are active: using HTTP only
Jan 25 10:13:48 *** nextcloud.apache[9247]: httpd (no pid file) not running
Jan 25 10:13:48 *** systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jan 25 10:13:48 *** systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jan 25 10:13:48 *** systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jan 25 10:13:48 *** systemd[1]: Stopped Service for snap application nextcloud.apache.
Jan 25 10:13:48 *** systemd[1]: Started Service for snap application nextcloud.apache.
Jan 25 10:13:48 *** nextcloud.apache[9401]: Making sure nextcloud is setup...
Jan 25 10:13:48 *** nextcloud.apache[9401]: The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Jan 25 10:13:48 *** nextcloud.apache[9401]: Nextcloud is not installed - only a limited number of commands are available
Jan 25 10:13:48 *** nextcloud.apache[9401]:
Jan 25 10:13:48 *** nextcloud.apache[9401]:   [Symfony\Component\Console\Exception\CommandNotFoundException]
Jan 25 10:13:48 *** nextcloud.apache[9401]:   There are no commands defined in the "config:system" namespace.
Jan 25 10:13:48 *** nextcloud.apache[9401]:
Jan 25 10:13:48 *** nextcloud.apache[9401]: The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php

You may call this suggestion stupid, but have you tried the Owncloud Mac Client? Does it work?

Haha no, didn’t check it before, did now though… And it doesn’t work either.

What I also noticed… The login via the web interface takes reeeaally long. Maybe the apps are running a timeout then…?!

It was the bruteforce table: 11.0.2 incredibly slow login fixed it :slight_smile: