Solution skill
Can not upload media using self-host server
Complete solution
Shows how to fix can not upload media using self-host server. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Self-hosted Langfuse (docker compose): media uploads fail with TRPCError: Media not yet uploaded even though MinIO is up and the console is reachable. No media folder appears in the bucket.
Steps
- Self-hosted Langfuse (docker compose): media uploads fail with TRPCError: Media not yet uploaded even though MinIO is up and the console is reachable.
- No media folder appears in the bucket.
When to use
You are seeing this: No media folder appears in the bucket. Use this skill when you run into "Can not upload media using self-host server".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Edge cases
- Note: images on private IPs still don't render inline due to the site's Content Security Policy (clicking the link works); HTTPS URLs render fine.
Evidence
In gh:langfuse/langfuse#6188 (https://github.com/langfuse/langfuse/issues/6188), the question was: Self-hosted Langfuse (docker compose): media uploads fail with TRPCError: Media not yet uploaded even though MinIO is up and the console is reachable. No media folder appears in the bucket. The verified resolution: Reporter solved it (reporter, Seraphli) by setting LANGFUSES3MEDIAUPLOADENDPOINT in the langfuse-web container's environment, not just in the SDK app, e.g. setting LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT to the local MinIO URL (YOUR_HOST, port 9090) for local compose, or the actual LAN IP when the UI is viewed from another machine.
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_lP5RVnZl0fIxuHdtMRM8tg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Can not upload media using self-host server <span>— Vectle</span></a>