LoginSignup
0
3

More than 5 years have passed since last update.

ElasticBeanstalk で puma-rails 環境作った後に「An unhandled lowlevel error occured. The application logs may have details」って出た時の対策

Posted at

secret_key_base の設定漏れが原因

config/secrets.yml
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

環境変数 SECRET_KEY_BASE を設定する

eb setenv SECRET_KEY_BASE=`bundle exec rake secret`

参考

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3