Cron task to sync local backups to DigitalOcean Spaces

If the Forbidden logs are from Discourse and not s3fs, trying to save to the Spaces bucket then it’s something like you have the wrong credentials or wrong bucket name.

Ah!

   Failed to list backups from S3:

Ah. I think that’s the problem. It’s trying to get a bucket list and can’t. I’m not quite sure how to fix it, but that’s the problem that you want to solve, so you might edit the subject. If you want to fix your S3 backups, you can get help here; if you want to configure s3fs you’ll llkely need to seek help elsewhere.

Try this ENV variable in your app.yml

  FORCE_S3_UPLOADS: 1

IS your endpoint correct? Have a look at the Digital Ocean section in Using Object Storage for Uploads (S3 & Clones).

1 Like