makeplane / makeplane/plane

[bug]: post profile picture to external MinIO works but photo doesn't actually show on plane

Open
#5,081 7 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

🐛bug
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
Screenshot 2024-07-08 135805

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
  1. Self-host plane with local_setup: false and set env.aws_access_key env.aws_secret_access_key env.aws_region aws_s3_endpoint_url
  2. On Plane, go to profile settings
  3. Click profile picture
  4. Upload a picture and click "Upload & Save"
  5. Picture gets successfully uploaded to the external minio instance
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.