sul-dlss-deprecated / rialto-webapp

The web front end of the RIALTO project
4 stars 0 forks source link

Display is broken after the 2.7 ruby update #435

Closed aaron-collier closed 4 years ago

aaron-collier commented 4 years ago

... more to come.

jcoyne commented 4 years ago

I'm seeing ArgumentError: Missing 'secret_key_base' for 'production' environment is that what you see?

aaron-collier commented 4 years ago

I did not see that, but could explain it. However, I would have expected an error in the display vs. blank...

jcoyne commented 4 years ago

I don't think the server ever starts without that. It works if I do:

docker run -p 3000:3000 -e SECRET_KEY_BASE=R6Q3bUqMh45hy83UPLPDwDP+R1oMOH6WBwv0 suldlss/rialto-webapp:latest
aaron-collier commented 4 years ago

Huh, it looks like we've only used RAILS_MASTER_KEY for a while now. I'll set SECRET_KEY_BASE in terraform and see what happens.

jcoyne commented 4 years ago

@aaron-collier we shouldn't have to as secret_key_base is encoded within config/credentials.yml.enc

aaron-collier commented 4 years ago

Yeah, that didn't seem to change anything.