[bug] media proxy does not work with incorrect config #441
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#441
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
Docker
Extra details
Using the docker setup included in repo with Traefik on Unraid
Version
3.5.0-14-gd9508474
PostgreSQL version
14
What were you trying to do?
I wanted to use media proxy.
What did you expect to happen?
I expected media proxy to just work without any issues.
What actually happened?
Attempting to use any client-to-server APIs with the media proxy on causes this. Server-to-server interactions seemingly continue to work fine.
When this happened initally I had spent over a day debugging the issue and did a full reinstall. I had to connect to the postgres db myself and remove the media proxy settings.
Logs
Severity
I cannot use the software
Have you searched for this issue?
[bug]to [bug] media proxy breaks apibad config
check your URLs, this appears to be caused by an incorrectly set upload base URL
[bug] media proxy breaks apito [bug] media proxy does not work with incorrect configim assuming you're referring to this setting?
i thought i should leave it blank if i'm not using a cdn.
Base URL is optional unless you're using a CDN. It doesn't need to be set to enable media proxy.
see https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/upload.ex#L233
this function is returning nil
check your uploader config
ah, setting my truncated namespace to be nothing fixed it. i didn't realize that not being saved wasn't the same as empty and i had to first change it to " ", save, change it back to "", and then save again for the db to save it as "". it seems like the issue is fixed now!! thanks!!!!