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
no Phusion Passenger(R) log file configured, discarding log output #2541
Comments
You cannot use modules compiled for one nginx version with another nginx version. Our nginx module package is compiled for the distro nginx not the one provided by f5. If you want to use an nginx other than the distro provided package, you need to compile the passenger module yourself. there are instructions here: https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install_as_nginx_module.html As for the log output, by default logs are added to the nginx error log, which you can tail to stdout with a simple script like our docker images do. I'm not actually sure where the error you see is coming from. |
Okay, the error is written over here
Yes i do the same from the dockerfile though its not sending any logs here and the /dev/stdout and /dev/stderr are empty when i do tail of them
Is passenger version >= 6.0.18 is not compiled with nginx 1.24.0 version? as i can see in changelog it is suggested that we need to upgrade to 1.24.0 from 1.22.1 version. and is there anything changed for the latest version of passenger for the logs config?. Per doc the log would written to |
Passenger standalone (ie running That no logs are currently being forwarded makes no sense because nginx itself should be producing some logs at least. I'd recommend getting nginx configured to log how you like first, then try turning passenger back on. |
Hi @CamJN, I've tried with debian 11 (bullseye) docker image and latest passenger version 6.0.20 and by default nginx version installed in here is 1.18.0 and its showing logs when i do It is only giving issue with debian 12(bookworm) with passenger version 6.0.20 and nginx version 1.22.1 is not working. Is there any idea why it is failing?. seems it might be due to nginx but i am following the passenger doc to install same on ruby image 3.3.1-slim. Would you please suggest here? |
I would recommend getting it working without passenger, then turn passenger on. |
We are encountering the issue with log output to the container for passenger. This is the logs which shows when we do kubectl logs -f pod
[alert] 7#7: no Phusion Passenger(R) log file configured, discarding log output
Installed packages:
passenger verison: 6.0.20
nginx - 1.22.1
Os version - debian 12 (bookworm)
Installation details - https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/standalone/install/oss/bookworm.html
We've also tried to move nginx 1.22.1 from 1.24.0 as suggested by the passenger changelog though its giving trouble with package dependency.
We tried to install passenger and nginx using below.
Installation error:
The text was updated successfully, but these errors were encountered: