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.
Comments
Similar requests
Add DNG (`image/x-adobe-dng`) mimetype
0 votes · 0 comments
[RFC] Files mime icons theming
1 vote · 0 comments
[Bug]: Setting db password with `occ` does not work if you nextcloud does not have access to the db.
1 vote · 0 comments
Allow filesize and mimetype not only on upload
0 votes · 0 comments
Running "occ files:scan" ignores request to scan (and clear) a missing file
1 vote · 0 comments
No comments yet.