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
13
votes
3 answers

Meteor app deployed to Digital Ocean stuck at 100% CPU and OOM

I have a Meteor (0.8.0) app deployed using Meteor Up to Digital Ocean that's been stuck at 100% CPU, only to crash with out of memory, and start up again at 100% CPU. It's been stuck like this for the past 24 hours. The weird part is nobody is using…
landland
  • 2,117
  • 3
  • 20
  • 26
13
votes
1 answer

Apache - resources randomly hang (resulting in slow page loads)

HTTP requests of resources randomly - about between 1-5% of the time (per resource, not per page loads) - take extremely long to be delivered to the browser (~20 seconds), not uncommonly hanging indefinitely even. (Server details listed in list at…
Attila Szeremi
  • 5,235
  • 5
  • 40
  • 64
12
votes
2 answers

"systemctl start pm2-user-name" gives ERROR

I’m setting up a new server and trying now to get pm2 installed and working following this instructions https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-18-04 When trying sudo systemctl…
12
votes
1 answer

systemd service file Failed to execute command: Permission denied

I am creating the systemd service file on a DigitalOcean Server which has has ubuntu 18 and NGINX as a web server. The script at systemd service file is: [Unit] Description=gunicorn…
mrc
  • 2,845
  • 8
  • 39
  • 73
12
votes
1 answer

Clone a Cloud9 workspace into an SSH enabled setup

My question concerns migrating a web app built in Flask to a Droplet. I have built the app in a private workspace, using the Flask template in C9. Now it's been developed, I want to set up the app in a Digital Ocean droplet. To connect a brand new…
JohnL_10
  • 549
  • 5
  • 15
12
votes
1 answer

Node request for certain site results in ETIMEDOUT error most of the time

Specs Here's some background info on the system I'm running: Ubuntu v 14.04 Node v4.4.0 Node request module v2.69.0 All of this on a DigitalOcean droplet/server on a New York-based center.   Problem Description So I run the following js file: var…
youngrrrr
  • 3,044
  • 3
  • 25
  • 42
12
votes
2 answers

Setting up a vagrant with a digitalocean image

I dont know if this should be posted here or on another stack community so please let me know if its wrong posting it here. How do I get a local (i.e. on my laptop) VM that is identical to my DO droplet (Ubuntu 14.04 - LAMP etc) running? Does DO…
matthew
  • 703
  • 2
  • 9
  • 24
11
votes
2 answers

How to set base URL based on environment variable in Next.js?

I have a Strapi backend and Next.js frontend app deployed on DigitalOcean. On DigitalOcean is set an environment variable for the frontend: API_URL = ${APP_URL}/api I fetch this variable to generate the base url: // constants.js export const…
11
votes
2 answers

Is it possible to health check a Kubernetes API server over HTTP or TCP?

I need to load balance a cluster of Kubernetes API servers (version 1.7) on DigitalOcean, but the problem is that the Kubernetes API server seemingly only supports HTTPS and the DigitalOcean load balancer can only do HTTP or TCP health checks. Is…
aknuds1
  • 65,625
  • 67
  • 195
  • 317
11
votes
2 answers

Disappearing shiny server log

I am trying to run a Shiny app on Digital Ocean and it looks like I still have space on the machine: free total used free shared buff/cache available Mem: 500096 78316 54188 5712 …
eliavs
  • 2,306
  • 4
  • 23
  • 33
11
votes
1 answer

Unable to deploy Rails App to DigitalOcean because of unsupported key type

I have configured the droplet in DO and nginx is up and running successfully. I followed the guide on DO on deploying to server via Capistrano. I can ssh into the server without entering my password. But on running bundle exec cap production…
tekina
  • 571
  • 10
  • 21
11
votes
1 answer

Still getting 413 Request Entity Too Large even after client_max_body_size 100M

I'm using Rails and Nginx on Digital ocean and I've been trying to upload a 17.6 MB file and I'm still getting 413 Request Entity Too Large even after setting client_max_body_size 100M in my /etc/nginx/nginx.conf file. Here's the snippet from the…
tobogranyte
  • 899
  • 1
  • 9
  • 26
11
votes
2 answers

execute commands in a CoreOS cloud-config (e.g. to add swap)

I see that unlike the standard cloud-config file, there is no runcmd option in a CoreOS cloud-config file. Currently, I enable swap on a CoreOS machine by adding the following to my cloud-config: units: - name: swap.service command:…
cboettig
  • 12,377
  • 13
  • 70
  • 113
11
votes
1 answer

Configuring Gunicorn: No application module specified

I'm trying to deploy a django project with NGINX and gunicorn. I keep getting 502 Bad Gateway. I've been working nonstop on this for the past few days and I can't seem to get this deployed. I've gone through 3 tutorials on Digital Ocean, but they…
Cameron Sima
  • 5,086
  • 6
  • 28
  • 47
10
votes
0 answers

npm run dev returns "Failed: EOF" error on DigitalOcean Apps

I am working to migrate a Laravel web application to DigitalOcean's new App platform. We have been running this application on several machines over the past few months with no npm issues. However, now we are encountering the below error when we…