Skip to content

[Bug] S3 uploads fail with 500 error despite healthy S3 connection #2684

@VarunAtZethic

Description

@VarunAtZethic

Is there an existing issue for this?

  • Yes, I have searched the existing issues and none of them match my problem.

Product Variant

Self-Hosted

Describe the bug you're experiencing

Environment:

  • Deployment: Docker via Coolify
  • Storage: AWS S3

Configuration:

  S3_ACCESS_KEY_ID=<your-access-key>
  S3_SECRET_ACCESS_KEY=<your-secret-key>
  S3_BUCKET=<your-bucket-name>
  S3_REGION=us-east-1
  S3_FORCE_PATH_STYLE=false
  S3_ENDPOINT=

Problem:
Image uploads fail with generic 500 error:
{"json":{"defined":false,"code":"INTERNAL_SERVER_ERROR","status":500,"message":"Internal server error"}}

What works:

  • Health check reports S3 as healthy: "storage":{"type":"s3","status":"healthy","message":"S3 storage is accessible and credentials are valid."}
  • AWS CLI upload from inside container works: aws s3 cp test.txt s3://<bucket>/ succeeds
  • Node.js HTTPS connectivity works
  • S3 bucket has existing files (visible via aws s3 ls)

What doesn't work:

  • Uploading images through the UI fails with 500
  • No error details logged to stdout

What template are you using?

None

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds triageIssues that need to be triagedv5Issues related to the latest version

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions