Nextcloud Talk kills Nextcloud after Update to v18.0.3


after updating to Nextcloud 18.0.3 my Nextcloud ran increasingly slow. Rebooting the machine helped, but after a while the web interface was almost unusable again. After some googling I found someone who had a similar issue caused by the smbclient for the external storage. So i went to the settings page to delete the external storage and just when i did that i got an internal server error and my Cloud wasnt accessable on any page. After some trial and error i found out that it was the Talk (spreed) app that was causing it. Deactivating the app made everything work again.

In my nextcloud log i have the following error:

The apache log didn’t log anything on this.

I’m happy for any hints on what the problem might be.


My Installation:

Nextcloud version: 18.0.3
Operating system and version: Ubuntu Server 19.10
Apache or nginx version: Apache 2.4.41
PHP version: 7.3

My Nextcloud config.php:

$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
    2 => 'localhost',
  'trusted_proxies' =>
  array (
    0 => '',
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'password',
  'installed' => true,

The following patch should fix it: