Ich wollte meine nextcloud v 30.0.4 auf 30.0.10 aktualisieren.
- login mit ssh
- php occ upgrade
Die Ausführung bleibt dann bei der folgenden Meldung stehen:
{"reqId":"wfzVM2eVMXavWDj3Ix5G","level":1,"time":"2025-05-08T14:02:30+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::upgradeAppStoreApp: Update app \"calendar\" from appstore","userAgent":"--","version":"30.0.4.1","data":{"app":"updater"}}
Anschliessend deaktiviere ich den maintenance mode, aber es erscheint dann nur die Aufforderung, das Udpate zu starten:
Was soll ich jetzt tun?? Ein erneutes Ausführen des updated, egal ob im GUI oder per command line, bringt mich nur wieder an die gleiche Stelle.
The Basics
- Nextcloud Server version: (30.0.4)
- PHP version (e.g, 8.3):
- 8.1.30
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- when updrading to 30.0.10
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
replace me
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- I don’t think so.
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"aB2V7lI92LIiLon-k3pnRgAAADE","level":0,"time":"2025-05-09T05:43:10+00:00","remoteAddr":"145.40.209.143","user":"sdietschi","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/calendars/sdietschi/","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::andX without parameters is deprecated and will throw soon.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0","version":"31.0.4.1","exception":{"Exception":"Exception","Message":"No parameters in call to OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder::andX","Code":0,"Trace":[{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CoreQueryBuilder.php","line":1354,"function":"andX","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CoreQueryBuilder.php","line":1122,"function":"limitInitiatorVisibility","class":"OCA\\Circles\\Db\\CoreQueryBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CircleRequest.php","line":166,"function":"limitToInitiator","class":"OCA\\Circles\\Db\\CoreQueryBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Service/CircleService.php","line":538,"function":"getCircles","class":"OCA\\Circles\\Db\\CircleRequest","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Api/v1/Circles.php","line":134,"function":"getCircles","class":"OCA\\Circles\\Service\\CircleService","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Connector/Sabre/Principal.php","line":546,"function":"joinedCircles","class":"OCA\\Circles\\Api\\v1\\Circles","type":"::"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalDavBackend.php","line":360,"function":"getCircleMembership","class":"OCA\\DAV\\Connector\\Sabre\\Principal","type":"->"},{"file":"/home/sites/site100039087/web/***/lib/public/AppFramework/Db/TTransactional.php","line":45,"function":"OCA\\DAV\\CalDAV\\{closure}","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalDavBackend.php","line":304,"function":"atomic","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalendarProvider.php","line":28,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/home/sites/site100039087/web/***/lib/private/Calendar/Manager.php","line":187,"function":"getCalendars","class":"OCA\\DAV\\CalDAV\\CalendarProvider","type":"->"},{"function":"OC\\Calendar\\{closure}","class":"OC\\Calendar\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/sites/site100039087/web/***/lib/private/Calendar/Manager.php","line":176,"function":"array_map"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/AppCalendar/AppCalendarPlugin.php","line":52,"function":"getCalendarsForPrincipal","class":"OC\\Calendar\\Manager","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/AppCalendar/AppCalendarPlugin.php","line":34,"function":"getWrappedCalendars","class":"OCA\\DAV\\CalDAV\\AppCalendar\\AppCalendarPlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalendarHome.php","line":118,"function":"fetchAllForCalendarHome","class":"OCA\\DAV\\CalDAV\\AppCalendar\\AppCalendarPlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/DAV/Sharing/Plugin.php","line":185,"function":"getChildren","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"propFind","class":"OCA\\DAV\\DAV\\Sharing\\Plugin","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1664,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1649,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Connector/Sabre/Server.php","line":49,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Server.php","line":398,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/appinfo/v2/remote.php","line":21,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/remote.php","line":145,"args":["/home/sites/site100039087/web/***/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/home/sites/site100039087/web/***/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php","Line":66,"message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::andX without parameters is deprecated and will throw soon.","exception":{},"CustomMessage":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::andX without parameters is deprecated and will throw soon."}}
{"reqId":"aB2V7lI92LIiLon-k3pnRgAAADE","level":0,"time":"2025-05-09T05:43:10+00:00","remoteAddr":"145.40.209.143","user":"sdietschi","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/calendars/sdietschi/","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0","version":"31.0.4.1","exception":{"Exception":"Exception","Message":"No parameters in call to OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder::orX","Code":0,"Trace":[{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CoreQueryBuilder.php","line":1355,"function":"orX","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CoreQueryBuilder.php","line":1122,"function":"limitInitiatorVisibility","class":"OCA\\Circles\\Db\\CoreQueryBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Db/CircleRequest.php","line":166,"function":"limitToInitiator","class":"OCA\\Circles\\Db\\CoreQueryBuilder","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Service/CircleService.php","line":538,"function":"getCircles","class":"OCA\\Circles\\Db\\CircleRequest","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/circles/lib/Api/v1/Circles.php","line":134,"function":"getCircles","class":"OCA\\Circles\\Service\\CircleService","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Connector/Sabre/Principal.php","line":546,"function":"joinedCircles","class":"OCA\\Circles\\Api\\v1\\Circles","type":"::"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalDavBackend.php","line":360,"function":"getCircleMembership","class":"OCA\\DAV\\Connector\\Sabre\\Principal","type":"->"},{"file":"/home/sites/site100039087/web/***/lib/public/AppFramework/Db/TTransactional.php","line":45,"function":"OCA\\DAV\\CalDAV\\{closure}","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalDavBackend.php","line":304,"function":"atomic","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalendarProvider.php","line":28,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/home/sites/site100039087/web/***/lib/private/Calendar/Manager.php","line":187,"function":"getCalendars","class":"OCA\\DAV\\CalDAV\\CalendarProvider","type":"->"},{"function":"OC\\Calendar\\{closure}","class":"OC\\Calendar\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/sites/site100039087/web/***/lib/private/Calendar/Manager.php","line":176,"function":"array_map"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/AppCalendar/AppCalendarPlugin.php","line":52,"function":"getCalendarsForPrincipal","class":"OC\\Calendar\\Manager","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/AppCalendar/AppCalendarPlugin.php","line":34,"function":"getWrappedCalendars","class":"OCA\\DAV\\CalDAV\\AppCalendar\\AppCalendarPlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/CalDAV/CalendarHome.php","line":118,"function":"fetchAllForCalendarHome","class":"OCA\\DAV\\CalDAV\\AppCalendar\\AppCalendarPlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/DAV/Sharing/Plugin.php","line":185,"function":"getChildren","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"propFind","class":"OCA\\DAV\\DAV\\Sharing\\Plugin","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1664,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":1649,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/home/sites/site100039087/web/***/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Connector/Sabre/Server.php","line":49,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/lib/Server.php","line":398,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/apps/dav/appinfo/v2/remote.php","line":21,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/home/sites/site100039087/web/***/remote.php","line":145,"args":["/home/sites/site100039087/web/***/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/home/sites/site100039087/web/***/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php","Line":87,"message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","exception":{},"CustomMessage":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon."}}
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.4.1",
"overwrite.cli.url": "https:\/\/***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance_window_start": 1,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpsecure": "ssl",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"theme": "",
"loglevel": 0,
"app_install_overwrite": [
"backup"
],
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.1.2
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.1
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- support: 3.0.0
- survey_client: 3.0.0
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- viewer: 4.0.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- encryption: 2.19.0
- files_external: 1.23.0
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- user_ldap: 1.22.0
- user_status: 1.11.0 (installed 1.11.0)
- weather_status: 1.11.0 (installed 1.11.0)