Digital Ocean + Meteor: Mup Deploy Not Working
I am currently receiving a lot of traffic, and I had to upgrade to a larger server on digital ocean. This was the second time I did this today, the first time was fine. But now the site reverted to an old version of the site.
Mup deploy doesn’t work. Mup stop doesn’t stop the site so it means that the site is connected to another process.
mup logs -f gives me this:
Error: listen EADDRINUSE
at errnoException (net.js:905:11)
at Server.listen2 (net.js:1043:14)
at listen (net.js:1065:10)
at process.tickDomainCallback (node.js:492:13)
[18.104.22.1686] error: Forever detected script exited with code: 7
Does anyone know how to find other versions that could be running on the server? I am trying to kill the process but I can’t find anything that make sense. Here are the open ports:
netstat -ntlp | grep LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1271/mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1140/sshd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5552/stud
tcp6 0 0 :::22 :::* LISTEN 1140/sshd
I’ve manually killed port 80 and the site is still going, I can’t stop this old version. Anybody ever run into something like this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.