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
25
votes
15 answers

Your Composer dependencies require a PHP version ">= 8.1.0"

I am getting this error with Laravel 9, I have PHP 8.1.7 installed Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". I can see other have asked the question, bit non of the solutions seem to be…
Mendy Kahan
  • 393
  • 1
  • 3
  • 6
25
votes
1 answer

serve -s build specify port number

I'm trying to serve a react-app's build folder from a DigitalOcean droplet. After I run yarn build, I get told by the script to run yarn global add serve serve -s build However, when I run serve -s build, It say's it's running on…
rma
  • 1,853
  • 1
  • 22
  • 42
25
votes
3 answers

How to pass Variables to Terraform modules via CLI or tfvars file?

(Please note: after receiving initial answers, this issue seems to not be just an issue with passing the variables, but with modularizing my configurations, note at the bottom where I hardcode the values yet the UI prompts me to provide the…
24
votes
2 answers

PM2 process disappears after reboot

I am using PM2 to run my node app as a service. My Node app is RAM Hungry so it consumes around 300 to 800mb of ram depending on traffic. My DigitalOcean droplet has 1GB RAM. Sometimes out of the blue, my app disappears from running services and I…
Usman Tahir
  • 2,513
  • 4
  • 24
  • 38
24
votes
7 answers

Mailgun domain not found: example.com

I am trying to setup emails with my own website. Let's say the domain name is example.com. The name server in use is digital ocean and I also have a gmail account linked to the same (say using contact@example.com). While setting up things with…
sudshekhar
  • 1,576
  • 3
  • 18
  • 31
23
votes
2 answers

Expose port 80 on Digital Ocean's managed Kubernetes without a load balancer

I would like to expose my Kubernetes Managed Digital Ocean (single node) cluster's service on port 80 without the use of Digital Ocean's load balancer. Is this possible? How would I do this? This is essentially a hobby project (I am beginning with…
Joseph Horsch
  • 534
  • 4
  • 16
22
votes
1 answer

openjdk: how to add site to exception list

I would like to run an applet on my server and currently it is being blocked by Java security. On my development machine I was able to open control panel and to add a site to the exception list but now on my production server I don't have connected…
embedded
  • 717
  • 4
  • 11
  • 25
20
votes
3 answers

Ubuntu - nodejs - npm install -g > Error: EACCES: permission denied, mkdir

Was having a issue installing a NodeJS npm package. On a Digital-Ocean Droplet Ubuntu (14.04) server. npm install -g PACKAGE-NAME I even tried with sudo had the same error. Error message: Error: EACCES: permission denied, mkdir '.....etc'
K-G
  • 2,799
  • 4
  • 26
  • 42
20
votes
4 answers

Laravel uploading file Unable to write in directory

I'm uploading files in my system and it works locally where am using windows and xampp but when hosting where am using an Ubuntu stack my file is not being uploaded. I'm getting an error that it cannot be written in the 'system' directory which is…
user3714932
  • 1,253
  • 2
  • 16
  • 29
20
votes
5 answers

Rake assets:precompile gets killed when there is a console session open in production

On my production server, which is hosted on digital ocean, if that helps, Ubuntu 12.04, I have RoR 4 and rake 10.1.1. When I deploy, I run rake assets:precompile, and I've noticed a strange issue where if I have a rails console session open when I…
OneChillDude
  • 7,856
  • 10
  • 40
  • 79
19
votes
1 answer

An unhandled lowlevel error occurred. The application logs may have details

I'm tyring to deploy a rails app to a digital ocean droplet and all seems to be configured ok but I get this error: An unhandled lowlevel error occurred. The application logs may have details. I'm not sure what to do as the logs are empty. Here's…
Tudor S.
  • 809
  • 2
  • 12
  • 29
18
votes
7 answers

Rails 4 + Capistrano 3 : fatal: Could not read from remote repository while deploying

I am getting following error while deploying Rails 4 application using Capistrano 3 INFO [87512eb8] Running /usr/bin/env chmod +x /tmp/magnificent/git-ssh.sh as deploy@104.236.6.180 DEBUG [87512eb8] Command: /usr/bin/env chmod +x…
Amit Patel
  • 15,609
  • 18
  • 68
  • 106
18
votes
2 answers

Spring-boot application won't boot at startup inside docker

I am running a simple spring-boot application inside a docker container. At startup whether started with java -jar MY_JAR.jar or mvn spring-boot:run the application will always hang at the following point: 2014-12-22 23:26:58.957 INFO 1 ---…
user3123890
18
votes
2 answers

`pip install pandas` gives UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 41: ordinal not in range(128)

When performing pip install pandas on a Digital Ocean 512MB droplet, I get the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 41: ordinal not in range(128) . Any ideas what may have caused it? I'm running Ubuntu 12.04…
Athena Wisdom
  • 6,101
  • 9
  • 36
  • 60
17
votes
2 answers

using sudo with ExecStart (systemd)

I am trying to get a node.js site live on port 80 (I am using Digital Ocean). I doing this using systemd with in service file ... ExecStart=/usr/bin/nodejs /var/www/bin/app.js ... On localhost this works fine on port 80 if I use sudo to start the…
Mike
  • 3,775
  • 8
  • 39
  • 79