Dav/sabre reporting system in maintenance, even maintenance is set to false in config

Hi all,

Nextcloud version (eg, 20.0.5): 24.0.3.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.4):

The issue you are facing:
since some days my iOs devices are not synchronizing anymore.
MacOS devices are still synchronizing.

Maintenance mode is set to false, but sabre is still reporting errors that the system is in maintenance mode.

Does anybody give me a hint how to fix this?

TIA
Harald

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

Steps to replicate it:

  1. Sync from an iOS device

The output of your Nextcloud log in Admin > Logging:

Debug log reports:{“reqId”:“YvO6iXwLzafDVzTsWa@5AwAAAAo”,“level”:0,“time”:“2022-08-10T14:02:49+00:00”,“remoteAddr”:“a.b.c.d”,“user”:“–”,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/remote.php/dav/”,“message”:“**Das System befindet sich im Wartungsmodus**.”,“userAgent”:“iOS/15.6 (19G71) accountsd/1.0”,“version”:“24.0.3.2”,“exception”:{“Exception”:“**OCA\DAV\Exception\ServerMaintenanceMode**”,“Message”:“**Das System befindet sich im Wartungsmodus**.”,“Code”:0,“Trace”:[{“file”:“/abc/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“checkMaintenanceMode”,“class”:“OCA\DAV\Connector\Sabre\MaintenancePlugin”,“type”:“->”},{“file”:“/abc/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:456,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/abc/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/abc/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/abc/apps/dav/lib/Server.php”,“line”:352,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/abc/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/abc/remote.php”,“line”:166,“args”:[“/abc/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/abc/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php”,“Line”:86,“CustomMessage”:“–”}}

Translation: Das System befindet sich im Wartungsmodus -> The system is in maintenance state

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

<?php
$CONFIG = array (
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' =>
  array (
    0 => '...',
    1 => '...',
  ),
  'datadirectory' => '/var/www/vhosts/.../.nextcloud/data/...',
  'dbtype' => 'mysql',
  'version' => '24.0.3.2',
  'overwrite.cli.url' => 'http://...',
  'dbname' => '...',
  'dbhost' => '...:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'instanceid' => '...',
  'updater.release.channel' => 'stable',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 3,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '...',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => '...',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'noreply@...',
  'mail_smtppassword' => '...',
  'mail_smtpsecure' => 'ssl',
);

The output of your Apache/nginx/system log in /var/log/____:
No errors reported here

updated to 24.0.4, same problem