Skip to content

Apps are disabled during update but not re-enabled #2797

@muchachagrande

Description

@muchachagrande

Steps To Reproduce

  1. Go to 'ssh console'
  2. Use update_nextcloud
  3. Wait to finish
  4. Enter Nextcloud with admin
  5. See many installed and previously enabled apps, now are disabled
  6. Manually re enable installed apps

Expected Result

The installed and enabled apps should be enabled after update

Actual Result

Many installed apps are disabled after update, even when they are compatible apps.

Screenshots, Videos, or Pastebins

No response

Additional Context

The console output shows many lines saying: "Disabled incompatible app: [app name]"

After that, for each disabled app, I can see the following lines:

Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.
See the upgrade documentation: https://docs.nextcloud.com/server/32/go.php?to=admin-update for more information.
Restoring tasks from /mnt/NCBACKUP/apps...
Setting secure permissions...
Creating possible missing Directories
chmod Files and Directories
chown Directories
chmod/chown .htaccess
No such app enabled: [app name]
No upgrade required.

Additionally, for each disabled app, a line appears in Nextcloud log:

Error    no app in context    AppPathNotFoundException Could not find path for [app name]

Build Version

Nextcloud 32.0.5

Environment

By using the scripts, By downloading the VM

Environment Details

Ubuntu 22.04 with PHP 8.3 in a ESXi 7 VM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions