nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
977 stars 240 forks source link

SQL error : "column "deleted_at" does not exist" after upgrade to Nextcloud 22 #4095

Closed Quoorex closed 2 years ago

Quoorex commented 2 years ago

Steps to reproduce

  1. Run Nextcloud 21.0.9 with Calendar app version 3.2.2
  2. Upgrade to Nextcloud 22.2.5
  3. Try to open the calendar or sync calendar data with any WebDAV client

Expected behavior

With Nextcloud 21.0.9 the calendar opens and works just as expected.

Actual behaviour

After the upgrade to Nextcloud 22.2.5 the calendar app doesn't load at all, and WebDAV clients aren't able to synchronize. All other Nextcloud features are unaffected.

Nextcloud log: NextcloudError

Calendar app version

3.2.2

CalDAV-clients used

Thunderbird Lightning, DAVx5

Browser

Brave 1.29.79

Client operating system

Arch Linux

Server operating system

Armbian (Debian Linux for ARM devices) running on a ROCKPro64

Web server

Nginx

Database engine version

PostgreSQL

PHP engine version

PHP 7.4

Nextcloud version

22.2.5

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

- accessibility: 1.7.0
  - activity: 2.14.3
  - admin_audit: 1.11.0
  - bookmarks: 10.1.0
  - bruteforcesettings: 2.3.0
  - calendar: 3.2.2
  - cloud_federation_api: 1.4.0
  - comments: 1.11.0
  - contacts: 4.0.8
  - contactsinteraction: 1.2.0
  - dashboard: 7.1.0
  - dav: 1.17.1
  - drop_account: 1.0.2
  - extract: 1.3.3
  - federatedfilesharing: 1.11.0
  - federation: 1.11.0
  - files: 1.16.0
  - files_external: 1.12.1
  - files_markdown: 2.3.5
  - files_pdfviewer: 2.1.1
  - files_rightclick: 1.0.0
  - files_sharing: 1.13.1
  - files_trashbin: 1.11.0
  - files_versions: 1.14.0
  - files_videoplayer: 1.10.0
  - firstrunwizard: 2.10.0
  - gpoddersync: 3.2.0
  - hsts: 0.9.0
  - impersonate: 1.8.0
  - logreader: 2.6.0
  - lookup_server_connector: 1.9.0
  - mail: 1.11.7
  - maps: 0.1.10
  - metadata: 0.15.0
  - nextcloud_announcements: 1.10.0
  - notes: 4.3.1
  - notifications: 2.9.0
  - oauth2: 1.9.0
  - password_policy: 1.11.0
  - photos: 1.3.0
  - privacy: 1.5.0
  - provisioning_api: 1.11.0
  - recommendations: 1.0.0
  - serverinfo: 1.11.0
  - settings: 1.3.0
  - sharebymail: 1.11.0
  - support: 1.4.0
  - survey_client: 1.9.0
  - systemtags: 1.11.0
  - text: 3.2.0
  - theming: 1.12.0
  - twofactor_backupcodes: 1.10.0
  - unsplash: 1.2.4
  - updatenotification: 1.11.0
  - user_external: 2.1.0
  - user_status: 1.1.1
  - viewer: 1.5.0
  - weather_status: 1.1.0
  - workflowengine: 2.3.1

Nextcloud configuration

{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "dbtype": "pgsql",
        "version": "21.0.9.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "",
        "overwritewebroot": "\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "app_install_overwrite": [
            "keeweb",
            "files_external_gdrive",
            "drop_account"
        ],
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "has_rebuilt_cache": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "default_phone_region": "DE",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587"
    }
}

Web server error log

No response

Log file

{"reqId":"e2B6giEnEMWZfOSUlUXN","level":4,"time":"2022-03-21T10:32:33+00:00","remoteAddr":"0.0.0.0","user":"User","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/calendars/User/importiert-feiertage-deutschlandics/","message":"An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"deleted_at\" does not exist\nLINE 1: ...n\", \"timezone\", \"calendarorder\", \"calendarcolor\", \"deleted_a...\n                                                             ^","userAgent":"DAVx5/4.1-ose (2021/12/29; dav4jvm; okhttp/4.9.1) Android/11","version":"22.2.5.1","exception":{"Exception":"OC\\DB\\Exceptions\\DbalException","Message":"An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"deleted_at\" does not exist\nLINE 1: ...n\", \"timezone\", \"calendarorder\", \"calendarcolor\", \"deleted_a...\n                                                             ^","Code":7,"Trace":[{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":302,"function":"wrap","class":"OC\\DB\\Exceptions\\DbalException","type":"::"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":355,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalendarHome.php","line":158,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php","line":171,"function":"getChild","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":111,"function":"childExists","class":"Sabre\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAVACL/Plugin.php","line":834,"function":"nodeExists","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/DavAclPlugin.php","line":98,"function":"beforeMethod","class":"Sabre\\DAVACL\\Plugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"OCA\\DAV\\Connector\\Sabre\\DavAclPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":166,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/DB/Exceptions/DbalException.php","Line":71,"Previous":{"Exception":"Doctrine\\DBAL\\Exception\\InvalidFieldNameException","Message":"An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"deleted_at\" does not exist\nLINE 1: ...n\", \"timezone\", \"calendarorder\", \"calendarcolor\", \"deleted_a...\n                                                             ^","Code":7,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1780,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\PostgreSQL\\ExceptionConverter","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1719,"function":"handleDriverException","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1067,"function":"convertExceptionDuringQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":300,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":355,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalendarHome.php","line":158,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php","line":171,"function":"getChild","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":111,"function":"childExists","class":"Sabre\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAVACL/Plugin.php","line":834,"function":"nodeExists","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/DavAclPlugin.php","line":98,"function":"beforeMethod","class":"Sabre\\DAVACL\\Plugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"OCA\\DAV\\Connector\\Sabre\\DavAclPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":166,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php","Line":64,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDO\\Exception","Message":"SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"deleted_at\" does not exist\nLINE 1: ...n\", \"timezone\", \"calendarorder\", \"calendarcolor\", \"deleted_a...\n                                                             ^","Code":7,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":94,"function":"new","class":"Doctrine\\DBAL\\Driver\\PDO\\Exception","type":"::"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1057,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":300,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":355,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalendarHome.php","line":158,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php","line":171,"function":"getChild","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":111,"function":"childExists","class":"Sabre\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAVACL/Plugin.php","line":834,"function":"nodeExists","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/DavAclPlugin.php","line":98,"function":"beforeMethod","class":"Sabre\\DAVACL\\Plugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"OCA\\DAV\\Connector\\Sabre\\DavAclPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":166,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":26,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"deleted_at\" does not exist\nLINE 1: ...n\", \"timezone\", \"calendarorder\", \"calendarcolor\", \"deleted_a...\n                                                             ^","Code":"42703","Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":92,"function":"execute","class":"PDOStatement","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1057,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":300,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":355,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/CalDAV/CalendarHome.php","line":158,"function":"getCalendarsForUser","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php","line":171,"function":"getChild","class":"OCA\\DAV\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":111,"function":"childExists","class":"Sabre\\CalDAV\\CalendarHome","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAVACL/Plugin.php","line":834,"function":"nodeExists","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/DavAclPlugin.php","line":98,"function":"beforeMethod","class":"Sabre\\DAVACL\\Plugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"OCA\\DAV\\Connector\\Sabre\\DavAclPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":166,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":92}}},"CustomMessage":"--"},"id":"6238544184635"}

Browser log

No response

Additional info

Nextcloud is running inside a Docker container using the linuxserver/nextcloud image.

I already tried finding a solution through the means outlined here: https://help.nextcloud.com/t/update-to-nextcloud-v22-breaks-calendar-app-column-deleted-at-does-not-exist/135942

From what I could gather so far, the "oc_calendars" table is missing the "deleted_at" column after the upgrade. The column does not exist prior to upgrading and neither does it afterwards, but the calendar app starts throwing the aforementioned errors and stops working due to it.

tcitworld commented 2 years ago

Your upgrade to Nextcloud 22 seems to have partially failed and missed this migration.

Did you run the upgrade through the WebUI? Could it have been a timeout? Do you have logs from when the upgrade occurred?

If you're feeling adventurous and have access to the terminal you can try to execute the migration manually:

php occ migrations:execute dav 1018Date20210312100735
Quoorex commented 2 years ago

I tried upgrading multiple times, each time restoring a backup afterwards. I tried both upgrading through the WebUI and using the command line. Sometimes the upgrade would go through without reporting any errors, and sometimes I would fail the "checking code integrity" step. Regardless, the upgrade always did eventually finish. I will try to run the migration manually and report back to you.

Quoorex commented 2 years ago

After enabling the debug mode of Nextcloud and running php occ migrations:execute dav 1018Date20210312100735 the calendar app does now work.

The updater also didn't seem to report any errors during the upgrade process:

Setting log level to debug
Updating database schema
Updated database
Disabled incompatible app: drop_account
Disabled incompatible app: impersonate
Updating <federation> ...
Updated <federation> to 1.12.0
Updating <lookup_server_connector> ...
Updated <lookup_server_connector> to 1.10.0
Updating <oauth2> ...
Updated <oauth2> to 1.10.0
Updating <password_policy> ...
Updated <password_policy> to 1.12.0
Updating <files> ...
Updated <files> to 1.17.0
Updating <activity> ...
Updated <activity> to 2.15.0
Updating <cloud_federation_api> ...
Updated <cloud_federation_api> to 1.5.0
Updating <dav> ...
Fix broken values of calendar objects

 Done
    0/0 [->--------------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
    0/0 [----->----------------------]   0%
Updated <dav> to 1.20.0
Updating <files_external> ...
Updated <files_external> to 1.13.1
Updating <files_sharing> ...
Updated <files_sharing> to 1.14.0
Updating <files_trashbin> ...
Updated <files_trashbin> to 1.12.0
Updating <files_versions> ...
Updated <files_versions> to 1.15.0
Updating <sharebymail> ...
Updated <sharebymail> to 1.12.0
Updating <workflowengine> ...
Updated <workflowengine> to 2.4.0
Updating <admin_audit> ...
Updated <admin_audit> to 1.12.0
Updating <comments> ...
Updated <comments> to 1.12.0
Updating <firstrunwizard> ...
Updated <firstrunwizard> to 2.11.0
Updating <nextcloud_announcements> ...
Updated <nextcloud_announcements> to 1.11.0
Updating <notifications> ...
Updated <notifications> to 2.10.1
Updating <systemtags> ...
Updated <systemtags> to 1.12.0
Updating <theming> ...
Updated <theming> to 1.13.0
Updating <accessibility> ...
Migrate old user config
 Done
    6/6 [============================] 100%
Updated <accessibility> to 1.8.0
Updating <contactsinteraction> ...
Updated <contactsinteraction> to 1.3.0
Updating <dashboard> ...
Updated <dashboard> to 7.2.0
Updating <federatedfilesharing> ...
Updated <federatedfilesharing> to 1.12.0
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 2.3.1
Updating <files_rightclick> ...
Updated <files_rightclick> to 1.1.0
Updating <files_videoplayer> ...
Updated <files_videoplayer> to 1.11.0
Updating <logreader> ...
Updated <logreader> to 2.7.0
Updating <photos> ...
Updated <photos> to 1.4.0
Updating <privacy> ...
Updated <privacy> to 1.6.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 1.12.0
Updating <recommendations> ...
Updated <recommendations> to 1.1.0
Updating <serverinfo> ...
Updated <serverinfo> to 1.12.0
Updating <settings> ...
Updated <settings> to 1.4.0
Updating <support> ...
Updated <support> to 1.5.0
Updating <survey_client> ...
Updated <survey_client> to 1.10.0
Updating <text> ...
Updated <text> to 3.3.1
Updating <twofactor_backupcodes> ...
Updated <twofactor_backupcodes> to 1.11.0
Updating <updatenotification> ...
Updated <updatenotification> to 1.12.0
Updating <user_status> ...
Updated <user_status> to 1.2.0
Updating <viewer> ...
Updated <viewer> to 1.6.0
Updating <weather_status> ...
Updated <weather_status> to 1.2.0
Update app drop_account from App Store
Update app impersonate from App Store
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level