CalDAV Wartungsmodus, trotz 'maintenance' => false

Hallo zusammen,

leider habe ich seit ein paar Tagen das Problem, dass sich meine iOS-Geräte nicht mehr synchronisieren.
MacOS geht einwandfrei.

Der Wartungsmodus ist aus, trotzdem meldet Sabre, dass der wartungsmodus aktiv wäre.
Das Debug-Log schreibt folgendes:
{“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”:“–”}}

Kann mir jemand einen Tipp geben, warum das Sabre-Plugin der Meinung ist, dass der Wartungsmodus aktiv ist, obwohl er laut config aus ist und wie ich das beheben kann?

TIA
Harald

1 Like

auf 24.0.4 upgedated, gleiches Problem.

Hallo,

Leute ihr haut da einfach ein Fehler raus ohne das ihr Informationen über euer System gibt.

Und bevor ihr euch mit den unteren Fragen beschäftigt benutzt die Suche hier in Nextcloud Forum. Search results for '' - Nextcloud community

Bitte denkt daran das die hier gelieferten Antworten von Netten Menschen kommen die gerne helfen.

  1. Bei welchen Anbieter? Was für ein Server? v-server,root, usw.

  2. Oder Lokal?

  3. Netzwerk Aufgliederung: zb. Router>Switch>PI>

  4. Auf welcher Hardware? RAM, PC,Raspbeery PI oder sonnst ein Banna Teil.

  5. Betriebssystem und Welche Version.

  6. Nextcloud Version??

  7. PHP Version?

  8. Welche Datenbank? Mysql,Engine X (Nginx),MariaDB usw…

  9. Apache version,usw.

  10. Läuft die cloud in Docker,Snap

  11. Wurden vor kurzen Server Updates gemacht? Wenn ja von was?

  12. Habt ihr die Logs angesehen von Nextcloud und von System?

  13. Und bei was für einer Aktion ist der Fehler aufgetreten?

Ihr müßt nicht alle Punkte beantworten. Einfach die ihr sicher Wisst.

Danke

Bei welchen Anbieter? Was für ein Server? v-server,root, usw.

Hetzner Root Server

Oder Lokal?

nein

Netzwerk Aufgliederung: zb. Router>Switch>PI>

direkte öffentliche IP, hinter Provider Router

Auf welcher Hardware? RAM, PC,Raspbeery PI oder sonnst ein Banna Teil.

128GB RAM, 8 Kern Xeon CPU

Betriebssystem und Welche Version.

Ubuntu 20.04

Nextcloud Version??

24.0.4

PHP Version?

8.0.22

Welche Datenbank? Mysql,Engine X (Nginx),MariaDB usw…

Mysql

Apache version,usw.

Apache/2.4.41 (Ubuntu)

Läuft die cloud in Docker,Snap

nein, direkt im Apache

Wurden vor kurzen Server Updates gemacht? Wenn ja von was?

auf nextcloud 24.0.4

Habt ihr die Logs angesehen von Nextcloud und von System?

siehe oben

Und bei was für einer Aktion ist der Fehler aufgetreten?

bei jedem Sync eines iOs devices.

Welcher ?
Laut deiner NC log ist er Aktiv.

sudo -u www-data php occ maintenance:mode --on

und

sudo -u www-data php occ maintenance:mode --off

hast du schon gemacht oder ?

Ja, klar, schon mehrfach, leider ohne erfolg.
auch in der config.php steht false.
maintenance:repair hab ich auch schon versucht, erfolglos.
woher nimmt sabre dan status für den maintenance mode, wenn nicht aus der config?

Zeig mal die letzen 20 zeilen von deiner system log. Und lösch die ip von dein server die brauch keiner :wink:

/var/log/syslog

