Some uploaded files ending up still stored in cache
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.
OK, we've gotta fix this. I've now got a few examples that seem to be predictable.
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.
It's NOT filetype related - I see it with 3MF and STL files, at least.
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.