nextcloud / nextcloud/richdocuments

ownCloud to Nextcloud migration step missing

Open
#4,571 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
When migrating from ownCloud to Nextcloud and trying to enable the richdocuments app, the following error is emitted:

Database error when running migration 30709Date20201111104147 for app richdocuments
There is no column with name canwrite on table oc_richdocuments_wopi

Seems to be related to this migration step: https://github.com/nextcloud/richdocuments/blob/65411eab01a17e103f3bc6274b71f2e0733b9a31/lib/Migration/Version30709Date20201111104147.php#L15

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 lib/Migration/Version30709Date20201111104147.php at the linked line and inspect the migration path used when enabling richdocuments after an ownCloud migration. Reproduce the failure while enabling the app and verify that the migration completes without the missing canwrite column error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.