syslog:
Aug 14 13:45:17 beta systemd[1]: session-156223.scope: Succeeded.
Aug 14 13:45:18 beta postfix/smtpd[1080767]: connect from p57b19796.dip0.t-ipconnect.de[87.177.151.150]
Aug 14 13:45:18 beta postfix/smtpd[1080767]: disconnect from p57b19796.dip0.t-ipconnect.de[87.177.151.150] helo=1 quit=1 commands=2
Aug 14 13:45:21 beta systemd[1]: Started Session 156224 of user root.
Aug 14 13:45:24 beta systemd[1]: Started Session 156225 of user root.
Aug 14 13:45:24 beta systemd[1]: session-156225.scope: Succeeded.
Aug 14 13:45:26 beta systemd[1]: Started Session 156226 of user root.
Aug 14 13:45:26 beta systemd[1]: session-156226.scope: Succeeded.
Aug 14 13:45:29 beta systemd[1]: Started Session 156227 of user root.
Aug 14 13:45:30 beta systemd[1]: session-156227.scope: Succeeded.
Aug 14 13:45:33 beta systemd[1]: Started Session 156228 of user root.
Aug 14 13:45:33 beta systemd[1]: session-156228.scope: Succeeded.
Aug 14 13:45:35 beta dovecot: imap-login: Disconnected: Aborted login by logging out (no auth attempts in 0 secs): user=<>, rip=87.177.151.150, lip=135.181.130.22, TLS, session=<5lakDTLmYONXsZeW>
Aug 14 13:45:36 beta systemd[1]: Started Session 156229 of user root.
Aug 14 13:45:37 beta systemd[1]: session-156229.scope: Succeeded.
Aug 14 13:45:37 beta systemd[1]: Started Session 156230 of user root.
Aug 14 13:45:38 beta systemd[1]: session-156230.scope: Succeeded.
Aug 14 13:45:38 beta systemd[1]: Started Session 156231 of user root.
Aug 14 13:45:38 beta systemd[1]: Started Session 156232 of user root.
Aug 14 13:45:39 beta systemd[1]: session-156231.scope: Succeeded.
Aug 14 13:45:39 beta systemd[1]: session-156232.scope: Succeeded.
Aug 14 13:45:45 beta systemd[1]: Started Session 156233 of user root.
Aug 14 13:45:45 beta systemd[1]: session-156233.scope: Succeeded.
Aug 14 13:45:54 beta systemd[1]: Started Session 156234 of user root.
Aug 14 13:45:54 beta systemd[1]: session-156234.scope: Succeeded.
Aug 14 13:45:56 beta systemd[1]: Started Session 156235 of user root.
Aug 14 13:45:56 beta systemd[1]: session-156235.scope: Succeeded.
Aug 14 13:46:02 beta postfix/anvil[2292461]: statistics: max connection rate 2/60s for (smtp:87.177.151.150) at Aug 14 13:37:25
Aug 14 13:46:02 beta postfix/anvil[2292461]: statistics: max connection count 1 for (smtp:87.177.151.150) at Aug 14 13:36:26
Aug 14 13:46:02 beta postfix/anvil[2292461]: statistics: max cache size 1 at Aug 14 13:36:26
Aug 14 13:46:03 beta systemd[1]: Started Session 156236 of user root.
Aug 14 13:46:03 beta systemd[1]: session-156236.scope: Succeeded.
Aug 14 13:46:04 beta systemd[1]: Started Session 156237 of user root.
Aug 14 13:46:04 beta systemd[1]: session-156237.scope: Succeeded.
Aug 14 13:46:10 beta dovecot: pop3-login: Disconnected: Aborted login by logging out (no auth attempts in 0 secs): user=<>, rip=87.177.151.150, lip=135.181.130.22, session=<DbW+DzLmIltXsZeW>
Aug 14 13:46:11 beta systemd[1]: Started Session 156238 of user root.
Aug 14 13:46:11 beta systemd[1]: session-156238.scope: Succeeded.
Aug 14 13:46:11 beta systemd[1]: Started Session 156239 of user root.
Aug 14 13:46:12 beta systemd[1]: session-156239.scope: Succeeded.
Aug 14 13:46:12 beta systemd[1]: Started Session 156240 of user root.
Aug 14 13:46:12 beta systemd[1]: session-156240.scope: Succeeded.
Aug 14 13:46:13 beta systemd[1]: Started Session 156241 of user root.
Aug 14 13:46:13 beta systemd[1]: session-156241.scope: Succeeded.
Aug 14 13:46:14 beta systemd[1]: Started Session 156242 of user root.
Aug 14 13:46:14 beta systemd[1]: session-156242.scope: Succeeded.
Aug 14 13:46:16 beta systemd[1]: Started Session 156243 of user root.
Aug 14 13:46:17 beta systemd[1]: session-156243.scope: Succeeded.
Aug 14 13:46:17 beta postfix/smtpd[1080767]: connect from p57b19796.dip0.t-ipconnect.de[87.177.151.150]
Aug 14 13:46:17 beta postfix/smtpd[1080767]: disconnect from p57b19796.dip0.t-ipconnect.de[87.177.151.150] helo=1 quit=1 commands=2
Aug 14 13:46:24 beta systemd[1]: Started Session 156244 of user root.
Aug 14 13:46:24 beta systemd[1]: session-156244.scope: Succeeded.

