keymetrics / pm2-plus-tech-questions

http://docs.keymetrics.io/docs/pages/faq-troubleshooting/
27 stars 3 forks source link

Wrong Node version reported #88

Closed mgol closed 9 years ago

mgol commented 9 years ago

A few days ago I've switched from io.js 3.3.0 to Node.js 4.0.0 on my server; I've removed io.js completely, including its repo (I've been using https://github.com/nodesource/distributions/tree/master/deb for io.js, I use the same repo for Node.js 4 now). I've updated my server JavaScript code to a version that wouldn't be understood by io.js 3.3.0 so I know it's running on Node 4. However, https://app.keymetrics.io still shows the used Node version as io.js 3.3.0.

I've been restarting the app, both from the command line and the site UI but nothing changed.

alavit-d commented 9 years ago

It is likely that the pm2 daemon is the one running on io.js 3.3.0. Try pm2 update in command line and refresh the dashboard.

mgol commented 9 years ago

Ah, thanks, I forgot about that. Note that now it shows "io.js 4.0.0" which is incorrect - there is no such version. :)

alavit-d commented 9 years ago

Waiting for PR https://github.com/Unitech/PM2/pull/1606

mgol commented 9 years ago

Ok, thanks! I'm closing this one then.

Unitech commented 9 years ago

fixed

knoxcard commented 5 years ago

pm2 update did the trick! This should automatically run onpm2 reload all?