mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
v2.0.0-rc.3 - s3 uploaded files unreachable with non-full s3 permission #787
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 @ADeeeee on GitHub (Aug 20, 2025).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Chrome
Current behavior
Picture uploaded to MinIO (object storage) successfully from the kanban, but showing blank with 404 not found.
{"code":"E_NOT_FOUND","message":"File attachment not found"}Desired behavior
The file path should be matched and load it correctly with 200 response
Steps to reproduce
upload files on the kanban and then see blanks.
Other information
It's behind a nginx and traefik and it should be a problem because the web functions seem to be okay.
TRUST_PROXY=true
LOG_LEVEL=info
@ADeeeee commented on GitHub (Aug 20, 2025):
Pardon me that I just found that it's just the permission issue on the object storage. Is there any documents about what s3 permissions planka needs?
@meltyshev commented on GitHub (Aug 20, 2025):
Hey! When I was testing, I used this config:
But this is basically about exposing public access to the
/publicpath.Also, for MinIO (if I remember correctly), you need to uncomment the
S3_FORCE_PATH_STYLE=trueenvironment variable - it didn't work for me without it.@ADeeeee commented on GitHub (Aug 20, 2025):
I've got these permission and it seems only works for uploading files.
Got 404 file not found while reading cards and 403 AccessDenied responsed by MinIO for deleting the card forever.
It works like a charm with
"s3:*".@meltyshev commented on GitHub (Aug 20, 2025):
Are you using the latest MinIO version? I can try to test it on my side.
@ADeeeee commented on GitHub (Aug 20, 2025):
Unfortunately an old version:
2024-02-14T21:36:02Z. Uncomfortable to upgrade due to huge production data storing so far.It should probably be most capabale with the latest version or S3.
@meltyshev commented on GitHub (Aug 20, 2025):
I just tested with my
2024-11-07T00-52-20Zversion and it works fine. Here's the configuration I used:@ADeeeee commented on GitHub (Aug 20, 2025):
Yes, it also works with permission
s3:*on MinIO here. Just wondering any permissions from the actions of planka missing below:It looks like already enough for file arrangement by adding, deleting, listing.
@meltyshev commented on GitHub (Aug 20, 2025):
To be honest, I'm not very familiar with S3 permissions, so it's hard to say for sure, but you might need to add
s3:GetObjectAcl(just a guess). I'll try to add more logging to the S3 manager to show the exact error.@ADeeeee commented on GitHub (Aug 21, 2025):
It'd be great because there are too many permission in s3. I'll keep the full permission currently.
Thanks for your helping.