[bug] Can't attach media descriptions #510
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#510
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?
Your setup
From source
Extra details
FreeBSD 13.1
Version
2023.03
PostgreSQL version
14.6
What were you trying to do?
I cannot attach media descriptions to any media, whether during initial upload or when editing an existing post.
What did you expect to happen?
I should be able to add media descriptions. It worked before I upgraded to 2023.03.
What actually happened?
In the UI I get this message: "Error: Failed to update media, try again." If I look at the javascript console in the browser I see a 403 error on api/v1/media/OBJECTID.
Logs
Severity
I cannot use the software
Have you searched for this issue?
[bug]to [bug] Can't attach media descriptionsI cannot replicate this issue, media description works fine on that release for me
is it limited to a specific image?
It is not limited to a single image or even media type (I've tried jpeg, gif, and png).
Roughly concurrently with the upgrade I went in to "fix" my frontend configuration, managed to corrupt it, and had to export my configuration from the DB, edit the text file, and load it back into the DB. Everything else works so I don't think it's a contributing factor, but it's a thing that happened so maybe it is?
Anything I should look for? Any way to get that API endpoint to log the error?
yes, things to check include which filters you run over uploaded media
Current setting is:
config :pleroma, Pleroma.Upload, [uploader: Pleroma.Uploaders.Local, base_url: "https://[DOMAIN]/media", filters: [Pleroma.Upload.Filter.Dedupe, Pleroma.Upload.Filter.Exiftool, Pleroma.Upload.Filter.AnalyzeMetadata, Pleroma.Upload.Filter.AnonymizeFilename]]
But it happens with every combination of some or none that I've tried.
Definitely because of the export and import, it turns out. The Pleroma.Web.Endpoint configuration was lost in the round trip.