Skip to content

App updates show no progress and remain listed until the Updates page is refreshed #61582

Open

Description

@timglong

⚠️ This issue respects the following points: ⚠️

Bug description

Details

After updating to AIO 13.3.0 (with Nextcloud Hub 26 Spring 34.0.0 RC4), manually updating apps via the Apps/Updates interface resulted in the web interface becoming unreachable. Stopping and restarting all containers brought the web interface back up again.

Additionally, there was no indication that the updates were taking place after clicking "Update to X.X.X". In my production environment, clicking Update triggers a spinning circle indicator, and then the updated app is removed from the Updates page. Navigating away from the Updates page and then returning to it cleared the updated apps.

I found the following issues (which I also experienced), but they don't seem to cover all of what I experienced.

Steps to reproduce

  1. Update to AIO 13.3.0 Beta (34.0.0 RC4) from AIO 13.2.1 Beta
  2. Log in as admin and navigate to Apps/Updates
  3. Manually update individual apps

Expected behavior

  1. Updating apps does not impact the web interface.
  2. After clicking Update for an app, there is a visual indicator that the update is taking place, after which the updated app is removed from the Updates page.

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3.31

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "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
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 3,
            "read_timeout": 10
        },
        "overwritehost": "nextcloud.testing.mydomain.tld",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.testing.mydomain.tld"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "34.0.0.10",
        "overwrite.cli.url": "https:\/\/nextcloud.testing.mydomain.tld\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": true,
        "updatedirectory": "\/nc-updater",
        "loglevel": 2,
        "app_install_overwrite": [
            "nextcloud-aio",
            "news"
        ],
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF",
            "24": "OCA\\Eurooffice\\Preview"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": true,
        "mail_smtpport": "465",
        "mail_sendmailmode": "smtp",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        },
        "default_phone_region": "US",
        "serverid": 445,
        "log_type_audit": "file",
        "logfile_audit": "\/var\/www\/html\/data\/audit.log",
        "data-fingerprint": "fa6309432d9e5fffab1fff2d0ae1d3a9",
        "update_channel": "stable",
        "updater.release.channel": "beta",
        "eurooffice": {
            "editors_check_interval": 0,
            "jwt_secret": "19ce98a055336dab26a0b52b8ee82bb499f37af54b72a13c",
            "jwt_header": "AuthorizationJwt"
        },
        "DOMAIN": "nextcloud.testing.mydomain.tld",
        "AIO_VERSION": "v13.3.0"
    }
}

List of activated Apps

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - calendar: 6.5.0
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - comments: 1.24.0
  - contacts: 8.7.1
  - contactsinteraction: 1.15.0
  - dashboard: 7.14.0
  - dav: 1.39.0
  - deck: 1.18.2
  - eurooffice: 11.0.0
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_downloadlimit: 5.2.0-dev.0
  - files_lock: 34.0.0
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - firstrunwizard: 7.0.0-dev.0
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - news: 28.6.0
  - nextcloud-aio: 0.8.0
  - nextcloud_announcements: 6.0.0
  - notes: 6.0.0
  - notifications: 7.0.0-dev.1
  - notify_push: 1.3.3
  - oauth2: 1.22.0
  - office: 1.0.0
  - password_policy: 6.0.0-dev.0
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - recommendations: 7.0.0-dev.0
  - related_resources: 5.0.0-dev.0
  - richdocuments: 11.0.0
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - systemtags: 1.24.0
  - text: 8.0.0
  - theming: 2.9.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_totp: 16.0.0
  - updatenotification: 1.24.0
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - workflowengine: 2.16.0
Disabled:
  - app_api: 34.0.0 (installed 33.0.0)
  - encryption: 2.22.0
  - files_external: 1.26.0
  - photos: 7.0.0 (installed 6.0.0-dev.0)
  - suspicious_login: 12.0.0-dev.0
  - tasks: 0.18.0 (installed 0.18.0)
  - twofactor_nextcloud_notification: 8.0.0
  - user_ldap: 1.25.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

First Error from Admin/Logging:

Level: Error
Application: index

TypeErrorpreg_match(): Argument #2 ($subject) must be of type string, string given

  1. /var/www/html/apps/theming/lib/ThemingDefaults.php - Line 197:
undefinedundefinedpreg_match(
  "/^\\#([0-9a-f]{3}|[0-9a-f]{6})$/i",
  ""
)
  1. /var/www/html/apps/theming/lib/Capabilities.php - Line 88:
OCA\Theming\ThemingDefaults->getColorPrimary()
  1. /var/www/html/lib/private/CapabilitiesManager.php - Line 60:
OCA\Theming\Capabilities->getCapabilities()
  1. /var/www/html/lib/private/Template/JSConfigHelper.php - Line 141:
OC\CapabilitiesManager->getCapabilities(
  false,
  true
)
  1. /var/www/html/lib/private/TemplateLayout.php - Line 249:
OC\Template\JSConfigHelper->getConfig()
  1. /var/www/html/lib/private/Template/Template.php - Line 117:
OC\TemplateLayout->getPageTemplate(
  "user",
  "settings"
)
  1. /var/www/html/lib/public/AppFramework/Http/TemplateResponse.php - Line 196:
