[Bug]: Upgrade to 35.0.3 leads to numerous errors
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
調査の方向性
The report centres on the output of sudo -u www-data php ./occ db:schema:check -vvv after an upgrade to 35.0.3, which lists missing tables and columns across core and several apps. Start by reproducing that command on a test instance with a MariaDB database and comparing its output with the schema definitions the payload names, such as oc_federated_invites and oc_jobs. Done means the reporter can explain which migration step failed or was skipped, and the upgrade completes with a clean schema check. The issue does not say what code change is wanted, so confirm the expected fix with maintainers before starting.
索引モデルが issue の本文から書いたものです。
説明
⚠️ This issue respects the following points: ⚠️
- This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
- This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
- I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
- I agree to follow Nextcloud's Code of Conduct.
- I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description
Hi! I have started the upgrade procedure from 35.0.2 to 35.0.3 (the latest) on a bare metal instance. The process took a lot of time, and frozen finally. I have restarted the page and it shows broken UI of the Files app. Sending the CLI occ upgrade command lead to the finishing the procedure. However, the sutuation hasn't changed, the occ db:schema:check -vvv says that there are missing tables.
Steps to reproduce
- upgrade NC to the latest process, feel that the process took very long
- the process is stuck
- the NC UI is broken
- Running the command
sudo -u www-data php ./occ db:schema:check -vvvI see:
missing table 'oc_federated_invites'
oc_jobs: column 'id' differs in: autoincrement
oc_preview_locations: column 'id' differs in: autoincrement
oc_preview_versions: column 'id' differs in: autoincrement
oc_previews: column 'id' differs in: autoincrement
oc_bookmarks_tree: column 'id' differs in: type, autoincrement
oc_bookmarks_folders_public: column 'id' differs in: type, autoincrement
oc_sharing_share_recipients: unexpected index 'UNIQ_734621B62AE63FDB4185A14495A838F'
oc_text_documents: column 'id' differs in: autoincrement
Disabled apps (not affecting exit code):
If the schema for a disabled app differs from what is expected, this might indicate the app was updated since it was disabled. Missing migrations will be applied once the app is enabled again.
Tables listed under '(unknown app)' could not be attributed to any app - most likely leftovers from an app that was removed entirely (occ app:remove only deletes its code, not its tables or config).
app_api:
- missing table 'oc_ex_apps_talk_bots'
- oc_ex_ui_files_actions: missing column 'default_action'
circles:
- missing table 'oc_circles_invitations'
- oc_circles_mount: missing column 'remote'
- oc_circles_mount: missing column 'remote_id'
- oc_circles_mount: missing index 'm_sid_rmt_rid'
(unknown app):
- unexpected table 'oc_ex_text_processing_q'
- unexpected table 'oc_appconfig_ex'
- unexpected table 'oc_ex_speech_to_text'
- unexpected table 'oc_recent_contact'
- unexpected table 'oc_onlyoffice_filekey'
- unexpected table 'oc_richdocuments_direct'
- unexpected table 'oc_preferences_ex'
- unexpected table 'oc_webhook_listeners'
- unexpected table 'oc_files_reminders'
- unexpected table 'oc_ex_text_processing'
- unexpected table 'oc_ex_speech_to_text_q'
- unexpected table 'oc_richdocuments_wopi'
- unexpected table 'oc_richdocuments_template'
- unexpected table 'oc_ex_translation_q'
- unexpected table 'oc_richdocuments_assets'
- unexpected table 'oc_secrets'
- unexpected table 'oc_onlyoffice_permissions'
- unexpected table 'oc_ex_translation'
- unexpected table 'oc_ex_event_handlers'
- unexpected table 'oc_onlyoffice_instance'
files_downloadlimit:
- oc_shares_limits: column 'id' differs in: type, autoincrement
photos:
- oc_photos_albums: missing column 'filters'
Expected behavior
The upgrade should go smoothly without errors.
Nextcloud Server version
35
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
- 主要言語
- PHP
- スター
- 37.5k
- フォーク
- 5.4k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 639
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/server のほかの issue
-
35-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
0. Needs triage 35-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
workflowengine: File entity reuses the node of the first "Tag assigned" event for all later events in the same process対応中かも @lazerg が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Contacts import aborts with TypeError when vCards have no UID (TextImporter structure)対応中かも @SebastianKrupinski が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nextcloud/server#66486 · コメント 2 件 · リアクション 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Unified search: screen reader hears "No matching results" on mobile even when there are results対応中かも @lazerg が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
nextcloud/server の issue をすべて見る
似ている issue
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)オープンsync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
Automattic/blocks-engine#6318 ·
メンテナーはふだん 1 日以内に返信
-
Update: Laravel Cheat Sheet - middleware examples for the bootstrap/app.php layout (small update)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
OWASP/CheatSheetSeries#2990 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信