Rails Application: not loading rails master key AFTER deploy
jmscholen
FREEOP

20 days ago

```=> Booting Puma

=> Rails 7.1.5.2 application starting in production

=> Run bin/rails server --help for more startup options

Exiting

/usr/local/bundle/ruby/3.3.0/gems/activesupport-7.1.5.2/lib/active_support/messages/codec.rb:57:in catch_and_raise': ActiveSupport::MessageEncryptor::InvalidMessage```

I have 3 service variables I have deployed: RAILS_ENV, RAILS_MASTER_KEY, and SECRET_KEY_BASE... ... I have a production.yml.enc file with rails env set to production... not sure what I am missing

Solved$10 Bounty

2 Replies

Railway
BOT

20 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


jmscholen
FREEOP

20 days ago

So I apparently was not looking in the correct repo when I assumed I HAD created the credentials file and did not in this repo... so I have corrected this deviation and will re-deploy


Status changed to Solved noahd 20 days ago


Loading...