Skip to content

Various errors when uploading files #158

@realfunnyguy

Description

@realfunnyguy

Uploading certain files fails with this error.

The error manifests in different ways

using dolphin results in:

website-1     | NotFound: No such file or directory (os error 2): stat '/app/data-files/53b54cca-5fa7-477f-889d-c55045009850/test/Old Phone data/Movies/20210606_170858.mp4'
website-1     |     at async Object.stat (ext:deno_fs/30_fs.js:427:15)
website-1     |     at async getFilePaths (file:///app/lib/utils/webdav.ts:61:18)
website-1     |     at async buildPropFindResponse (file:///app/lib/utils/webdav.ts:105:21)
website-1     |     at async handler (file:///app/pages/dav.ts:237:25)
website-1     |     at async Object.handler (file:///app/routes.ts:146:22)
website-1     |     at async handler (file:///app/main.ts:97:24)
website-1     |     at async mapped (ext:deno_http/00_serve.ts:386:18) {
website-1     |   code: "ENOENT"
website-1     | }
website-1     | 2026-04-08T22:19:28.634Z - [404] PROPFIND http://bewcloud.tail0c9062.ts.net/dav/test/Old%20Phone%20data/Movies/20210606_170858.mp4

using cadaver results in:

website-1     | IsADirectory: Is a directory (os error 21): open '/app/data-files/53b54cca-5fa7-477f-889d-c55045009850/test/Old Phone data/Movies'
website-1     |     at Object.open (ext:deno_fs/30_fs.js:558:21)
website-1     |     at handler (file:///app/pages/dav.ts:99:34)
website-1     |     at async Object.handler (file:///app/routes.ts:113:22)
website-1     |     at async handler (file:///app/main.ts:97:24)
website-1     |     at async mapped (ext:deno_http/00_serve.ts:386:18) {
website-1     |   code: "EISDIR"
website-1     | }
website-1     | 2026-04-08T21:53:19.899Z - [404] PUT http://bewcloud.tail0c9062.ts.net/dav/test/Old%20Phone%20data/Movies/

Uploading files directly to the website results in the upload instantly ending with nothing being uploaded.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions