By using IAM and guaranteed Amazon S3 full access permission to IAM user, and setting as:
When backup in
Admin::Backups, got notify:
The backup failed. Please check the logs.
Logs related to S3 situation generated as following:
block in upload_to_s3' /var/www/discourse/app/models/backup.rb:53:inopen’
enable s3 backups in
Admin::Setting::Backups, backup would be success. I wander is there have settings wrong in S3 or in Discourse? Could you tell me how to fix it?
But the hand, I am a little confused about the
s3 region under
Admin::Settings::Files: since Amazon S3 told that
S3 does not require region selection., but I found
ap-northeast-1 in Amazon console url. Should it is correct to choose that one?
Update: I changed to root access and problem resolved.
I am sure there have some problem in IAM permission settings, if somebody know the details about its Policy, but also please leave a message here.