[bug]: post profile picture to external MinIO works but photo doesn't actually show on plane
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
On Plane profile settings, I upload a picture (200kb) successfully which actually does post to the external MinIO instance. However, the posted picture doesn't actually get displayed on Plane. Instead, it's just a picture with my name on it on black background
This is the logs from plane-api pod:
10.163.65.138:50680 - "POST /api/users/file-assets/ HTTP/1.1" 201
10.163.65.138:50680 - "PATCH /api/users/me/ HTTP/1.1" 200
10.163.118.21:48050 - "GET / HTTP/1.1" 200
10.163.118.21:38720 - "GET / HTTP/1.1" 200
ERROR 2024-07-08 17:48:17,385 exception_logger 28 139936386587448 An error occurred (InvalidAccessKeyId) when calling the ListObjectsV2 operation: The AWS Access Key Id you provided does not exist in our records.
ERROR 2024-07-08 17:48:17,389 log 28 139936401681208 Internal Server Error: /api/project-covers/
10.163.65.138:49630 - "GET /api/project-covers/ HTTP/1.1" 500
10.163.118.21:55854 - "GET / HTTP/1.1" 200
10.163.118.21:35968 - "GET / HTTP/1.1" 200
10.163.118.21:52102 - "GET / HTTP/1.1" 200
10.163.118.21:48392 - "GET / HTTP/1.1" 200
10.163.65.138:44486 - "GET /api/instances/ HTTP/1.1" 200
10.163.65.138:44486 - "GET /api/users/me/ HTTP/1.1" 200
10.163.65.138:44486 - "GET /api/users/me/profile/ HTTP/1.1" 200
10.163.65.138:44498 - "GET /api/users/me/settings/ HTTP/1.1" 200
10.163.66.155:37790 - "GET /api/users/me/workspaces/ HTTP/1.1" 200
10.163.65.138:44486 - "GET /api/unsplash/?query= HTTP/1.1" 200
Steps to reproduce
- Self-host plane with local_setup: false and set
env.aws_access_keyenv.aws_secret_access_keyenv.aws_regionaws_s3_endpoint_url - On Plane, go to profile settings
- Click profile picture
- Upload a picture and click "Upload & Save"
- Picture gets successfully uploaded to the external minio instance
- On Plane, uploaded picture is not displayed, instead just default photo with a name on it is shown (as shown on the screenshot above)
Environment
Production
Browser
Mozilla Firefox and Chrome
Variant
Self-hosted
Version
plane-ce-1.0.19 (helm chart)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.