nextcloud / nextcloud/richdocuments
Migration/upgrade did not change version to varchar from int(11)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
In Nextcloud 32.0.6, and richdocuments 9.0.5, the version column on oc_richdocuments_wopi is an int(11). However, latest collabora reports the version as "25.04.9.4", leading to errors abour an unauthorized WOPI host (but the issue is the database insert)
It can be fixed with the command below:
ALTER TABLE oc_richdocuments_wopi
MODIFY COLUMN version VARCHAR(50) DEFAULT '0';
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the migration or upgrade entry point that creates or alters the oc_richdocuments_wopi table, then inspect how the version column is defined. Update the upgrade path so existing installations accept the reported Collabora version string, and verify that the schema change is applied successfully during migration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100