How do I setup my Meteor app on my droplet.

July 28, 2016 782 views
DigitalOcean Nginx

I've followed the guide https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx And I am having this error,

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I've done research and seems like I need to install Meteor Up on my computer and do some settings then launch with that or... to be honest I dont know lol. Can someone please at least point me to the right direction because I do not want to mess up the setup and not know what to fix in the process. Thanks for any help

1 comment
  • striker78 less than a minute ago

    Having same issue. I created a droplet for ubuntu 16.04. Then I followed the 14.04 guide for meteor. This works ok though I had to use updated info for nodejs install - How To Install Node.js on Ubuntu 16.04 - using a PPA).

    But when i run
    start myapp

    I get the same error
    status: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

    Should I switch to start app with systemd? If so, what config is required?
    If still should run with Upstart what is fix?
    Or ...???

    Help would be appreciated as close to deploying website.

    Node.js is a popular Javascript platform that can be used to build web applications quickly and easily. In this guide, we'll get you up and running with Node.js on an Ubuntu 16.04 server.
2 Answers

Our default base image recently changed to Ubuntu 16.04. This tutorial is for 14.04. Attempting to follow this tutorial on a 16.04 droplet could likely lead to the error you are seeing.

If you are on Ubuntu 14.04 let us know the exact command you are running when you get that error message.

  • nah im using the latest version... is there a guide you can point me to, to do this right? and what should i do now that its wrong? should i destroy ny droplet and start again or? im really new at these stuff

Have another answer? Share your knowledge.