-
Notifications
You must be signed in to change notification settings - Fork 77
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 can't start Rails app with Forest #405
Comments
Let me try to understand:
Do you mean everything was working fine with the Forest Liana integrated properly in your Rails server?
What was the last operation or contributions done prior to the sudden issue? Thanks for your help 🙏 |
@arnaudbesnier Thank you for answer.
Yes, everything worked fined.
We did absolutely nothing. No Rails app deploys performed nor DevOps works made. We have none shell scripts set up. Similar problem is reported here: phusion/passenger#2026 We see the same message in logs as in above issue:
Do you think that output message from Forest can crash Passenger? Maybe there is possiblity to remove that message somehow? |
Hi @Lukasz-Ziemnicki @arnaudbesnier I can confirm this too. Passenger failed to start suddenly. We simply redeployed the instances and didn't start, so we added as a temporary solution the ENV var Interesting though is the fact that if we use Puma ( Also, I wasn't able to reproduce locally using passenger 6 (didn't have time to install an older version in OSX). |
@Lukasz-Ziemnicki @rrodrigu3z as I noticed also upgrade passenger to version 5.3.7 and above solves the problem. |
Expected behavior
Start Rails 5 application.
Actual behavior
Passenger does not boot Rails 5 app.
Failure Logs
[ E 2020-12-29 00:42:39.0632 21407/T1c age/Cor/App/Implementation.cpp:305 ]: Could not spawn process for application /var/www/app/current: An error occurred while starting up the preloader. It sent an unknown response type "socket: unix:/tmp/passenger.G06gso5/apps.s/preloader.1bwmyct\n". Error ID: a1fe365c Error details saved to: /tmp/passenger-error-xm0eQ3.html Message from application: An error occurred while starting up the preloader. It sent an unknown response type "socket: unix:/tmp/passenger.G06gso5/apps.s/preloader.1bwmyct\n".<br> Raw process output: ... [ E 2020-12-29 00:42:39.1126 21407/Tf age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 5-2] Cannot checkout session because a spawning error occurred. The identifier of the error is a1fe365c. Please see earlier logs for details about the error. client_loop: send disconnect: Broken pipe
Context
-> 4
What it is interesting everything worked fine till yesterday. After removing Forest Liana from Gemfile (and initializers) Passenger correctly boots my Rails app. No new code was released neither DevOps work on server made. It's sudden issue.
The text was updated successfully, but these errors were encountered: