Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Great article, very helpful.
I always end up with this error though:
/home/****/bundle/programs/server/node_modules/fibers/future.js:173
throw(ex);
^
Error: /home/****/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build/Release/bcrypt_lib.node: invalid ELF header
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at bindings (/home/****/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15)
at Object.<anonymous> (/home/****/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/bcrypt.js:1:97)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Any ideas?
I’m getting this error
2014/10/07 23:45:03 [error] 3266#0: *135 connect() failed (111: Connection refused) while connecting to upstream, client: 208.123.162.2, server: mysite.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "mysite.com"
trying to configure nginx without ssl, here is my config:
# HTTP
server {
listen 80 default_server; # if this is not a default server, remove "default_server"
listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html; # root is irrelevant
index index.html index.htm; # this is also irrelevant
server_name mysite.com; # the domain on which we want to host the application. Since we set "default_server" previously, nginx will answer all hosts anyway.
# If your application is not compatible with IE <= 10, this will redirect visitors to a page advising a browser update
# This works because IE 11 does not present itself as MSIE anymore
if ($http_user_agent ~ "MSIE" ) {
return 303 https://browser-update.org/update.html;
}
# pass all requests to Meteor
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; # allow websockets
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr; # preserve client IP
# this setting allows the browser to cache the application in a way compatible with Meteor
# on every applicaiton update the name of CSS and JS file is different, so they can be cache infinitely (here: 30 days)
# the root path (/) MUST NOT be cached
if ($uri != '/') {
expires 30d;
}
}
}
can you help me figure out this issue?
MUP (Meteor Up) can replace step 4 and when you need to redeploy just run mup deploy instead of step 5.
https://github.com/arunoda/meteor-up
Actually if you are going to use MUP you might want to look at this article http://code.krister.ee/hosting-multiple-instances-of-meteor-on-digitalocean/ because although this digitalocean article is very detailed it is also much more complicated than a deployment using MUP would be.
I am receiving this repeated error:
Error: listen EADDRINUSE at errnoException (net.js:904:11) at Server._listen2 (net.js:1042:14) at listen (net.js:1064:10) at net.js:1146:9 at dns.js:72:18 at process._tickCallback (node.js:419:13)
I think the problem is with the nginx configuration. Any ideas?
Why it s complex?) I will recommend you to create for example chief or puppet recipes for every tutorial)) I am tired after doing these all steps.
Hi, no matter what, I get a 502 bad gateway error. I think it’s because of step 5:
Now go back to your Droplet. Create a project directory and move the archive project file into it. Note that this is the home folder for the project user that we created previously, not your root home folder:
All of your steps at this point like mkdir /home/projectname force the creation of the folder in the root’s home folder (because of the slash in front of it), so how are we supposed to use the project user’s home folder?
Thanks, -Gabe
Same here. And the error.log file says something like:
[error] 4546#0: *17 connect() failed (111: Connection refused) while connecting to upstream
I really hope we can get this figured out soon, but it’s the same error listed by ran818145 on Oct. 8, and still no solution, posted here at least.
Interestingly, I get the following error after adding a json string to my METEOR_SETTINGS environment variable. I’ve not been able to find a solution to this yet. I’m on DO, using a Ubuntu 14 droplet. Works fine locally, and worked fine on the server until I added this:
root@dev:/home/qdev# echo $METEOR_SETTINGS { “public”: { }, “firstUser”: { “id”: “oPMfpAuwQ3nuTdpTA” } } root@dev:/home/qdev#
Here’s the error:
module.js:340 throw err; ^ Error: Cannot find module ‘underscore’ at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/qdev/bundle/programs/server/boot.js:5:9) at Module._compile (module.js:456:26) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
I’m running into the same problem as a couple folks above have. I’m getting this:
2014/11/23 20:33:31 [error] 2949#0: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 174.29.13.110, server: practicalhomesteading.com, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8080/”, host: “practicalhomesteading.com”
in /var/log/nginx/error.log
I’ve also tried this change:
listen 80;
# listen 80 default_server; # if this is not a default server, remove "default_server"
# listen [::]:80 default_server ipv6only=on;
With no success.
netstat -plutn | grep 8080
Returns nothing.
status todos returns:
todos start/running, process 10232
Any suggestions on this?