arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 394 forks source link

mup hangs #663

Open bernardgut opened 9 years ago

bernardgut commented 9 years ago

Hi,

When I run mup setup it hangs on the first task ("installing node") When I try to run mup logs it asks for a password for my user then hangs

I set mup to connect to the remote with ssh public-key auth. ("host"/"username"/"pem"). I added my public key to the server and updated the sudoers files as per the doc. I can connect to the user on the server without pass.

what am I doing wrong? Thanks

PS: whether I use password authentication, both commands react the same way (hangging)

MasterJames commented 9 years ago

You could try the mupx version instead first and see if that's easier. Otherwise DEBUG *= mup command Will generate more verbose logs you should post here.

It appears you made it to https://github.com/arunoda/meteor-up/blob/b58ed9a40e2104eb5ca8818cff7d0bea0623a96c/lib/taskLists/linux.js Which tries to run the script... https://github.com/arunoda/meteor-up/blob/b58ed9a40e2104eb5ca8818cff7d0bea0623a96c/scripts/linux/install-node.sh

If you can manually perform those script steps you should be able to trace the problem. By SSHing into the server and run the script or steps.

Are you using a supported server type Ubuntu 14?

bernardgut commented 9 years ago

Hi @MasterJames

Seems like it was the Ubuntu 12 version that was giving me the error... I fired up another VM with 14.04 and it fixed the issue.

Thanks