LoginSignup
0
0

More than 3 years have passed since last update.

ec2デプロイ、unicorn.logのエラーActiveSupport::MessageEncryptor::InvalidMessage: ActiveSupport::MessageEncryptor::InvalidMessageの解決法

Last updated at Posted at 2020-05-26

これを試す。

下記の作業で本番環境が更新されるはずなのだが、どうしても上記の作業をしなければいけない。

bundle exec rake assets:precompile RAILS_ENV=production
$  sudo service nginx restart
$  sudo systemctl restart  postgresql
$  ps -ef | grep unicorn | grep -v grep
$  bundle exec unicorn_rails -c /var/www/rails/Portfolio/config/unicorn.conf.rb -D -E production

上記の作業をしなくても良い手動デプロイ方法がありましたら教えてください。

0
0
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
0