apache error_log
[Sun Aug 14 06:13:38.122624 2022] [core:error] [pid 550499] [client 87.177.151.150:7234] End of script output before headers: remote.php
[Sun Aug 14 06:14:30.746642 2022] [fcgid:warn] [pid 400962] [client 87.177.151.150:64917] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 06:14:30.746763 2022] [core:error] [pid 400962] [client 87.177.151.150:64917] End of script output before headers: remote.php
[Sun Aug 14 06:43:16.994517 2022] [fcgid:warn] [pid 557236] [client 87.177.151.150:18011] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 06:43:16.994573 2022] [core:error] [pid 557236] [client 87.177.151.150:18011] End of script output before headers: remote.php
[Sun Aug 14 06:51:04.632167 2022] [fcgid:warn] [pid 550499] (32)Broken pipe: [client 87.177.151.150:53574] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Sun Aug 14 06:57:29.135553 2022] [fcgid:warn] [pid 623778] [client 87.177.151.150:25700] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 06:57:29.135602 2022] [core:error] [pid 623778] [client 87.177.151.150:25700] End of script output before headers: remote.php
[Sun Aug 14 06:59:32.592947 2022] [fcgid:warn] [pid 442238] [client 87.177.151.150:19235] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 06:59:32.593044 2022] [core:error] [pid 442238] [client 87.177.151.150:19235] End of script output before headers: remote.php
[Sun Aug 14 07:08:26.174638 2022] [fcgid:warn] [pid 599739] [client 87.177.151.150:62315] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 07:08:26.174714 2022] [core:error] [pid 599739] [client 87.177.151.150:62315] End of script output before headers: remote.php
[Sun Aug 14 07:11:36.266483 2022] [fcgid:warn] [pid 646901] [client 87.177.151.150:32854] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 07:11:36.266529 2022] [core:error] [pid 646901] [client 87.177.151.150:32854] End of script output before headers: remote.php
[Sun Aug 14 07:51:13.044549 2022] [fcgid:warn] [pid 557236] (32)Broken pipe: [client 87.177.151.150:25880] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Sun Aug 14 07:51:13.683918 2022] [fcgid:warn] [pid 633827] (32)Broken pipe: [client 87.177.151.150:26858] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Sun Aug 14 10:01:36.678503 2022] [fcgid:warn] [pid 845511] [client 87.177.151.150:2301] mod_fcgid: read data timeout in 300 seconds
[Sun Aug 14 10:01:36.678534 2022] [core:error] [pid 845511] [client 87.177.151.150:2301] End of script output before headers: remote.php
[Sun Aug 14 10:38:36.457080 2022] [fcgid:warn] [pid 874318] (32)Broken pipe: [client 87.177.151.150:15300] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Sun Aug 14 11:36:26.220801 2022] [fcgid:warn] [pid 894788] (104)Connection reset by peer: [client 87.177.151.150:23398] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

apache access_ssl_log
87.177.151.150 - - [14/Aug/2022:13:47:47 +0200] “PROPFIND /remote.php/dav/calendars/ulrike/personal/ HTTP/1.1” 207 2211 “-” “macOS/12.3.1 (21E258) CalendarAgent/961.4.2”
87.177.151.150 - - [14/Aug/2022:13:47:58 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 6613 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:47:43 +0200] “REPORT /remote.php/dav/calendars/amadea/inbox/ HTTP/1.1” 207 6652 “-” “macOS/12.3.1 (21E258) CalendarAgent/961.4.2”
87.177.151.150 - - [14/Aug/2022:13:49:45 +0200] “PROPFIND / HTTP/1.1” 405 6271 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:47 +0200] “PROPFIND /principals/ HTTP/1.1” 405 6577 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:47 +0200] “PROPFIND /calendar/dav/harald/user/ HTTP/1.1” 405 6577 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:54 +0200] “GET / HTTP/1.1” 302 6653 “-” “check_http/v2.2 (monitoring-plugins 2.2)”
87.177.151.150 - - [14/Aug/2022:13:48:16 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 6613 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:58 +0200] “PROPFIND /.well-known/caldav HTTP/1.1” 301 6031 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:58 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 401 1211 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:50:06 +0200] “GET /status.php HTTP/1.0” 200 6813 “-” “-”
87.177.151.150 - - [14/Aug/2022:13:48:35 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 6613 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:50:14 +0200] “PROPFIND / HTTP/1.1” 405 6271 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:50:14 +0200] “PROPFIND /principals/ HTTP/1.1” 405 6577 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:50:15 +0200] “PROPFIND /calendar/dav/harald/user/ HTTP/1.1” 405 6577 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:48:54 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 6613 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:49:11 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 6613 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:50:52 +0200] “GET / HTTP/1.1” 302 6659 “-” “check_http/v2.2 (monitoring-plugins 2.2)”
87.177.151.150 - - [14/Aug/2022:13:51:02 +0200] “PROPFIND /.well-known/caldav HTTP/1.1” 301 6031 “-” “iOS/15.6 (19G71) remindd/1.0”
87.177.151.150 - - [14/Aug/2022:13:51:02 +0200] “PROPFIND /remote.php/dav/ HTTP/1.1” 401 1211 “-” “iOS/15.6 (19G71) remindd/1.0”

Danke für die Logs.
Also bevor wir hier lang an die Einstellungen rumdrehen. Vorab würde ich ein paar test mit anderen ios Gräten versuchen. Denn so wie das ausschaut ist der Fehler “nur” am einen Gerät.
IPhone 7
ios Geräte sind immer ein wenig zickig was die verbindung zur NC angeht.

Und noch ein paar daten bitte.

memory_limit =

memory_limit = 512M

leider sind es alle ios geräte, iphone 11, 12, 13 und ipad pro. Alle mit iOS 15.x

Danke für Nachsehen

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.