[bug] Corrupt upload breaks API #382
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#382
Loading…
Reference in a new issue
No description provided.
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?
Version
2024.03
What were you trying to do?
shitpost
specifically, by uploading a picture attachment
What did you expect to happen?
shitpost
specifically, by publishing a post with the requested picture attachment
What actually happened?
The attachment did not get successfully uploaded. Further attempts at uploading any attachments failed.
Attempting to load my
akkoma-fe
homepage now results in a blank screen. Only the following error is reported by the server on load:Oddly enough, that file exists and can be retrieved via SSH. It's not the attachment media, but the
akkoma-fe
header icon.In addition, trying to use a different client to upload new media returns an Internal Server Error, with the server reporting messages like this:
I'm using local media storage, no S3 buckets or anything alike.
Severity
I cannot use the software
Have you searched for this issue?
....just noticed I posted this on the wrong repo and it should have gone on AkkomaGang/akkoma instead oops, do I close the ticket?
Worth noting: deleting the
drafts
key from localakkoma-fe
storage did bring the UI back. Creating a new draft with a new upload breaks the UI once again. I found this is due to the presence of an object key"files":[{}]
.The header icon looks gone despite being stored locally ofc, so I went to admin settings to delete and reupload the instance logo, but reuploading failed with the same
no function clause matching in IO.chardata_to_string/1
error as above.