I am having this issue as well, i installed it with Omnibus, and i have set the storage as S3 (and i have tested the connection and it is valid).
root@mattermost:/var/opt/mattermost/data/users/xe5uzemdcfgnjbi1e8ejimk11o# tail -f /var/log/mattermost/mattermost.log
{“timestamp”:“2023-09-20 13:18:42.198 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/d1pe59ntafyuzcjbesr7ucpoie/image”,“request_id”:“ncbwudrwtbnzzy55jj96iryfwy”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/d1pe59ntafyuzcjbesr7ucpoie/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:42.289 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/hprgfdwsbpdbirum36fjrq1wiy/image”,“request_id”:“ipphy7rnr38odd5kz54agziqao”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/hprgfdwsbpdbirum36fjrq1wiy/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:42.299 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/sz6rj9uag38bmyfk9zi3kza71a/image”,“request_id”:“tbkyctn85pfhdn8w467cja3jaw”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/sz6rj9uag38bmyfk9zi3kza71a/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:44.444 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/xe5uzemdcfgnjbi1e8ejimk11o/image”,“request_id”:“8rym35q9i3rfmfdz8dfg74t1kc”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/xe5uzemdcfgnjbi1e8ejimk11o/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:44.583 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/d1pe59ntafyuzcjbesr7ucpoie/image”,“request_id”:“dsxfrpewctytfrhr369zk5ti7e”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/d1pe59ntafyuzcjbesr7ucpoie/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:48.630 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/r7rdf5kyeirmxqcuf4nfm7pauc/image”,“request_id”:“xnd3jqsqx3fj98rceger5ggwtw”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/r7rdf5kyeirmxqcuf4nfm7pauc/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:48.831 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/sz6rj9uag38bmyfk9zi3kza71a/image”,“request_id”:“6caxndksk3gzibo4h96fzjx53a”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/sz6rj9uag38bmyfk9zi3kza71a/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:48.836 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/d1pe59ntafyuzcjbesr7ucpoie/image”,“request_id”:“qc9rsstp63nsikoieejbu97c8w”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/d1pe59ntafyuzcjbesr7ucpoie/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:48.916 -07:00”,“level”:“error”,“msg”:“Unable to write the file.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/hprgfdwsbpdbirum36fjrq1wiy/image”,“request_id”:“df1yxw7uzpyzjxj1tiwk7czqte”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“GET”,“err_where”:“WriteFile”,“http_code”:500,“error”:“WriteFile: Unable to write the file., unable write the data in the file users/hprgfdwsbpdbirum36fjrq1wiy/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:18:59.798 -07:00”,“level”:“error”,“msg”:“Couldn’t upload profile image.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/n79i9ceknpddz8xh6fh1wf5cnr/image”,“request_id”:“pcbcd1tbsj8kbbn56hcuqta67h”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“POST”,“err_where”:“SetProfileImage”,“http_code”:500,“error”:“SetProfileImage: Couldn’t upload profile image., WriteFile: Unable to write the file., unable write the data in the file users/n79i9ceknpddz8xh6fh1wf5cnr/profile.png: Access Denied”}
{“timestamp”:“2023-09-20 13:19:12.206 -07:00”,“level”:“error”,“msg”:“Couldn’t upload profile image.”,“caller”:“web/context.go:117”,“path”:“/api/v4/users/n79i9ceknpddz8xh6fh1wf5cnr/image”,“request_id”:“j77w3tk4f3nxme43ebcymjprda”,“ip_addr”:“127.0.0.1”,“user_id”:“n79i9ceknpddz8xh6fh1wf5cnr”,“method”:“POST”,“err_where”:“SetProfileImage”,“http_code”:500,“error”:“SetProfileImage: Couldn’t upload profile image., WriteFile: Unable to write the file., unable write the data in the file users/n79i9ceknpddz8xh6fh1wf5cnr/profile.png: Access Denied”}
root@mattermost:/var/opt/mattermost/data/users/xe5uzemdcfgnjbi1e8ejimk11o# ls -la /var/opt/mattermost/
total 16
drwxrwxr-x 4 mattermost mattermost 4096 Sep 9 05:19 .
drwxr-xr-x 3 root root 4096 Sep 9 05:04 …
drwxrwxr-x 2 mattermost mattermost 4096 Sep 18 11:55 backups
drwxrwxr-x 9 mattermost mattermost 4096 Sep 17 21:11 data
root@mattermost:/var/opt/mattermost/data/users/xe5uzemdcfgnjbi1e8ejimk11o#