mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 04:25:24 -04:00
bug: s3Error #53
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 @KimaniLife on GitHub (Feb 6, 2024).
What happened?
Team,
we deployed selfhosted repo as docker and we are facing this media upload issue and erroring as s3Error and i couldn't find much logs on the same to diagnose deeper.
can you let me know, where we are actually doing wrong? below is the .env config for our app.
Autumn configuration
S3 Region
AUTUMN_S3_REGION=us-east-1
S3 Endpoint
AUTUMN_S3_ENDPOINT=https://s3.us-east-1.amazonaws.com
AUTUMN_S3_BUCKET_PREFIX=kimanilifeassets-revolt
AUTUMN_LOCAL_STORAGE_PATH=./kimanilife
MinIO Root User
MINIO_ROOT_USER=minioautumn
MinIO Root Password
MINIO_ROOT_PASSWORD=minioautumn
AWS Access Key ID
AWS_ACCESS_KEY_ID=********************
AWS Secret Key
AWS_SECRET_ACCESS_KEY=**************************
@mynevermore commented on GitHub (Feb 22, 2024):
I'm using the default .env file to deploy revolt myself and I've encountered the same issue. Constant S3 Error whenever we try to change avatars or upload files.
@lukaslangrock commented on GitHub (Jul 28, 2024):
Hi, I am also using a non-minio S3 backend with my configuration and also encounter only
S3Errormessages.As far as I understand it, this fix is only relevant to minio-based configurations, whereas the issue actually uses AWS as the S3 backend. I fail to see how the two are connected or how that solves the issue at hand.
@KimaniLife did this actually fix your issue? If not, did you find a solution?
my
.envfor context:Four asterisks = redacted
I also didn't use
createbucketsfor my deployment and made sure to create the buckets myself, using the regular names with an added prefix. For example theattachmentsbucket is named****-revolt-attachments.