manyfold icon indicating copy to clipboard operation
manyfold copied to clipboard

Some uploaded files ending up still stored in cache

Open Floppy opened this issue 3 months ago • 3 comments

Sometimes, when a file is uploaded, the storage stays as "cache" and the ID is ".manyfold/{something}.stl" - the model then doesn't load properly. The file has been put in the right place on the storage filesystem, but the attachment metadata is wrong somehow.

I've got an example of this on my personal instance, and it seems to be repeatable, in that if I upload the same file to the same place again, it comes out the same way.

I've seen a mention of attachments remaining in cache storage before, could have been on Matrix.

Floppy avatar Nov 02 '25 12:11 Floppy

OK, we've gotta fix this. I've now got a few examples that seem to be predictable.

Floppy avatar Dec 12 '25 10:12 Floppy

This could be a clue - the versions that failed upload don't seem to have digests. Could something be going wrong in the file metadata analysis? They do have dimensions, so assimp analysis has worked.

Floppy avatar Dec 12 '25 10:12 Floppy

It's NOT filetype related - I see it with 3MF and STL files, at least.

Floppy avatar Dec 12 '25 10:12 Floppy

OK; my initial experiments didn't fix it, but I have managed to create a task that will run at startup time that will fix affected files automatically. Still looking for the root cause, but at least the next release will have a mitigation. Took ages though, as it highlighted another problem which had a few hidden layers.

Floppy avatar Dec 17 '25 16:12 Floppy