Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Docmost
  3. [Docmost - Unstable] File uploads failing with "Error processing file upload"

[Docmost - Unstable] File uploads failing with "Error processing file upload"

Scheduled Pinned Locked Moved Docmost
1 Posts 1 Posters 16 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hakunamatata
    wrote last edited by hakunamatata
    #1

    I am testing the new unstable release of Docmost and encountering a consistent 400 Bad Request error when attempting to use the file attachment feature in the editor. The upload fails immediately, regardless of file size (tested with files as small as 30kb).

    Environment:

    Host: Cloudron 9.1.3
    App: Docmost 0.70.3

    Steps to Reproduce:

    1. Install the unstable Docmost app.
    2. Open any document and attempt to insert an attachment or image.
    3. Select a small file (e.g., 30kb).
    4. The UI throws an upload error, "Error processing file upload."

    App Logs:
    The logs show a clear BadRequestException indicating the storage backend is either unconfigured or inaccessible:

    2026-03-22T16:08:56Z {"level":"error","time":"2026-03-22T16:08:56.462Z","pid":92,"hostname":"914b186f-aa30-4c30-929d-c63219d35ecf","req":{"method":"POST","url":"/api/files/upload","ip":"X.X.X.X","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3.1 Safari/605.1.15"},"context":"AttachmentController","err":{"type":"BadRequestException","message":"Error uploading file to drive","stack":"BadRequestException: Error uploading file to drive\n    at AttachmentService.uploadToDrive (/app/code/apps/server/dist/core/attachment/services/attachment.service.js:176:19)\n    at async AttachmentService.uploadFile (/app/code/apps/server/dist/core/attachment/services/attachment.service.js:68:9)\n    at async AttachmentController.uploadFile (/app/code/apps/server/dist/core/attachment/attachment.controller.js:89:34)","response":{"type":"Object","message":"Error uploading file to drive","stack":"","error":"Bad Request","statusCode":400},"status":400,"options":{},"name":"BadRequestException"},"msg":"Error uploading file to drive"}
    2026-03-22T16:08:56Z {"level":"error","time":"2026-03-22T16:08:56.462Z","pid":92,"hostname":"914b186f-aa30-4c30-929d-c63219d35ecf","req":{"method":"POST","url":"/api/files/upload","ip":"X.X.X.X","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3.1 Safari/605.1.15"},"context":"AttachmentService","msg":"Error uploading file to drive:"}
    

    Expected Behavior:
    The app should successfully accept the file and store it in the designated local storage path within /app/data/.

    1 Reply Last reply
    2

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search