Questions tagged [digital-ocean]

DigitalOcean is a provider of cloud infrastructure and services. ONLY PROGRAMMING QUESTIONS ARE ON-TOPIC (e.g. questions about programming for the DigitalOcean API). Questions about DigitalOcean the company, administrating systems, customer service based question, etc. are off-topic for Stack Overflow.

DigitalOcean is an American cloud computing provider based in New York City.

The company leases capacity from existing data centers, including sites in New York, Amsterdam, San Francisco, London, Singapore, Frankfurt, Toronto, and Sydney. DigitalOcean allows users to quickly create virtual private servers, called "droplets" (), Kubernetes clusters (), and serverless Functions ().

DigitalOcean is highly accessible to students through the Github Student Education Pack. The company also publishes community tutorials on a variety of open source technologies.

Useful Links

3938 questions
9
votes
2 answers

Unable to authenticate mongodb remotely

I am unable to authenticate mongodb remotely. I'm running MongoDB 3.0.0 provided by the DigitalOcean One-Click installer, and I can't seem to set up authentication properly. I have 1 database called wbio_production. I followed mongodb docs…
njny
  • 559
  • 2
  • 15
9
votes
6 answers

Meteor is crashing on the smallest DigitalOcean Droplet (out of memory: Kill process ...)

I am running simple Meteor app on basic (512GB) DigitalOcean droplet. Once in a while Meteor simply crashes with this error message: Out of memory: Kill process 9682 (node) ... ... => Exited from signal: SIGKILL FATAL ERROR: JS Allocation failed -…
Marek
  • 2,608
  • 4
  • 25
  • 32
9
votes
1 answer

Why does my WEBrick server get killed?

I've got a rails development environment running in DigitalOcean on Ubuntu 12.04, but my WEBrick process keeps getting "killed" after a couple of hours. I haven't been able to find any settings or configuration that would cause this. Example Console…
adamb0mb
  • 1,401
  • 1
  • 12
  • 15
9
votes
3 answers

How to deploy meteorjs project to digital ocean?

How to deploy meteorJS project to Digital Ocean VPS? CentOS x64 - is good for it? Or I need to setup something else?
Vladislav
  • 371
  • 4
  • 12
8
votes
3 answers

Installing python in Dockerfile without using python image as base

I have a python script that uses DigitalOcean tools (doctl and kubectl) I want to containerize. This means my container will need python, doctl, and kubectl installed. The trouble is, I figure out how to install both python and DigitalOcean tools in…
boblerbob
  • 149
  • 3
  • 9
8
votes
1 answer

Invalid HTTP method in Traceback: Uvicorn

I am using uvicorn 0.11.8 and fastapi 0.61.1. My application is hosted in VPS. When I run the app in local server, such error is not reproducible. It shows correct message 404 Not found for methods not available but I couldn't figure out what is…
Himal Acharya
  • 836
  • 4
  • 14
  • 24
8
votes
0 answers

Using Let's Encrypt certificates on DigitalOcean App Platform for a HTTPS node app

I'm used to deploying HTTPS Node apps on DigitalOcean servers using Docker, the Express framework and the https package like this: const https = require('https'); const app = express(); // ... const ssl = { key:…
samdouble
  • 452
  • 4
  • 12
8
votes
4 answers

React w/ Kubernetes deployed API giving cors error

This is different from other cors related questions I am running my node backend-api on microservices on kubernetes deployed on Digitalocean. I have literally read all the blogs/forums related to this issue and haven't found any solution…
Karan Kumar
  • 2,678
  • 5
  • 29
  • 65
8
votes
2 answers

How to setup DNS configuration with Netlify and Digital Ocean combined?

I have bought a domain my-domain.com at Namecheap. My goal is to use subdomains of my-domain.com with Digital Ocean and my-domain.com with Netlify. Desired result: my-domain.com redirecting to Netlify subdomain1.my-domain.com redirecting to…
mosses
  • 351
  • 3
  • 18
8
votes
2 answers

How do managed Kubernetes providers hide the master nodes?

If I run kubectl get nodes on GKE, EKS, or DigitalOcean Kubernetes, I only see the worker nodes. How are these systems architected at the network or application level to create this separation between workers and masters?
8
votes
1 answer

No matching distribution found for Django==2.2

I am deploying a django app on a digital ocean droplet server that I developed using Django version 2.0. Using Putty to SSH into my ubuntu server, I try to upgrade using pip install Django==2.2. I get the following error message: Could not find a…
MattG
  • 1,682
  • 5
  • 25
  • 45
8
votes
1 answer

How to change all the folder files permission private into public in Digital Ocean spaces?

I have synced my AWS s3:bucket to digital ocean spaces. In my s3:bucket, my all folders/files permission is in Private- but anyone will read. After, the sync s3 - spaces, my all folders/files permission is in Private. Because of that anyone not able…
Dhananjayan K
  • 175
  • 2
  • 11
8
votes
3 answers

Nginx with Let's encrypt "Welcome to Nginx" instead of rails app

I have recently deployed my Ruby on Rails application to a plain Ubuntu 16.04 DigitalOcean droplet with Nginx, passenger & Let's encrypt. The rails app worked fine with just passenger and Nginx but after I installed Let's Encrypt, it points to the…
Jake
  • 1,086
  • 12
  • 38
8
votes
2 answers

Flask application cannot be exposed on droplet

I'm deploying a flask server to a Digital Ocean droplet. from flask import Flask app = Flask(__name__) @app.route("/a/") def deploy(b): return "Response" Using the following command: FLASK_APP=server.py python -m flask run…
Peteris
  • 3,548
  • 4
  • 28
  • 44
8
votes
1 answer

Strapi is not loading the Collections from existing MongoDB hosted on Digital Ocean

I am creating a New Application using Strapi and I have tried to connect it with my MongoDB which is hosted on Digital Ocean but unfortunately Strapi is not able to fetch the collections from existing MongoDB. Here, I am mentioning the complete…
Nishi Gaba
  • 661
  • 8
  • 28