Skip to content
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

web/config.ru incompatible with Phusion Passenger 4 due to redirection of stdout #34

Closed
smsm1 opened this issue Aug 5, 2013 · 1 comment

Comments

@smsm1
Copy link
Contributor

smsm1 commented Aug 5, 2013

In upgrading Phusion Passenger to version 4.0.10 as part of a server move it turns out there's been a few changes that mean that stdout redirection causes issues for the application.

Commenting out the following line means that the app will now startup correctly:
https://github.com/joto/taginfo/blob/531a435ec4d0a93d88277eff6f5824a5eddbe103/web/config.ru#L14

Information about the problem is available at:
https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems
https://code.google.com/p/phusion-passenger/issues/detail?can=2&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Stars%20Summary&groupby=&sort=&id=914

joto added a commit that referenced this issue Aug 5, 2013
@joto
Copy link
Member

joto commented Aug 5, 2013

The redirect of stdout wasn't needed anyway as nothing should write to stdout. (Errors are written to stderr.)

@joto joto closed this as completed Aug 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants