New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passenger 5.0.0-beta2 crash on Heroku #1329

Closed
SebastianEdwards opened this Issue Dec 20, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@SebastianEdwards

SebastianEdwards commented Dec 20, 2014

Log below. Heroku stack is cedar-14 (the default). Ruby is MRI 2.1.5.

2014-12-20T13:58:13.359737+00:00 heroku[web.1]: State changed from crashed to starting
2014-12-20T13:58:18.919860+00:00 heroku[web.1]: Starting process with command `bundle exec passenger start -p 47119 --max-pool-size 3`
2014-12-20T13:58:20.649546+00:00 app[web.1]:  --> Downloading a Phusion Passenger agent binary for your platform
2014-12-20T13:58:21.049173+00:00 app[web.1]:
2014-12-20T13:58:21.049184+00:00 app[web.1]:  --> Installing Nginx 1.6.2 engine
2014-12-20T13:58:21.147891+00:00 app[web.1]:
2014-12-20T13:58:21.147903+00:00 app[web.1]: --------------------------
2014-12-20T13:58:21.147905+00:00 app[web.1]:
2014-12-20T13:58:21.156832+00:00 app[web.1]:  --> Compiling passenger_native_support.so for the current Ruby interpreter...
2014-12-20T13:58:21.156839+00:00 app[web.1]:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
2014-12-20T13:58:24.837144+00:00 app[web.1]:      Compilation succesful. The logs are here:
2014-12-20T13:58:24.837151+00:00 app[web.1]:      /tmp/passenger_native_support-fmisb.log
2014-12-20T13:58:24.838239+00:00 app[web.1]:  --> passenger_native_support.so successfully loaded.
2014-12-20T13:58:24.918791+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/start_command/builtin_engine.rb:86:in `getgrgid': can't find group for 31893 (ArgumentError)
2014-12-20T13:58:24.918797+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/start_command/builtin_engine.rb:86:in `build_daemon_controller_options'
2014-12-20T13:58:24.918799+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/start_command/builtin_engine.rb:37:in `start_engine_real'
2014-12-20T13:58:24.918802+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/start_command.rb:506:in `start_engine'
2014-12-20T13:58:24.918804+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/start_command.rb:66:in `run'
2014-12-20T13:58:24.918806+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/lib/phusion_passenger/standalone/main.rb:50:in `run!'
2014-12-20T13:58:24.918808+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/passenger-5.0.0.beta2/bin/passenger:44:in `<top (required)>'
2014-12-20T13:58:24.918810+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/bin/passenger:23:in `load'
2014-12-20T13:58:24.918812+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/bin/passenger:23:in `<main>'
2014-12-20T13:58:25.736081+00:00 heroku[web.1]: Process exited with status 1
2014-12-20T13:58:25.747409+00:00 heroku[web.1]: State changed from starting to crashed
@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Dec 20, 2014

Member

Oh damn, I forgot that Heroku has broken GID databases and that we're supposed to deal with that. Thanks for reporting this.

Member

FooBarWidget commented Dec 20, 2014

Oh damn, I forgot that Heroku has broken GID databases and that we're supposed to deal with that. Thanks for reporting this.

@FooBarWidget FooBarWidget added this to the 5.0.0 beta 3 milestone Dec 20, 2014

@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Dec 20, 2014

Member

Also, if you're on Heroku, please use the Nginx engine instead of the builtin engine. The Nginx engine works better on Heroku.

passenger start [...] --engine=nginx
Member

FooBarWidget commented Dec 20, 2014

Also, if you're on Heroku, please use the Nginx engine instead of the builtin engine. The Nginx engine works better on Heroku.

passenger start [...] --engine=nginx
@cwoodcox

This comment has been minimized.

Show comment
Hide comment
@cwoodcox

cwoodcox Jan 26, 2015

Is this gonna get released in another beta? I just updated to beta2 and it's totally busted on Heroku.

EDIT: Added --engine ngnix to my Procfile and that fixes it.

cwoodcox commented Jan 26, 2015

Is this gonna get released in another beta? I just updated to beta2 and it's totally busted on Heroku.

EDIT: Added --engine ngnix to my Procfile and that fixes it.

@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Jan 26, 2015

Member

Yes it is. It's slated for beta 3, which isn't out yet.

Member

FooBarWidget commented Jan 26, 2015

Yes it is. It's slated for beta 3, which isn't out yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment