mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 04:25:24 -04:00
bug: During upgrade i get some errors #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0ktav1us on GitHub (Dec 24, 2024).
Originally assigned to: @insertish on GitHub.
What happened?
hello, please help me finish updrad#84
run the migration: get error
And if I continue and run containers, I don't see attachments, it says that the files don't exist
@0ktav1us commented on GitHub (Dec 24, 2024):
new images attach and display
@ThomasBaruzier commented on GitHub (Jan 17, 2025):
Same behavior, here's what allowed me to finish the migration:
And while the autumn server base URL responds with
{"autumn":"Hello, I am a file server!","version":"0.8.1"}, my assets are still not found:@0ktav1us commented on GitHub (Jan 20, 2025):
It worked, thanks, but I get the same error
{"type":"NotFound","location":"crates/services/autumn/src/api.rs:372:20"}@ThomasBaruzier commented on GitHub (Jan 20, 2025):
Well, we're in this together. I'll see what I can do soon enough but i'm pretty sure it's out of my reach.
@0ktav1us commented on GitHub (Jan 20, 2025):
// Ignore files that haven't been attached,
According to this condition we get an error
@0ktav1us commented on GitHub (Jan 20, 2025):
I think we need to compare this piece of code with the old autumn, see how the attachments worked in the old one
@ThomasBaruzier commented on GitHub (Jan 20, 2025):
In my opinion, the migration is not doing its job properly because of my manual dirty fix, hence the missing of attachment retrieval and this error
@ThomasBaruzier commented on GitHub (Feb 12, 2025):
Hello,
I don't want to put any pressure on this, but it would be great if that issue got solved somehow. I'd be happy to cooperate.
Thank you!
@0ktav1us commented on GitHub (Feb 18, 2025):
Please help us to resolve it
@poggingfish commented on GitHub (Mar 6, 2025):
I am having the same issue.. Is there any temporary solution?
@ThomasBaruzier commented on GitHub (Mar 6, 2025):
Not for now, but I haven't tried hard fixing it.
I only fixed the migrarion errors
@poggingfish commented on GitHub (Apr 28, 2025):
I would really love to see this issue get any amount of attention from the devs, I moved to matrix because I didn't want to have to deal with this.
The devs really need to start focusing more on the self hosting process.
@insertish commented on GitHub (May 12, 2025):
Hi, sorry, I'm quite behind on issues across the entire project.
I've added the missing const to the script but I would need more details to understand the issue at hand.
If someone has a file that appears 'NotFound' and can send the database document here that would be appreciated, I can guide you through exporting the document if needed.
@ThomasBaruzier commented on GitHub (Jun 2, 2025):
Hi @insertish,
Following up on providing database documents for a "NotFound" attachment
db.attachments):file id:
9MWzftYHh2x8VhcZ0ubm7rJunNeVkz8SOPRn3p0ZqJdb.messages):message id:
01J76RT5J8SE9DPGGB74V0EZMNattachment_hashescollection check:querying for this attachment in
attachment_hashesyields no results:Using
db.attachment_hashes.find()shows that its first entry is from March 2, 2025, so 3 months ago. There are no older elements to be found.@poggingfish commented on GitHub (Aug 27, 2025):
Any plans on fixing this?