如何解决在Heroku上运行schneidmaster / gitreports.com的问题
我正在尝试将自己的gitreports.com托管在heroku上,运行正常,但是我一直收到“无法启动Web应用程序”错误。
即使我运行了heroku labs:enable runtime-dyno-metadata
命令,该哨兵消息仍然出现。
我也不知道如何到达/tmp/passenger-error
。谁能检查我的日志文件?
heroku上的日志如下:
2020-09-03T17:29:01.298630+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=fixbit-github-reports.herokuapp.com request_id=3ed391b0-1592-47a9-bc28-4bfcf347845c fwd="91.235.25.1" dyno=web.1 connect=1ms service=5ms status=200 bytes=99918 protocol=http
2020-09-03T17:34:04.326712+00:00 app[web.1]: App 119 stdout:
2020-09-03T17:34:04.814004+00:00 app[web.1]: App 119 stderr: [passenger_native_support.so] trying to compile for the current user (u21981) and Ruby interpreter...
2020-09-03T17:34:04.814028+00:00 app[web.1]: App 119 stderr: (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
2020-09-03T17:34:05.426854+00:00 app[web.1]: App 119 stderr: Warning: compilation didn't succeed. To learn why,read this file:
2020-09-03T17:34:05.426941+00:00 app[web.1]: App 119 stderr: /tmp/passenger_native_support-1ub8u6y.log
2020-09-03T17:34:05.426973+00:00 app[web.1]: App 119 stderr: [passenger_native_support.so] finding downloads for the current Ruby interpreter...
2020-09-03T17:34:05.427002+00:00 app[web.1]: App 119 stderr: (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
2020-09-03T17:34:05.610276+00:00 app[web.1]: App 119 stderr: Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.1.6/rubyext-ruby-2.6.5-x86_64-linux.tar.gz: The requested URL returned error: 404
2020-09-03T17:34:05.610328+00:00 app[web.1]: App 119 stderr: Trying next mirror...
2020-09-03T17:34:05.957438+00:00 app[web.1]: App 119 stderr: Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/5.1.6/rubyext-ruby-2.6.5-x86_64-linux.tar.gz: The requested URL returned error: 403 Forbidden
2020-09-03T17:34:05.957535+00:00 app[web.1]: App 119 stderr: [passenger_native_support.so] will not be used (can't compile or download)
2020-09-03T17:34:05.957560+00:00 app[web.1]: App 119 stderr: --> Passenger will still operate normally.
2020-09-03T17:34:09.102827+00:00 app[web.1]: App 119 stdout: W,[2020-09-03T17:34:09.100750 #119] WARN -- sentry: ** [Raven] You are running on Heroku but haven't enabled Dyno Metadata. For Sentry'srelease detection to work correctly,please run `heroku labs:enable runtime-dyno-metadata`
2020-09-03T17:34:09.707820+00:00 app[web.1]: App 119 stdout:
2020-09-03T17:34:09.723404+00:00 app[web.1]: [ 2020-09-03 17:34:09.7231 41/7f8f10bcb700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /app: An error occurred while starting up the preloader.
2020-09-03T17:34:09.723407+00:00 app[web.1]: Error ID: 688711c2
2020-09-03T17:34:09.723414+00:00 app[web.1]: Error details saved to: /tmp/passenger-error.vRtSFZ
2020-09-03T17:34:09.723415+00:00 app[web.1]: Message from application: bad URI(is not URI?): nil (URI::InvalidURIError)
2020-09-03T17:34:09.723416+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/uri/rfc3986_parser.rb:18:in `rescue in split'
2020-09-03T17:34:09.723416+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/uri/rfc3986_parser.rb:15:in `split'
2020-09-03T17:34:09.723416+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/uri/rfc3986_parser.rb:73:in `parse'
2020-09-03T17:34:09.723417+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/uri/common.rb:234:in `parse'
2020-09-03T17:34:09.723419+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/sentry-raven-2.6.0/lib/raven/configuration.rb:212:in `server='
2020-09-03T17:34:09.723421+00:00 app[web.1]: /app/config/initializers/sentry.rb:3:in `block in <top (required)>'
2020-09-03T17:34:09.723423+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/sentry-raven-2.6.0/lib/raven/instance.rb:68:in `configure'
2020-09-03T17:34:09.723451+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/forwardable.rb:230:in `configure'
2020-09-03T17:34:09.723452+00:00 app[web.1]: /app/config/initializers/sentry.rb:2:in `<top (required)>'
2020-09-03T17:34:09.723452+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:285:in `load'
2020-09-03T17:34:09.723453+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:285:in `block in load'
2020-09-03T17:34:09.723455+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2020-09-03T17:34:09.723456+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:285:in `load'
2020-09-03T17:34:09.723458+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:663:in `block in load_config_initializer'
2020-09-03T17:34:09.723475+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.3/lib/active_support/notifications.rb:170:in `instrument'
2020-09-03T17:34:09.723475+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:662:in `load_config_initializer'
2020-09-03T17:34:09.723478+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
2020-09-03T17:34:09.723480+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:619:in `each'
2020-09-03T17:34:09.723512+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:619:in `block in <class:Engine>'
2020-09-03T17:34:09.723513+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `instance_exec'
2020-09-03T17:34:09.723514+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `run'
2020-09-03T17:34:09.723514+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:61:in `block in run_initializers'
2020-09-03T17:34:09.723515+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
2020-09-03T17:34:09.723517+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2020-09-03T17:34:09.723536+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
2020-09-03T17:34:09.723537+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
2020-09-03T17:34:09.723540+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
2020-09-03T17:34:09.723558+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `each'
2020-09-03T17:34:09.723559+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `tsort_each_child'
2020-09-03T17:34:09.723561+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:415:in `call'
2020-09-03T17:34:09.723562+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
2020-09-03T17:34:09.723564+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
2020-09-03T17:34:09.723580+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:347:in `each'
2020-09-03T17:34:09.723581+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:347:in `call'
2020-09-03T17:34:09.723584+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
2020-09-03T17:34:09.723584+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
2020-09-03T17:34:09.723586+00:00 app[web.1]: /app/vendor/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
2020-09-03T17:34:09.723604+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:60:in `run_initializers'
2020-09-03T17:34:09.723605+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/application.rb:361:in `initialize!'
2020-09-03T17:34:09.723607+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/railtie.rb:190:in `public_send'
2020-09-03T17:34:09.723608+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/railtie.rb:190:in `method_missing'
2020-09-03T17:34:09.723628+00:00 app[web.1]: /app/config/environment.rb:5:in `<top (required)>'
2020-09-03T17:34:09.723629+00:00 app[web.1]: config.ru:3:in `require'
2020-09-03T17:34:09.723629+00:00 app[web.1]: config.ru:3:in `block in <main>'
2020-09-03T17:34:09.723632+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
2020-09-03T17:34:09.723632+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
2020-09-03T17:34:09.723634+00:00 app[web.1]: config.ru:1:in `new'
2020-09-03T17:34:09.723653+00:00 app[web.1]: config.ru:1:in `<main>'
2020-09-03T17:34:09.723653+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/passenger-5.1.6/src/helper-scripts/rack-preloader.rb:110:in `eval'
2020-09-03T17:34:09.723654+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/passenger-5.1.6/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
2020-09-03T17:34:09.723656+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/passenger-5.1.6/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
2020-09-03T17:34:09.723658+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/passenger-5.1.6/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
2020-09-03T17:34:09.723681+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/passenger-5.1.6/src/helper-scripts/rack-preloader.rb:29:in `<main>'
2020-09-03T17:34:09.723682+00:00 app[web.1]:
2020-09-03T17:34:09.723682+00:00 app[web.1]:
2020-09-03T17:34:09.865442+00:00 app[web.1]: [ 2020-09-03 17:34:09.8652 41/7f8f0affe700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 3-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 688711c2. Please see earlier logs for details about the error.
2020-09-03T17:34:09.868481+00:00 heroku[router]: at=info method=GET path="/" host=fixbit-github-reports.herokuapp.com request_id=c872b950-b4cd-4311-bff1-0521d381d3e1 fwd="91.235.25.1" dyno=web.1 connect=0ms service=5630ms status=500 bytes=5180 protocol=http
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。