We've moved discussions to Discord

How to configure Linode Object Storage - S3 Compatible - Active Storage

First Create a new bucket and Generate Api keys within linode dashboard.

Next

Add to Gemfile - gem "aws-sdk-s3"

Next

Edit config/environments/development.rb and or config/environments/development.rb (Setup accordingly to your ENV)
Search for the line that has config.active_storage.service = :local
Modify to config.active_storage.service = :linode

Next

Edit config/storage.yml

Add the following with your personal details

linode:
  service: S3
  access_key_id: 'Linonde-S3-Access-Key'
  secret_access_key: 'Linonde-S3-Secret-Key'
  region: 'us-east-1' # Or whichever region you are using
  bucket: 'your-bucket-name'
  endpoint: 'https://us-east-1.linodeobjects.com'
  http_continue_timeout: 0

Restart Server (If there are any problems the server logs will complain. Should be good if followed above steps.)

Login to Jumpstart and change your avatar image to confirm it works. (File should also be seen at linode s3 explorer.)

The caveat being http_continue_timeout: 0 must be added specifically for linode to s3 to work.

Full Disclosure after going insane for a while this post helped me solve.
https://www.linode.com/community/questions/19536/object-storage-upload-problem



Notifications
You’re not receiving notifications from this thread.