Skip to content

[stable35] fix(installer): re-enable version-incompatible apps after appstore update - #63761

Merged
AndyScherzinger merged 1 commit into
stable35from
backport/60591/stable35
Aug 28, 2026
Merged

[stable35] fix(installer): re-enable version-incompatible apps after appstore update#63761
AndyScherzinger merged 1 commit into
stable35from
backport/60591/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 28, 2026

Copy link
Copy Markdown

Backport of PR #60591

…pdate

When a Nextcloud server is upgraded to a new major version, apps incompatible
with the old version range are automatically disabled. Previously, updating
such an app via the web UI (or occ app:update) would download and upgrade the
app files but leave the app disabled, requiring a manual re-enable or
reinstall.

updateAppstoreApp() now checks whether the app was disabled due to version
incompatibility before downloading the update. After a successful upgradeApp(),
if those conditions were true, enableApp() is called automatically.

Also adds debug logging to previously-silent return paths in
isUpdateAvailable() (git-installed apps, no newer version found, app not in
store), making update failures diagnosable from debug logs.

Signed-off-by: Anna Larch <anna@nextcloud.com>
Assisted-by: ClaudeCode:claude-opus-5
@AndyScherzinger
AndyScherzinger merged commit 7e87896 into stable35 Aug 28, 2026
238 of 246 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/60591/stable35 branch August 28, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants