[PM2][WARN] Current process list is not synchronized with saved list.

技术运维 239

如果pm2 list命令没有任何服务启动

[PM2][WARN] Current process list is not synchronized with saved list. App xxx xxx differs. Type 'pm2 save' to synchronize.

可以使用pm2 update来重新启动服务进程,不过问题没有解决根源,每次重启系统都会需要使用该命令来激活进程。

确保在启动选项后指定用户

pm2 startup -u nodeuser

使用 root 并重新启动服务器

pm2 startup -u root

参考连接:https://github.com/Unitech/pm2/issues/4556

Post Comment