nextcloud / nextcloud/server

`user_saml` app disabled on upgrade process (27 > 28) caused all users Favorites to be deleted

Open
#47,602 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 28-feedback bug feature: apps management feature: install and update
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CLI major-version upgrade flow and its app compatibility handling, then trace the Cleanup step described in the reproduction. Done means a compatible user_saml app is not incorrectly disabled during the upgrade and users' Favorites are preserved; no specific files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.