Previously I forgot to add the bits to pass AWS_SECRET_ACCESS_KEY secret through - as mastodon can't natively read AWS_SECRET_ACCESS_KEY_FILE it needs to be included using the file_env technique.
This is similar to how it is in the hometown recipe, and if you don't have AWS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY_FILE it won't cause an error (tried it locally).
I've chaos deployed it to bath.social and it fixed my issue. The symptom was that it seemed to be working, but I looked up an external users profile and it gave a 500 error with this message in the log:
�2026-01-07T22:56:48.057315000Z Information for cause: Aws::Sigv4::Errors::MissingCredentialsError (missing credentials, provide credentials with one of the following options:
I2026-01-07T22:56:48.057459000Z - :access_key_id and :secret_access_key
02026-01-07T22:56:48.057595000Z - :credentials
;2026-01-07T22:56:48.057700000Z - :credentials_provider):
I2026-01-07T22:56:48.057769000Z [5cb6496c-e843-4eee-8775-adafb83a7092]
�2026-01-07T22:56:48.057836000Z [5cb6496c-e843-4eee-8775-adafb83a7092] lib/paperclip/attachment_extensions.rb:92:in 'block in Paperclip::AttachmentExtensions#save'
2026-01-07T22:56:48.057897000Z [5cb6496c-e843-4eee-8775-adafb83a7092] lib/paperclip/attachment_extensions.rb:92:in 'Paperclip::AttachmentExtensions#save'
2026-01-07T22:56:48.058020000Z [5cb6496c-e843-4eee-8775-adafb83a7092] app/models/account.rb:345:in 'Account#save_with_optional_media!'
[Previously](https://git.coopcloud.tech/coop-cloud/mastodon/pulls/32) I forgot to add the bits to pass `AWS_SECRET_ACCESS_KEY` secret through - as mastodon can't natively read `AWS_SECRET_ACCESS_KEY_FILE` it needs to be included using the `file_env` technique.
This is similar to how it is in the hometown recipe, and if you don't have `AWS_SECRET_ACCESS_KEY` or `AWS_SECRET_ACCESS_KEY_FILE` it won't cause an error (tried it locally).
I've chaos deployed it to bath.social and it fixed my issue. The symptom was that it seemed to be working, but I looked up an external users profile and it gave a 500 error with this message in the log:
```
�2026-01-07T22:56:48.057315000Z Information for cause: Aws::Sigv4::Errors::MissingCredentialsError (missing credentials, provide credentials with one of the following options:
I2026-01-07T22:56:48.057459000Z - :access_key_id and :secret_access_key
02026-01-07T22:56:48.057595000Z - :credentials
;2026-01-07T22:56:48.057700000Z - :credentials_provider):
I2026-01-07T22:56:48.057769000Z [5cb6496c-e843-4eee-8775-adafb83a7092]
�2026-01-07T22:56:48.057836000Z [5cb6496c-e843-4eee-8775-adafb83a7092] lib/paperclip/attachment_extensions.rb:92:in 'block in Paperclip::AttachmentExtensions#save'
2026-01-07T22:56:48.057897000Z [5cb6496c-e843-4eee-8775-adafb83a7092] lib/paperclip/attachment_extensions.rb:92:in 'Paperclip::AttachmentExtensions#save'
2026-01-07T22:56:48.058020000Z [5cb6496c-e843-4eee-8775-adafb83a7092] app/models/account.rb:345:in 'Account#save_with_optional_media!'
```
Ah yeah, I hadn't noticed the official maintainer bit. Maybe we should also both add ourselves to that list? I'll do it if you do... (is there some process there?).
Ah yeah, I hadn't noticed the official maintainer bit. Maybe we should also both add ourselves to that list? I'll do it if you do... (is there some process there?).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Previously I forgot to add the bits to pass
AWS_SECRET_ACCESS_KEYsecret through - as mastodon can't natively readAWS_SECRET_ACCESS_KEY_FILEit needs to be included using thefile_envtechnique.This is similar to how it is in the hometown recipe, and if you don't have
AWS_SECRET_ACCESS_KEYorAWS_SECRET_ACCESS_KEY_FILEit won't cause an error (tried it locally).I've chaos deployed it to bath.social and it fixed my issue. The symptom was that it seemed to be working, but I looked up an external users profile and it gave a 500 error with this message in the log:
Added a couple of potential reviewers, hope thats ok!
lgtm!
I also noticed the recipe has maintainers, I was about to nag the community on Matrix lol
Still happy to be added as a reviewer anytime <3
Ah yeah, I hadn't noticed the official maintainer bit. Maybe we should also both add ourselves to that list? I'll do it if you do... (is there some process there?).