FeatureFuel
0

[Bug]: After update 33.0.2 → 33.0.3, occ upgrade does not populate new MIME types — files download instead of opening in viewer

Source: nextcloud/server#60129 · opened by @nkjf-de
Steps to reproduce 1. Update Nextcloud from 33.0.2 to 33.0.3 via occ upgrade 2. Open any Office file (.docx, .xlsx, .pptx, .odt, etc.) in the Files app Expected behavior File opens in Nextcloud Office (richdocuments/Collabora) Actual behavior Browser immediately triggers a download dialog. Files are downloaded instead of opened. Fix Manually running the following commands resolves the issue: php occ maintenance:mimetype:update-db php occ maintenance:mimetype:update-js Output: "Added 88 new mimetypes" — all missing after the 33.0.2 → 33.0.3 update. Environment Nextcloud: 33.0.2 → 33.0.3 richdocuments (Collabora): 10.1.3 viewer: 6.0.0 PHP OPcache: enabled (Apache) DB: MySQL Root cause occ upgrade does not call maintenance:mimetype:update-db during the 33.0.2 → 33.0.3 patch migration. New MIME types added to mimetypemapping.json in 33.0.3 are never written to the oc_mimetypes table, so Nextcloud cannot route file opens to the correct viewer app — it falls back to a browser…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests