WebDAV: mime is required


In my quest to resolve this issue, I’ve examined logs and reviewed the setup details, but I’m still encountering the problem.

I have observed the following problem:

Our Rocket.Chat Server is hosted via Cloudron, and we also have a Nextcloud Instance running on the same Cloudron instance. The issue arises when attempting to integrate Nextcloud with Rocket.Chat using WebDAV. Initially, the integration process appears successful as I can save the Nextcloud account details without any errors.

However, the problem occurs when I try to upload files from WebDAV to a Rocket.Chat channel. At this point, the Rocket.Chat app crashes, and I receive the following error message in the console: “mime is required.”

I’m uncertain about how to resolve this error, and I would greatly appreciate any assistance or insights. Thank you for your help!

Server Setup Information

  • Version of Rocket.Chat Server: 6.3.5
  • Operating System: Ubuntu 22.04.3 LTS
  • Deployment Method: Cloudron
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.3 - x64
  • MongoDB Version: 4.4.19
  • Proxy: Cloudron
  • Firewalls involved: Security - Cloudron Docs

Any additional Information

Full JS Stacktrace:

Error: mime is required
    at l (getNodeIconType.ts:1:6286)
    at eval (WebdavFilePickerTable.tsx:1:1456)
    at Array.map (<anonymous>)
    at p (WebdavFilePickerTable.tsx:1:1429)
    at Ii (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:59708)
    at hs (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:69188)
    at $c (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:112589)
    at nu (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:98852)
    at tu (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:98780)
    at eu (1a9cee0c3ed461b59a5031bc4d007a947e06ee4a.js?meteor_js_resource=true:130:98643)