Coder Social home page Coder Social logo

Comments (6)

cf-gitbot avatar cf-gitbot commented on June 12, 2024

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/90758688.

from ruby-buildpack.

flavorjones avatar flavorjones commented on June 12, 2024

Hello @df007!

Thank you for reporting this. Can you provide any details about why you think this is a ruby-buildpack issue? Can you attach a gist or pastebin of your cf logs --recent?

The Buildpacks team isn't familiar with this application, and so we may also route it to the MySQL Broker team.

from ruby-buildpack.

dwu-pivotal avatar dwu-pivotal commented on June 12, 2024

Thx @flavorjones,
I'm not sure whether it's a bug for MySQL broker, or ruby buildpack. But that MySQL broker runs properly in a standard ruby/bundle env, but fails with ruby buildpack.
cf logs --recent provide nothing useful.. Maybe, you can have a quick try to deploy cf-mysql-broker?

from ruby-buildpack.

jtarchie avatar jtarchie commented on June 12, 2024

@dwu-pivotal, please send us the logs of the application. They provide a lot of information of the staging of an application and anything that might have failed.

For instance, we did push out the app on our local Bosh Lite environment. It provided information that there was configuration missing in the app/config/settings.yml.

Missing setting 'production' in /tmp/staged/app/config/settings.yml
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:189:in `missing_key'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:105:in `initialize'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `new'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `instance'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:66:in `method_missing'
       /tmp/staged/app/config/application.rb:35:in `<class:Application>'
       /tmp/staged/app/config/application.rb:17:in `<module:CfMysqlBroker>'
       /tmp/staged/app/config/application.rb:16:in `<top (required)>'
       /tmp/staged/app/Rakefile:4:in `require'
       /tmp/staged/app/Rakefile:4:in `<top (required)>'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:93:in `load_rakefile'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:77:in `block in run'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
       /tmp/staged/app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
       vendor/bundle/bin/rake:16:in `load'
       vendor/bundle/bin/rake:16:in `<main>'

Thanks, JT

from ruby-buildpack.

df010 avatar df010 commented on June 12, 2024

