server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: upgrade from 22.2.7 to 22.2.8 disables and deletes most apps by default

Open MarkWieczorek opened this issue 3 years ago • 2 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • [X] I agree to follow Nextcloud's Code of Conduct.

Bug description

I have just upgrade from 22.2.7 to 22.2.8 using the /var/scripts/update.sh minor script that is part of the VM (as used with an installation from Hanssonit). Previous minor upgrades proceeded with no problems, but this time, almost all apps where disabled and deleted. This included, contacts, calendar, music, tasks, news, notes, TOTP, etc. All of these apps are compatible and should have been re-enabled by default.

During the upgrade, I encountered a screen saying that there was some form of problem with each of these apps, and that I could install them from a backup, but that the integrity could not be verified. The default response was not to re-install these apps (sorry I don't have a screenshot). I chose the default "NO" response because the default is the safest answer when you don't understand what is going on, but in retrospect, I should have chosen "YES" instead.

When logging into the ncwebadmin account, these apps were nowhere to be found, and could not be reinstalled from the web interface. It was necessary to copy these apps manually from a backup, change the file permissions, and then re-enable them (see https://github.com/nextcloud/vm/issues/2335). Obviously, this is not something that an average user would want to do. All compatible apps should be re-enabled by default.

Steps to reproduce

  1. use /var/scripts/update.sh minor
  2. click on default response "NO" when confronted with an issue with an app that is known to be compatible with v 22.2.8.

Expected behavior

The expected behavior is that the upgrade process should be as painless as possible.

Installation method

Official VM scripts

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

PostgreSQL

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

No response

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

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

Configuration report

these commands don't work with the Hansson it VM

List of activated Apps

these commands don't work with the Hansson it VM

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

MarkWieczorek avatar May 21 '22 10:05 MarkWieczorek

Hi, please update to at least 23.0.12 and report back if it fixes the issue. Thank you!

szaimen avatar Nov 26 '22 14:11 szaimen

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

nextcloud-command avatar Dec 27 '22 00:12 nextcloud-command