LoginSignup
1
1

More than 1 year has passed since last update.

Herokuデプロイ時の『Process exited with status 143』の対処法

Posted at

概要

railsで作成したアプリをHerokuにpush。後日、変更を加え再度Herokuにpushしたらエラー発生。ターミナルでログを確認すると下記の表示が。

ターミナル
$ heroku logs
...
...
2021-08-04T03:41:21.918364+00:00 heroku[web.1]: Process exited with status 143

原因

Herokuのサーバが立ち上がっていないためexitになってしまう。。。(当たり前)

改善方法

Herokuを(再)起動させる。

ターミナル
#再起動のコマンド
$heroku restart

# Herokuを停止して起動
$ heroku ps:scale web=0   # =>停止
$ heroku ps:scale web=1    # =>起動

Heroku dynoについて

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