• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Node gives up the ghost [Node is no longer working]

Kroptokin

Regular Pleskian
Server operating system version
AlmaLinux 8.9 (Midnight Oncilla)
Plesk version and microupdate number
Plesk Obsidian Version 18.0.57 Update #5, last updated on Dec 23, 2023 02:30 AM
So - I am using the Node "feature". Ever since I set it up on a very clean installation and according to the instructions it has always said "another instance of node is already running on this root" - (I posted it about this before but don't think I got a response from Plesk (Issue - Issues with installing node.js). I am on the "ask your ISP for support plan". Ha. Anyway - today it has given up the ghost. Stopped responding to any requests at all. The passenger log seemed to show a request but that was it.

I wonder where I should start trying to resolve this?

Since I haven't got time (the whole idea of spending rather a lot of money on this was so I don't have to spend time on server admin) to look into this I'm going to try deleting the domain and starting again. I'll post back.

If anyone knows any alternative way to run Node/Express apps without Plesk that would be great.

Thanks
 
So - deleted the domain and started again. Some permission problems when I used the interface to run npm install which is odd. I don't remember that from before. Seem to have overcome them. Set everything up as per the documentation How to Host Node.js Applications on Plesk Obsidian and back where we started - something is running. There are signs of life in the passenger log. But any requests are not processed in anyway - nothing can be logged and nothing is returned.

What is odd is that this problem just emerged. I didn't change anything. It was working and then it wasn't. I don't know where to look really though I think my next bet is to ignore plesk and just try to run a node web app on linux as if I didn't have Plesk.
 
ve instead.
App 34072 output: (Use `node --trace-deprecation ...` to show where the warning was created)
[ E 2024-01-17 19:26:39.0438 33035/T0 apa/Hooks.cpp:751 ]: Unexpected error in mod_passenger: Cannot connect to the Passenger core at unix:/tmp/passenger.8tadAT7/agents.s/core
Backtrace:
in 'Passenger::FileDescriptor Passenger::Apache2Module::Hooks::connectToCore()' (Hooks.cpp:343)
in 'int Passenger::Apache2Module::Hooks::handleRequest(request_rec*)' (Hooks.cpp:622)

Also this:

App 34441 output: (node:34441) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
App 34441 output: (Use `node --trace-deprecation ...` to show where the warning was created)


So - It is receiving requests and dying before it can pass the request to anything to process it.
 
#
[ W 2024-01-17 20:08:27.0343 159403/T1 age/Wat/WatchdogMain.cpp:538 ]: Some Phusion Passenger(R) agent processes did not exit in time, forcefully shutting down all.
[ E 2024-01-17 20:08:32.0025 156278/T0 apa/Hooks.cpp:751 ]: Unexpected error in mod_passenger: Cannot connect to the Passenger core at unix:/tmp/passenger.WYXJHaG/agents.s/core
Backtrace:
 
Sorry to write a whole chain but it doesn't let me edit previous entries.
Ok. So after a lot of trying different things we have some consistency around nginx 504 or 502 and also it is very keen on directing my domain to the Plesk login page even when assuring me that the Node app is ready to answer and all the directories are set up as per the documentation. I don't think this feature is production ready. I have wasted a lot of time on it. It seems that if you want to run a node web app you should avoid this feature and just run it on the OS without any help from Plesk.
 
Back
Top