keymetrics / pm2-plus-tech-questions

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

Unable to add new server to bucket #314

Closed WTF-Software closed 4 months ago

WTF-Software commented 1 year ago

I'm unable to add a new server to a bucket.

I follow the simple instructions on PM2.io but it doesn't appear in the list (install, link, start).

When I run 'pm2 plus', after running 'pm2 link', it authenticates ok, but then tells me to run 'pm2 plus' again and does not appear in my bucket.

I'm using the free monitor (4) with only 2 servers in the bucket.

pm2 version: 5.2.0 NodeJs version: v12.22.9

Help?

multikitty commented 1 year ago

Please try to execute "pm2 monitor".

WTF-Software commented 1 year ago

Please try to execute "pm2 monitor".

Thanks for the suggestion but I get the same result - prompted to execute 'pm2 plus'

Nadejde commented 11 months ago

Did you manage to solve this issue by any chance? I'm having the same problem right now and I'm not sure how to progress. More details:

[PM2 I/O] Successfully authenticated

[PM2 I/O] Successfully validated

[PM2 I/O] If you don't want to connect to a bucket, type 'none'

[PM2 I/O] Type the name of the bucket you want to connect to : ***

[PM2 I/O] Using: Public key: | Private key: | Machine name: ***

[PM2 I/O] Run $ pm2 plus to connect `

I'm not sure how to move forward with this:(

WTF-Software commented 11 months ago

Sadly, I haven't been able to fix the issue.

It is still occurring for me.

conidig commented 8 months ago

Everyone still having the issue? Same here.

codykociemba commented 8 months ago

Same issue, any fixes?

sanalSynigence commented 6 months ago

I am having the same issue, any one have any solution?

WTF-Software commented 4 months ago

I managed to fix the issue.

I checked the agent.log in ~/.pm2/logs and saw that an error was occurring due to the optional chaining operator (.?).

Support for this only became available in Node 14.4+. I was running v12.22.x.

Upgraded Node - all fixed.