Here you are:
2015-03-24T22:26:18.27+0800 [API/0] OUT Updated app with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 ({"state"=>"STOPPED"})
2015-03-24T22:26:18.75+0800 [DEA/0] OUT Got staging request for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:26:41.93+0800 [API/0] OUT Updated app with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 ({"state"=>"STARTED"})
2015-03-24T22:26:44.47+0800 [STG/0] OUT -----> Downloaded app package (36M)
2015-03-24T22:26:46.07+0800 [STG/0] OUT -------> Buildpack version 1.1.3
2015-03-24T22:26:46.30+0800 [STG/0] OUT -----> Compiling Ruby/Rails
2015-03-24T22:26:47.82+0800 [STG/0] OUT -----> Using Ruby version: ruby-1.9.3
2015-03-24T22:26:47.92+0800 [STG/0] OUT -----> Installing dependencies using 1.6.3
2015-03-24T22:26:49.04+0800 [STG/0] OUT Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
2015-03-24T22:26:50.65+0800 [STG/0] OUT Installing minitest 4.7.5
2015-03-24T22:26:50.67+0800 [STG/0] OUT Installing i18n 0.6.5
2015-03-24T22:26:50.68+0800 [STG/0] OUT Installing rake 10.1.0
2015-03-24T22:26:50.72+0800 [STG/0] OUT Installing multi_json 1.10.1
2015-03-24T22:26:50.76+0800 [STG/0] OUT Installing builder 3.1.4
2015-03-24T22:26:50.95+0800 [STG/0] OUT Installing erubis 2.7.0
2015-03-24T22:26:51.06+0800 [STG/0] OUT Installing tzinfo 0.3.37
2015-03-24T22:26:51.08+0800 [STG/0] OUT Installing rack 1.5.2
2015-03-24T22:26:51.10+0800 [STG/0] OUT Installing polyglot 0.3.3
2015-03-24T22:26:51.11+0800 [STG/0] OUT Installing mime-types 1.25
2015-03-24T22:26:51.12+0800 [STG/0] OUT Installing activerecord-deprecated_finders 1.0.3
2015-03-24T22:26:51.18+0800 [STG/0] OUT Installing daemons 1.1.9
2015-03-24T22:26:51.21+0800 [STG/0] OUT Installing arel 4.0.0
2015-03-24T22:26:51.24+0800 [STG/0] OUT Installing hashie 2.1.1
2015-03-24T22:26:51.26+0800 [STG/0] OUT Installing hike 1.2.3
2015-03-24T22:26:51.37+0800 [STG/0] OUT Installing json_pure 1.8.1
2015-03-24T22:26:51.62+0800 [STG/0] OUT Installing atomic 1.1.14
2015-03-24T22:26:55.66+0800 [STG/0] OUT Installing mysql2 0.3.14
2015-03-24T22:26:55.66+0800 [STG/0] OUT Using bundler 1.6.3
2015-03-24T22:26:55.75+0800 [STG/0] OUT Installing thor 0.18.1
2015-03-24T22:26:55.82+0800 [STG/0] OUT Installing tilt 1.4.1
2015-03-24T22:26:59.35+0800 [STG/0] OUT Installing raindrops 0.12.0
2015-03-24T22:26:59.61+0800 [STG/0] OUT Installing sass 3.2.19
2015-03-24T22:26:59.64+0800 [STG/0] OUT Installing settingslogic 2.0.9
2015-03-24T22:26:59.71+0800 [STG/0] OUT Installing cf-uaa-lib 1.3.10
2015-03-24T22:26:59.76+0800 [STG/0] OUT Installing rack-test 0.6.2
2015-03-24T22:26:59.86+0800 [STG/0] OUT Installing treetop 1.4.15
2015-03-24T22:26:59.93+0800 [STG/0] OUT Installing omniauth 1.2.1
2015-03-24T22:27:00.03+0800 [STG/0] OUT Installing thread_safe 0.1.3
2015-03-24T22:27:00.12+0800 [STG/0] OUT Installing sprockets 2.10.0
2015-03-24T22:27:00.24+0800 [STG/0] OUT Installing mail 2.5.4
2015-03-24T22:27:00.24+0800 [STG/0] OUT omniauth-uaa-oauth2 at /tmp/staged/app/vendor/cache/omniauth-uaa-oauth2-2bbb78dc3c13 did not have a valid gemspec.
2015-03-24T22:27:00.25+0800 [STG/0] OUT This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
2015-03-24T22:27:00.25+0800 [STG/0] OUT The validation message from Rubygems was:
2015-03-24T22:27:00.25+0800 [STG/0] OUT [".gitignore"] are not files
2015-03-24T22:27:00.25+0800 [STG/0] OUT Using omniauth-uaa-oauth2 0.0.3 from git://github.com/cloudfoundry/omniauth-uaa-oauth2.git (at /tmp/staged/app/vendor/cache/omniauth-uaa-oauth2-2bbb78dc3c13)
2015-03-24T22:27:00.40+0800 [STG/0] OUT Installing activesupport 4.0.0
2015-03-24T22:27:00.42+0800 [STG/0] OUT Installing kgio 2.8.1
2015-03-24T22:27:00.49+0800 [STG/0] OUT Installing activemodel 4.0.0
2015-03-24T22:27:00.61+0800 [STG/0] OUT Installing actionpack 4.0.0
2015-03-24T22:27:00.80+0800 [STG/0] OUT Installing activerecord 4.0.0
2015-03-24T22:27:00.89+0800 [STG/0] OUT Installing actionmailer 4.0.0
2015-03-24T22:27:01.14+0800 [STG/0] OUT Installing railties 4.0.0
2015-03-24T22:27:01.22+0800 [STG/0] OUT Installing sprockets-rails 2.0.0
2015-03-24T22:27:01.29+0800 [STG/0] OUT Installing rails-api 0.1.0
2015-03-24T22:27:01.66+0800 [STG/0] OUT Installing rails 4.0.2
2015-03-24T22:27:01.94+0800 [STG/0] OUT Installing sass-rails 4.0.3
2015-03-24T22:27:04.13+0800 [STG/0] OUT Installing unicorn 4.6.3
2015-03-24T22:27:05.42+0800 [STG/0] OUT Installing eventmachine 1.0.3
2015-03-24T22:27:06.35+0800 [STG/0] OUT Installing thin 1.6.1
2015-03-24T22:27:06.40+0800 [STG/0] OUT Installing nats 0.5.0.beta.12
2015-03-24T22:27:06.44+0800 [STG/0] OUT Your bundle is complete!
2015-03-24T22:27:06.44+0800 [STG/0] OUT Gems in the groups development and test were not installed.
2015-03-24T22:27:06.44+0800 [STG/0] OUT It was installed into ./vendor/bundle
2015-03-24T22:27:06.45+0800 [STG/0] OUT Bundle completed (17.41s)
2015-03-24T22:27:06.46+0800 [STG/0] OUT Cleaning up the bundler cache.
2015-03-24T22:27:07.32+0800 [STG/0] OUT -----> Writing config/database.yml to read from DATABASE_URL
2015-03-24T22:27:09.49+0800 [STG/0] OUT -----> Preparing app for Rails asset pipeline
2015-03-24T22:27:09.49+0800 [STG/0] OUT Running: rake assets:precompile
2015-03-24T22:27:12.51+0800 [STG/0] OUT I, [2015-03-24T14:27:12.515088 #1335] INFO -- : Writing /tmp/staged/app/public/assets/cf-mysql-logo-4e6709c99d7a1d80183f7da170d69865.png
2015-03-24T22:27:12.53+0800 [STG/0] OUT I, [2015-03-24T14:27:12.529058 #1335] INFO -- : Writing /tmp/staged/app/public/assets/favicon-442891d430a3db9ff19c5105fed94d77.ico
2015-03-24T22:27:41.55+0800 [STG/0] OUT I, [2015-03-24T14:27:41.553686 #1335] INFO -- : Writing /tmp/staged/app/public/assets/application-c2d4f235c30dc3f5d9829f2459bd0053.css
2015-03-24T22:27:41.62+0800 [STG/0] OUT Asset precompilation completed (32.12s)
2015-03-24T22:27:41.62+0800 [STG/0] OUT Cleaning assets
2015-03-24T22:27:41.62+0800 [STG/0] OUT Running: rake assets:clean
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT Include 'rails_12factor' gem to enable all platform features
2015-03-24T22:27:45.08+0800 [STG/0] OUT See https://devcenter.heroku.com/articles/rails-integration-gems for more information.
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT Removing vendor/bundle.
2015-03-24T22:27:45.08+0800 [STG/0] OUT Checking in vendor/bundle is not supported. Please remove this directory
2015-03-24T22:27:45.08+0800 [STG/0] OUT and add it to your .gitignore. To vendor your gems with Bundler, use
2015-03-24T22:27:45.08+0800 [STG/0] OUT bundle pack instead.
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT No Procfile detected, using the default web server (webrick)
2015-03-24T22:27:45.08+0800 [STG/0] OUT https://devcenter.heroku.com/articles/ruby-default-web-server
2015-03-24T22:27:45.17+0800 [STG/0] ERR
2015-03-24T22:27:50.38+0800 [STG/0] OUT -----> Uploading droplet (25M)
2015-03-24T22:27:54.11+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:27:57.80+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:27:57.81+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"f2aad186632745c0a95d3d9eea9cff4a", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207277}
2015-03-24T22:27:57.81+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"f2aad186632745c0a95d3d9eea9cff4a", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207277}
2015-03-24T22:28:37.67+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:40.54+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:28:40.55+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"2c154cbf0aac4b29bb2e55a8c3d185a2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207320}
2015-03-24T22:28:40.56+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"2c154cbf0aac4b29bb2e55a8c3d185a2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207320}
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:17.68+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:20.33+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:29:20.34+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"c5b3ae3462a24283944b3ad56acc561d", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207360}
2015-03-24T22:29:20.34+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"c5b3ae3462a24283944b3ad56acc561d", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207360}
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:57.68+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:00.59+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:30:00.61+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"e8519dc74657407ca19f20f402fd0b7b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207400}
2015-03-24T22:30:00.61+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"e8519dc74657407ca19f20f402fd0b7b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207400}
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6

from ruby-buildpack.

jtarchie avatar jtarchie commented on June 12, 2024

@df007, from the logs.

The correct version of rails is being installed. The Gemfile.lock reports that the version should be 4.0.2 and the logs reflect that it was installed via bundle correctly.

This is an application issue. Please create an issue on the application's github repo. We have reached out to the team members for the app and they will help you out.

Thanks, JT

from ruby-buildpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.