<!-- Thanks for reporting issues back to Nextcloud! This is the issue tracker of the User SAML app, if you have any support question please check out https://help.nextcloud.com/ Find other components at https://github.com/nextcloud/core/blob/master/CONTRIBUTING.md#guidelines To make it possible for us to help you please fill out below information carefully. --> ### Steps to reproduce 1. Upgrade to a major version (27 > 28) from the CLI 2. App is disabled as "not compatible" (but it is) by the upgrade script, and re-enabled after also by the script 3. In the meanwhile, all users Favorites (at least) where lost because deleted by the Cleanup step. See also https://github.com/nextcloud/server/issues/7615#issuecomment-386217515