nextcloud / nextcloud/deck

Upgrade from NC 31 to 32: Board shares got deleted

Open
#7,762 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug need to reproduce
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

When we updated our Nextcloud instances from NC 31.0.14 to 32.0.6 last week, a bunch of board shares went missing.

Reproducing it, the shares are removed from the oc_deck_board_acl table on the first cronjob run after the upgrade, and it seems to involve only boards that are shared with circles that have circles as members themselves (yes, that is possible apparently).

It doesn't seem like the DeletedCircleCleanup migration is at fault, as there's no "Removed circle with id" messages in the logs.

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 by reproducing the upgrade from Nextcloud 31.0.14 to 32.0.6 and inspect the first cronjob run, focusing on deletions from the oc_deck_board_acl table. Read the DeletedCircleCleanup migration and compare its behavior for boards shared with nested circles. Done means those board shares remain present after the upgrade and cronjob run.

Written by the indexing model from the issue text.

Assessment

Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.