Author Topic: NodeJS cannot auto start after rebooting the server  (Read 788 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
NodeJS cannot auto start after rebooting the server
« on: October 12, 2024, 03:51:46 AM »
I'm using Almalinux 8.10. My NodeJS cannot autostart after rebooting the server. How do I fix this problem?

Offline
*
Re: NodeJS cannot auto start after rebooting the server
« Reply #1 on: May 08, 2026, 01:11:24 PM »
Hi!

I have same problem.
You solved?

Tahnks!

Offline
**
Re: NodeJS cannot auto start after rebooting the server
« Reply #2 on: May 09, 2026, 12:35:56 PM »
Not very helpful to you admittedly but mine auto restarts without an issue. I'm running version:24.15.0
Web Design, Development & Web Hosting
https://6sense.com.au

Offline
*
Re: NodeJS cannot auto start after rebooting the server
« Reply #3 on: May 13, 2026, 02:02:38 PM »
Hi!

For me, seems to be a problem with PM2.
We have 3 versions of NodeJS installed and for some reason the PM2 losts some configurations. No apps showed in apps list.
When server reboots, PM2 try to restart all apps, but not find any.

I'm not sure how to solve it.


Offline
**
Re: NodeJS cannot auto start after rebooting the server
« Reply #4 on: May 14, 2026, 11:00:08 AM »
Mmm I don't use PM2 so it might be your issue.

CWP restarts the node.js server as long as you use the manager so you probably don't need it.
Web Design, Development & Web Hosting
https://6sense.com.au

Offline
*
Re: NodeJS cannot auto start after rebooting the server
« Reply #5 on: May 14, 2026, 04:36:16 PM »
6Sense, but I didn't nothing to choose using PM2.
Just install NodeJS versions and start using it.


Offline
**
Re: NodeJS cannot auto start after rebooting the server
« Reply #6 on: May 17, 2026, 10:28:23 AM »
I'm pretty sure CWP doesn't auto install PM2 when you set up the node.js mod (otherwise I'd have it installed too).

Maybe it was installed as s dependancy for something you were doing.
Web Design, Development & Web Hosting
https://6sense.com.au