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

How to solve "sign_and_send_pubkey: signing failed: agent refused operation"?

Configuring a new Digital Ocean droplet with SSH keys. When I run ssh-copy-id this is what I get: ssh-copy-id user@012.345.67.89 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already…
user968270
  • 4,251
  • 5
  • 21
  • 20
72
votes
5 answers

'EntryPoints' object has no attribute 'get' - Digital ocean

I have made a deplyoment to Digital ocean, on staging (Heroku server) the app is working well, but Digital ocean it's failing with the error below, what could be the issue : AttributeError at /admin/ 'EntryPoints' object has no attribute…
Lutaaya Huzaifah Idris
  • 3,596
  • 8
  • 38
  • 77
71
votes
9 answers

Using SQL Server Management Studio to remote connect to docker container

Context: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to access on a Windows PC. So I have the AdventureWorks database sitting on a Docker Container for MS…
noobmaster69
  • 2,985
  • 3
  • 27
  • 44
59
votes
5 answers

What is the proper command to restart a Dokku app from SSH?

A Rails app I deployed on DigitalOcean using Dokku crashed and started returning 500 errors. How can I restart it without pushing an empty commit?
Spone
  • 1,324
  • 1
  • 9
  • 20
55
votes
12 answers

ZSH Agnoster Theme showing machine name

I have a development server hosted on Digital Ocean, using Ubuntu 14.04. I switched my shell to ZSH and decided to go with the Agnoster theme. In order to get user@hostname to stop showing, I set the DEFAULT_USER in my .zshrc file. For some reason…
Drew
  • 6,736
  • 17
  • 64
  • 96
50
votes
3 answers

Tomcat7 starts too late on Ubuntu 14.04 x64 [Digitalocean]

i am using digitalocean and trying to install and start tomcat on ubuntu but unfortunately i can not do it. (created new droplets and tried 10 times) 1GB Ram 30GB SSD Disk Amsterdam 2 Ubuntu 14.04 x64 When i start tomcat, it says "Tomcat started".…
yuceel
  • 1,943
  • 2
  • 18
  • 27
44
votes
1 answer

Ubuntu Apache: "Module php7 does not exist"

I am trying to upgrade PHP 5.5.9 to PHP 7 on my DigitalOcean Ubuntu 14.04 machine. I've read many tutorials and articles how to do it, but each of them misses something. For example, somewhere they say you must sudo a2dismod php5 then sudo a2enmod…
atorscho
  • 2,069
  • 2
  • 15
  • 20
39
votes
2 answers

RewriteRule Error: Bad flag delimiters

Using this RewriteRule in my .htaccess file I'm getting RewriteRule: Bad flag delimiters which is returning a 500 error in the browser. Can anyone point me in the right direction please. Thanks. RewriteEngine On RewriteCond %{HTTP_HOST}…
Gareth Daine
  • 4,016
  • 5
  • 40
  • 67
37
votes
4 answers

How do I set up global load balancing using Digital Ocean DNS and Nginx?

UPDATE: See the answer I've provided below for the solution I eventually got set up on AWS. I'm currently experimenting with methods to implement a global load-balancing layer for my app servers on Digital Ocean and there's a few pieces I've yet…
AJB
  • 7,389
  • 14
  • 57
  • 88
34
votes
13 answers

Unable to create or change a table without a primary key - Laravel DigitalOcean Managed Database

I've just deployed my app to DigitalOcean using (Managed Database) and I'm getting the following error when calling php artisan migrate SQLSTATE[HY000]: General error: 3750 Unable to create or change a table without a primary key, when the system…
Michal Deimert
  • 455
  • 1
  • 5
  • 8
29
votes
1 answer

Deploy Docker Container with Compose & Github Actions

I am using GitHub Actions to trigger the building of my dockerfile, it is uploading the container to GitHub Container Registry. In the last step i am connecting via SSH to my remote DigitalOcean Droplet and executing a script to pull and install the…
nixn
  • 1,337
  • 3
  • 16
  • 33
29
votes
2 answers

Apache web server doesn't allow me to refresh on /about but on localhost its working fine

I bundled up one of my projects and it works fine. However when hitting refresh on a route /about, it displays The requested URL /about was not found on this server.. However when I do it on my localhost off a web server it works fine on refresh and…
Karan
  • 1,141
  • 2
  • 19
  • 42
27
votes
1 answer

Two node.js domains with SSL on same nginx server - duplicate listen options for 443

I've set up two web applications in my DigitalOcean droplet, and I'm trying to run both applications on different domains, with SSL encryption. I can confirm that everything works if I only use one of the domains, and the error occurs when I try to…
Martin Brandhaug
  • 1,052
  • 1
  • 10
  • 21
26
votes
1 answer

How to use AWS CLI with Digital Ocean Spaces?

How to use AWS CLI with Digital Ocean Spaces? Is it possible? I tried to add my key id and secret to .aws/credentials but I got: An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided…
paul
  • 569
  • 9
  • 13
26
votes
9 answers

Deploy Angular 2 to Apache Server

I want to deploy an Angular 2 application on an Apache server. I've read various guides like this and this but none of them is working. I have npm and ng installed on the server. In a nutshell, here's what I did: Cloned complete project repository…
Kanav
  • 2,695
  • 8
  • 34
  • 56
1
2 3
99 100