I just set up docmost on my server via docker compose behind a nginx.
Everything seems to be working except for file uploads (and draw.io, etc.)
version v0.80.0
{
"level":"error",
"time":"2026-04-15T21:20:59.021Z",
"pid":45,
"hostname":"c3f990ab1bef",
"req":{
"method":"POST",
"url":"/api/files/upload",
"ip":"172.20.0.1",
"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0"
},
"context":"AttachmentController",
"err":{
"type":"BadRequestException",
"message":"Error uploading file to drive",
"stack":"BadRequestException: Error uploading file to drive\n at AttachmentService.uploadToDrive (/app/apps/server/dist/core/attachment/services/attachment.service.js:176:19)\n at async AttachmentService.uploadFile (/app/apps/server/dist/core/attachment/services/attachment.service.js:68:9)\n at async AttachmentController.uploadFile (/app/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"
}