OC\Template\Template->fetchPage(
  {
    "content": html content removed due to length
    "pageTitle": "Overview",
    "activeSectionId": "overview",
    "activeSectionType": "admin"
  }
)
  1. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - Line 124:
OCP\AppFramework\Http\TemplateResponse->render()
  1. /var/www/html/lib/private/AppFramework/App.php - Line 137:
OC\AppFramework\Http\Dispatcher->dispatch(
  {
    "__class__": "OCA\\Settings\\Controller\\AdminSettingsController"
  },
  "index"
)
  1. /var/www/html/lib/private/Route/Router.php - Line 324:
OC\AppFramework\App::main(
  "OCA\\Settings\\Controller\\AdminSettingsController",
  "index",
  {
    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
  },
  {
    "_route": "settings.adminsettings.index",
    "section": "overview"
  }
)
  1. /var/www/html/lib/base.php - Line 1160:
OC\Route\Router->match(
  "/settings/admin"
)
  1. /var/www/html/index.php - Line 25:
OC::handleRequest()

Additional info

Full logs

Initially reported here: nextcloud/all-in-one#8381

Activity

  1. added
    0. Needs triage
    on Jun 24, 2026
  2. added theissue type on Jun 24, 2026
  3. transferred this issue fromnextcloud/serveron Jun 24, 2026
  4. BernieO commented on Jun 25, 2026

    @BernieO
    Contributor

    Are you running Nextcloud-aio on an ARM-machine?

    I have the same issue running Nextcloud (not aio) on an ARM machine. Can you try disabling opcache.jit? That helped in my case and for another user as well (see according post at help.nextcloud.com).

  5. timglong commented on Jun 25, 2026

    @timglong
    Author

    Are you running Nextcloud-aio on an ARM-machine?

    No, this is an older Intel machine, specifically an i5-6600K.

  6. timglong commented on Jun 25, 2026

    @timglong
    Author

    I added the first error to the initial post and tried to format it the best I could. All of the errors are in the full log file, but trying to get them into a readable format is challenging (i.e., the first error has 12 sections, later ones have 45). They all seem to reference the same PHP issue:

    preg_match(): Argument #2 ($subject) must be of type string, string given in file '/var/www/html/apps/theming/lib/ThemingDefaults.php' line 197
    
  7. MiniVader commented on Jun 25, 2026

    @MiniVader

    Did you already clear your PHP opcode cache? If not that's likely the culprit.

  8. 10 remaining items

  9. self-assigned this
    on Jul 4, 2026
  10. susnux commented on Jul 4, 2026

    @susnux
    Contributor

    I was not really able to reproduce this issue.
    Once I press "update to version XY" and the update has completed it is removed from the list of updates for me.

  11. added and removed on Jul 5, 2026
  12. drankinatty commented on Jul 7, 2026

    @drankinatty

    Things are better in NC 34.0.1. I was able to update and have the update check mark go away. This has only happened once since the update to 34.0.1, so I can't call it fixed until I see it is repeatable.

  13. timglong commented on Jul 8, 2026

    @timglong
    Author

    I haven't had any apps to update (I should have left a few un-updated!) until just now--the behavior is the same for me. Here's what it looks like. I suppose I could have done a video, but nothing happens after entering the password so it wouldn't be a very interesting video.

    Initial /settings/apps/updates screen after clicking "Update to 8.7.3" -- this is AIO 13.3.1, NC 34.0.0 RC4, PHP 8.3.31. Image
    Before reloading, note no spinning wheel icon, and the update button stays put. Image
    What happens after reloading /settings/apps/updates. Image
    Immediately after taking these screenshots I figured out how to do a video. This is what happens on my production instance (AIO 13.3.1, NC 33.0.6, PHP 8.3.31).
    prod.update.mp4
  14. drankinatty commented on Jul 13, 2026

    @drankinatty

    I have had a successful update of calendar on the apps page -- but getting there from the bell-icon that shows an update is impossible. When I click on the bell update to review the updates -- I'm taken to the dashboard every time. I have to use the Menu -> Apps to get to the apps to update. This is a new "feature" in 34. Not sure it is related to the app page refresh issue, but it is definitely a problem with the notification and actually performing the update.

    On the upside, calendar update from the Apps page went fine in 34.0.1 - once I got there :)

  15. susnux commented on Jul 13, 2026

    @susnux
    Contributor

    Ok so the problem is not the update action but the update view.
    That makes sense, will look into this.

  16. added
    1. to develop
    and removed
    0. Needs triage
    on Nov 24, 2026
  17. changed the title [-][Bug]: App not marked as updated in appstore UI[/-] [+]App updates show no progress and remain listed until the Updates page is refreshed[/+] on Nov 24, 2026
  18. added
    papercut
    on Nov 24, 2026
  19. susnux commented on Dec 2, 2026

    @susnux
    Contributor

    Status update on current master:

    Once the backports are released, could you check whether the updated app now disappears from the list without a reload?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1. to develop34-feedbackbugfeature: apps managementpapercutregression

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions