Skip to content

Nextcloud Upgrade 33.0.0.16 to 33.0.2.2 not working #2564

@michaelsaretz

Description

@michaelsaretz

When updating from 33.0.0.16 to 33.0.2.2 nextcloud hangs at
"Aktualisierung erforderlich
Bitte den Kommandozeilen-Updater verwenden, die Browser-Aktualisierung ist in der config.php deaktiviert."

The installation is on a truenas scale system as app (docker based). Normally there is no user interaction needed. I tried occ upgrade -v. It does run successful but the website is still the same.
Maybe the value in DB is not changed by nextcloud? I am hanging. Please help!

occ upgrade:

occ upgrade -v
2026-04-04T06:50:43+00:00 Setting log level to debug
2026-04-04T06:50:43+00:00 Turned on maintenance mode
2026-04-04T06:50:43+00:00 Repair step: Repair MySQL collation
2026-04-04T06:50:43+00:00 Repair info: Not a mysql database -> nothing to do
2026-04-04T06:50:43+00:00 Repair step: Copy data from accounts table when migrating from ownCloud
2026-04-04T06:50:43+00:00 Repair step: Drop account terms table when migrating from ownCloud
2026-04-04T06:50:43+00:00 Updating database schema
2026-04-04T06:50:43+00:00 Updated database
2026-04-04T06:50:43+00:00 Repair step: Repair MySQL collation
2026-04-04T06:50:43+00:00 Repair info: Not a mysql database -> nothing to do
2026-04-04T06:50:43+00:00 Repair step: Clean tags and favorites
2026-04-04T06:50:43+00:00 Repair info: 0 tags of deleted users have been removed.
2026-04-04T06:50:43+00:00 Repair info: 0 tags for delete files have been removed.
2026-04-04T06:50:43+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2026-04-04T06:50:43+00:00 Repair info: 0 tags with no entries have been removed.
2026-04-04T06:50:43+00:00 Repair step: Repair invalid shares
2026-04-04T06:50:43+00:00 Repair step: Move .step file of updater to backup location
2026-04-04T06:50:43+00:00 Repair step: Add move avatar background job
2026-04-04T06:50:43+00:00 Repair info: Repair step already executed
2026-04-04T06:50:43+00:00 Repair step: Add preview cleanup background jobs
2026-04-04T06:50:43+00:00 Repair step: Migrate oc_properties table to nextcloud schema
2026-04-04T06:50:43+00:00 Repair info: oc_properties table does not exist.
2026-04-04T06:50:43+00:00 Repair step: Migrate oauth2_clients table to nextcloud schema
2026-04-04T06:50:43+00:00 Repair info: Update the oauth2_access_tokens table schema.
2026-04-04T06:50:43+00:00 Repair info: Update the oauth2_clients table schema.
2026-04-04T06:50:43+00:00 Repair info: Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
2026-04-04T06:50:43+00:00 Repair step: Repair language codes
2026-04-04T06:50:43+00:00 Repair step: Add log rotate job
2026-04-04T06:50:43+00:00 Repair step: Clear frontend caches
2026-04-04T06:50:43+00:00 Repair info: Image cache cleared
2026-04-04T06:50:43+00:00 Repair info: JS cache cleared
2026-04-04T06:50:43+00:00 Repair step: Clear every generated avatar
2026-04-04T06:50:43+00:00 Repair step: Add preview background cleanup job
2026-04-04T06:50:43+00:00 Repair step: Queue a one-time job to cleanup old backups of the updater
2026-04-04T06:50:43+00:00 Repair step: Cleanup invalid photocache files for carddav
2026-04-04T06:50:43+00:00 Repair step: Add background job to cleanup login flow v2 tokens
2026-04-04T06:50:43+00:00 Repair step: Remove potentially over exposing share links
2026-04-04T06:50:43+00:00 Repair info: No need to remove link shares.
2026-04-04T06:50:43+00:00 Repair step: Clear access cache of projects
2026-04-04T06:50:43+00:00 Repair step: Reset generated avatar flag
2026-04-04T06:50:43+00:00 Repair step: Keep legacy encryption enabled
2026-04-04T06:50:43+00:00 Repair step: Check encryption key format
2026-04-04T06:50:43+00:00 Repair step: Remove old dashboard app config data
2026-04-04T06:50:43+00:00 Repair step: Add job to cleanup the bruteforce entries
2026-04-04T06:50:43+00:00 Repair step: Queue a one-time job to check for user uploaded certificates
2026-04-04T06:50:43+00:00 Repair step: Repair DAV shares
2026-04-04T06:50:43+00:00 Repair step: Add background job to set the lookup server share state for users
2026-04-04T06:50:44+00:00 Repair step: Add token cleanup job
2026-04-04T06:50:44+00:00 Repair step: Clean up abandoned apps
2026-04-04T06:50:44+00:00 Repair step: Add possibly missing system config
2026-04-04T06:50:44+00:00 Repair step: Add AI tasks cleanup jobs
2026-04-04T06:50:44+00:00 Repair step: Queue a job to generate metadata
2026-04-04T06:50:44+00:00 Repair step: Cache logo dimension to fix size in emails on Outlook
2026-04-04T06:50:44+00:00 Repair info: Theming is not used to provide a logo
2026-04-04T06:50:44+00:00 Repair step: Remove legacy ".ocdata" file
2026-04-04T06:50:44+00:00 Repair step: Add cleanup-deleted-users background job
2026-04-04T06:50:44+00:00 Repair step: Validate account properties and store phone numbers in a known format for search
2026-04-04T06:50:44+00:00 Repair info: Queued background to validate account properties.
2026-04-04T06:50:44+00:00 Repair step: Queue a job to move the preview
2026-04-04T06:50:44+00:00 Repair step: Migrate config keys
2026-04-04T06:50:44+00:00 Starting code integrity check...
2026-04-04T06:50:49+00:00 Finished code integrity check
2026-04-04T06:50:49+00:00 Update successful
2026-04-04T06:50:49+00:00 Turned off maintenance mode
2026-04-04T06:50:49+00:00 Resetting log level

occ status:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
  - installed: true
  - version: 33.0.2.2
  - versionstring: 33.0.2
  - edition:
  - maintenance: false
  - needsDbUpgrade: true
  - productname: Nextcloud
  - extendedSupport: false

occ config:list system

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "33.0.0.16",
        "overwrite.cli.url": "url",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 0,
        "maintenance": false,
        "default_phone_region": "DE",
        "default_language": "de",
        "session_lifetime": 3600,
        "auto_logout": true,
        "trusted_domains": [
            "127.0.0.1",
            "IP",
           ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions