如何解决heroku[web.1]:在部署 python 和 go 应用程序后进程以状态 127 退出
在 Heroku 上部署应用程序并打开它后,它显示“应用程序错误”:
应用程序发生错误,无法提供您的页面。如果您是应用程序所有者,请检查您的日志以了解详细信息。您可以在 Heroku CLI 中使用以下命令执行此操作
heroku 日志 --tail 显示下一个:
2021-01-03T14:06:23.112153+00:00 heroku[web.1]:状态从崩溃变为启动
2021-01-03T14:06:30.000000+00:00 app[api]:构建成功
2021-01-03T14:06:31.128364+00:00 heroku[web.1]:使用命令 bundle exec rails server -p 24742
启动进程
2021-01-03T14:06:34.075299+00:00 app[web.1]:bash:bundle:找不到命令
2021-01-03T14:06:34.134214+00:00 heroku[web.1]:进程以状态 127 退出
2021-01-03T14:06:34.186189+00:00 heroku[web.1]:状态从开始变为崩溃
2021-01-03T14:06:34.189580+00:00 heroku[web.1]:状态从崩溃变为启动
2021-01-03T14:06:38.233597+00:00 heroku[web.1]:使用命令 bundle exec rails server -p 16975
启动进程
2021-01-03T14:06:41.324190+00:00 app[web.1]: bash: bundle: command not found
2021-01-03T14:06:41.388214+00:00 heroku[web.1]:进程以状态 127 退出
2021-01-03T14:06:41.431148+00:00 heroku[web.1]:状态从开始变为崩溃
2021-01-03T14:14:12.144709+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=chessvisual.herokuapp.com request_id=536c31e8-6b2d -41b0-af09-46b42aaddc8d fwd="89.113.141.212" dyno=connect=service=status=503 bytes=protocol=https
2021-01-03T14:14:14.336948+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=chessvisual.herokuapp.com request_id= 9cbf8957-5f09-44fa-a9c0-64e5806b0729 fwd="89.113.141.212" dyno=connect=service=status=503 bytes=protocol=https
2021-01-03T14:34:40.585641+00:00 heroku[web.1]:状态从崩溃变为启动
2021-01-03T14:34:45.229005+00:00 heroku[web.1]:使用命令 bundle exec rails server -p 36914
启动进程
2021-01-03T14:34:48.231376+00:00 app[web.1]:bash:bundle:找不到命令
2021-01-03T14:34:48.319808+00:00 heroku[web.1]:进程以状态 127 退出
2021-01-03T14:34:48.375751+00:00 heroku[web.1]:状态从开始变为崩溃
2021-01-03T15:32:56.287610+00:00 heroku[web.1]:状态从崩溃变为启动
2021-01-03T15:32:59.515666+00:00 heroku[web.1]:使用命令 bundle exec rails server -p 9050
启动进程
2021-01-03T15:33:01.360018+00:00 app[web.1]: bash: bundle: command not found
2021-01-03T15:33:01.414870+00:00 heroku[web.1]:进程以状态 127 退出
2021-01-03T15:33:01.508607+00:00 heroku[web.1]:状态从开始变为崩溃
2021-01-03T15:38:17.685001+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=chessvisual.herokuapp.com request_id=d7bb0d39-b816 -4f80-ba11-564830722648 fwd="89.113.141.212" dyno=connect=service=status=503 bytes=protocol=https
2021-01-03T15:38:33.913688+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=chessvisual.herokuapp.com request_id= fa896d18-e9e6-414b-bd79-81c4c9e6fdb8 fwd="89.113.141.212" dyno=connect=service=status=503 bytes=protocol=https
heroku ps 输出:
=== web (免费): bundle exec rails server -p $PORT (1) web.1:崩溃了 2021/01/03 22:33:01 +0700(大约 1 小时前)
这是我的项目的链接 https://chessvisual.herokuapp.com
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。