S3 bucket setup

Summary
Files are storing to local storage instead of S3 bucket

Steps to reproduce
I have deployed Mattermost enterprise version using docker. In the file storage settings, I have configured S3 bucket for storing data instead of local file system. AWS S3 configurations are given correctly I guess cause it shows test connection successful. But it keeps storing data to local file system, not in AWS S3

Expected behavior
Data should be stored to S3 bucket

Observed behavior
I have checked the postgres container and found that files are storing in the container database. But not in S3 bucket

I have solved this by adding the AWS S3 bucket related environment variables in the .env file. Just changing the local file system to the S3 bucket from file storage settings didn’t work.

1 Like