4,007 questions
0
votes
0
answers
9
views
How to execute a script in DigitalOcean Droplet with Terraform?
I'm trying to execute a script in a digitalocean_droplet after the Droplet is created
I know I can use user_data to initialize the Droplet, but the script I'm trying to execute depends on:
a volume - ...
0
votes
0
answers
18
views
Using pgBouncer on DigitalOcean with Node.js pg Pool and Kysely – Can They Coexist?
I'm running a Node.js application that connects to my PostgreSQL database using Kysely and the pg Pool. Here's the snippet of my current DB connection logic.
I have deployed my database on ...
-1
votes
1
answer
32
views
Gpu Droplet giving me SSH Connection Lost error and in putty also
I create Gpu Droplet in Digital ocean and add my code with sftp and its running yesterday now today when i try to access the gpu droplet again with same ip and private key with putty its giving me ...
1
vote
1
answer
50
views
Problem when deploying the laravel application with vite/tailwind on digital ocean
I can deploy my laravel application to digital ocean, and when I access it via the provided url, I see that my css and js styles (made in tailwind with vite server) do not run. I run npm run dev and ...
0
votes
0
answers
40
views
Pre-receive hook declined during git push dokku master
I am having trouble pushing to my Dokku droplet. I've tried a few times, and receive the error "Pre-receive hook declined". Running dokku log on the droplet doesn't return any errors.
This ...
0
votes
2
answers
72
views
Getting Multiple Connection To the DB (Postgres)
I get multiple connections to my Database, the query says "Rollback" and the connections increase instantaneously. and the duration of those connections are extremely high as compared to the ...
1
vote
1
answer
38
views
FastAPI using tesseract-ocr works fine in localhost Mac but not in DigitalOcean Linux server
I am trying to run a PoC for extracting text from an image file using tesseract-ocr in a FastAPI python code file installed in a DigitalOcean FARM Linux droplet and I get an error, while running the ...
0
votes
0
answers
31
views
Python flask application works locally and not on Digital ocean VPS
I'm experiencing an issue with the youtube_transcript_api library. The API works perfectly fine on my local machine, where I can retrieve YouTube video transcripts without any problems. However, when ...
0
votes
1
answer
51
views
s3 upload timeout on dockerized Digital Ocean setup
I have a S3 compatible storage and a Droplet server on Digital Ocean. The dockerized Django app I am running is trying to sync static assets to the storage. This fails from the Droplet server/Docker ...
0
votes
0
answers
61
views
Rails app on production does not displays logs, flashes
I spent the last 3 days trying to solve an issue with my Rails app on DigitalOcean on production.
On my Mac running the app locally, the app executes API requests and handles them without problems. ...
0
votes
0
answers
40
views
CORS Issues with FastAPI/Nginx Setup - Headers Not Set Correctly
Technology Stack
Frontend: React (running on localhost:5173)
Backend: FastAPI with Gunicorn (Unix Socket)
Reverse Proxy: Nginx
Server: Digital Ocean Droplet
Problem
GET requests from the frontend (...
0
votes
1
answer
42
views
Nginx 'File Not Found' Error After Moving Project
I'm currently deploying a Laravel project to a DigitalOcean droplet. My Laravel project is located in the /var/www folder, and I want to move the project to the /home/user folder.
What I am doing is ...
0
votes
0
answers
64
views
How to Deploy a Shopify Remix App on DigitalOcean?
I'm trying to deploy my Shopify app built with Remix.run on DigitalOcean, but I'm running into issues during deployment. Here's what I'm using:
App Framework: Remix.run
Backend: Shopify Admin API
...
0
votes
0
answers
71
views
Unable to install calico network on droplet with kubectl command
I am trying this
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
Error:
root@k8-master:~# kubectl apply -f calico.yaml error: error validating
"calico.yaml": error ...
0
votes
2
answers
98
views
How do I retrieve the cloud key of my Digital Ocean Perforce Helix Core droplet? [closed]
I just finished creating a Perforce Helix Core Digital Ocean droplet, and I'm now trying to retrieve the default credentials in order to get started with it.
Following the instructions, I need to SSH ...
0
votes
0
answers
24
views
Django with S3Boto3Storage - After upload, bucket didn't change [duplicate]
I'm using these configuration:
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
AWS_ACCESS_KEY_ID = '*****'
AWS_SECRET_ACCESS_KEY = os....
0
votes
0
answers
44
views
Trigger action on pull request not working
I am trying to deploy a branch when a pull request is made to deploy the app to a Digital Ocean app platform container. I have based the workflow on the example code that Digital Ocean provided for ...
0
votes
0
answers
66
views
Uppy could not read Location/ETag header although I can see headers listed in response headers
I'm trying to implement direct uploads to a DigitalOcean bucket. The direct uploads work just fine, and I can see the file uploaded in the bucket. However, after the upload, I get these errors:
I can ...
1
vote
0
answers
59
views
Laravel DigitalOcean Spaces Upload Issue
I'm currently working on a Laravel application where I need to upload files to DigitalOcean Spaces. I've set up my spaces disk in config/filesystems.php as follows:
'spaces' => [
'driver' =>...
0
votes
0
answers
20
views
Digital ocean nginx external url
Is there a way to use nginx to have a digital ocean droplet point to an external url so that when i visit http://(Droplet IP) that website shows up, or not with nginx if there's a better way
0
votes
0
answers
24
views
Accessing Digital Ocean Postgress db
So I have a webapp hosted on DO using their github feature, and an attached postgress db. The website was delpoyed and is visible, but there's a problem with the db saying one of the tables doesn't ...
-2
votes
2
answers
81
views
New routes and URLs not working on new DigitalOcean droplet, but working on local and other droplets
We are using Laravel 9 + Inertia + VueJs 3 in our project. Recently, we encountered an issue where new routes are not working on a new DigitalOcean droplet, although they work fine on our local ...
0
votes
1
answer
44
views
CORS Error When Accessing API from Hosted Frontend (but works on localhost)
I'm facing a CORS issue when trying to access my backend API from a hosted frontend, but the same request works when the frontend is running locally.
Here are the details:
Frontend (Local): http://...
0
votes
0
answers
92
views
Why server give sign problem about youtube in python?
I created youtube downloader telegram bot. It work perfect on when I run it VS code.
But when I run it with server (digitalocean) it give error: ERROR: [youtube] g5Qe48c_JYU: Sign in to confirm you’re ...
1
vote
1
answer
81
views
Python Telegram bot
I have some problems with server.
import time
import instaloader
import requests
from io import BytesIO
def instagram_downloander(url, content_type):
print(f"Content Type: {content_type}&...
2
votes
0
answers
23
views
Digital Ocean Audio file not playing on iOS app audio player
I am making an application where I want to play a recording on my application. We are using Digital Ocean SPACES OBJECT STORAGE to store the recordings.
Now to I am getting recording url from api as:
...
2
votes
0
answers
148
views
How to ManifestStaticFilesStorage with django-storages, boto3 on DigitalOcean Spaces Object Storage?
Context: I am running Django==5.1.2.
I need to have cache busting for my static files on prod.
On dev, my settings are like so
STORAGES = {
"default": {
"BACKEND": &...
0
votes
0
answers
46
views
DigitalOcean fails to start next app after successful build
I am trying to deploy a simple NEXT app on DigitalOcean. Local build and start works perfectly fine and by all means it should work on DigitalOcean. However after a successful build I get the ...
0
votes
0
answers
60
views
Connectivity issues with app using libp2p and QUIC in managed cloud environments
We are experiencing issues deploying the dockerized app in a simplified cloud-based environment. Here are the details for reference:
Docker image: gregorywhale/spy-with-params
Source code: GitHub ...
0
votes
1
answer
43
views
Django Object Storage doesn't reflect into my Object Storage
I'm attempting to integrate an Object Storage into my Django project, and my current setup includes Django, DRF, and PostgreSQL. Specifically, I'm attempting to handle an image upload from an API ...
2
votes
0
answers
32
views
How to add binary dependencies (e.g., Ghostscript) in Digital Ocean Functions for PHP?
I'm building a PHP function on Digital Ocean Functions that requires Ghostscript as a dependency. Previously, I used AWS Lambda with Node.js and added dependencies using layers, but I’m not sure if ...
1
vote
0
answers
73
views
Ruby on Rails - Stimulus doesn't work with Slim-select & Tailwind (DigitalOcean App Platform)
I created an app that uses tailwind, stimulus and slim-select.
In development everything works fine, but in production my import maps break for some reason and the Asset Pipeline breaks for my ...
0
votes
1
answer
71
views
Puppeteer Cannot Find Chromium in DigitalOcean App Platform's Custom Path
I'm trying to run a Node.js/Express application that uses Puppeteer to generate PDFs on DigitalOcean App Platform. Despite installing Chromium through an .aptfile, I'm encountering issues with ...
0
votes
1
answer
157
views
Page Not Found after Deploying Next.js Static Website on Digital Ocean App Platform
I've created a static website with Next.js that works fine locally (npm run dev) but after deploying as a static site to Digital Ocean App Platform I'm getting Page Not Found (404).
The routes are ...
1
vote
1
answer
206
views
CORS Headers for Digital Ocean Functions
I see no way to set CORS headers for digital ocean functions, other than in my function responses. I'm calling a function from a different website via the REST API (POST request) using Basic ...
1
vote
1
answer
61
views
Server selection timeout with MongoDB and Docker in Digital Ocean App Platform
I'm experiencing an issue with MongoDB and Docker when deploying to Digital Ocean App Platform from Docker Hub.
Here is the error output from the console:
server selection error: server selection ...
0
votes
1
answer
83
views
Module not found: Can't resolve '@' in Next js app on digital ocean
I'm working on a Next.js 14 project and encountering a build error. The build process fails with the following error:
This same code works fine on Vercel, but it gives an error on Digital Ocean
[2024-...
0
votes
0
answers
60
views
django-ckeditor RichTextUploadingField does not load images to s3 bucket
I try to load my images through RichTextUploadingField into the s3 bucket, but the image doesn't load:
Here is my settings.py:
INSTALLED_APPS = [
...
'bootstrap4',
'imagekit',
'...
1
vote
0
answers
25
views
How to scale socketcluster across multiple droplets?
This is my first question ever, I hope it's written in a manner that can be understood. So to get straight to the point, we currently have more users our application, and many realtime socket is being ...
3
votes
0
answers
220
views
Laravel reverb is not working in Digital Ocean App platfrom
In my local machine broadcasting and it works fine but in Production which is Digital ocean app platform it cannot connect to the server.
.env
BROADCAST_DRIVER=reverb
REVERB_APP_ID=my-app-id
...
0
votes
0
answers
77
views
CORS error for stripe payment confirmation after deployment on digital ocean
I developed a MERN app with Stripe payment integration, and everything works fine locally. However, in the deployed version (hosted on DigitalOcean), the Stripe payment redirect isn’t functioning ...
0
votes
0
answers
18
views
Kubernetes connection to the server localhost:8080 was refused [duplicate]
I'm relatively new to Kubernetes, but I've been trying to install kubernetes inside a DigitalOcean's droplet. It works fine initially but after a while, I get this error when I try any kubectl command:...
0
votes
0
answers
1k
views
Error from server (NotFound): deployments.apps "auth-depl" not found
I am learning a microservices course from udemy and when the professor said to push the code to GitHub I got, on GitHub, on this command:
kubectl rollout restart deployment auth-depl
I got this error:...
1
vote
0
answers
87
views
Digital Ocean App Platform – NextResponse.redirect() doesn't work, status code 200 instead of 3xx
I'm trying to move my simple Next.js-based webapp from Vercel to DigitalOcean App Platform, but I'm encountering a problem while doing so.
My app
It has two routes:
/
/dashboard
The second one, /...
1
vote
0
answers
176
views
How do I have Cloudflare respect Cache-Control directives for a FastAPI App deployed on Digitalocean App Platform?
How do I have Cloudflare respect Cache-Control directives for a FastAPI App deployed on Digitalocean App Platform?
Problem
I'm experiencing an issue with caching in my FastAPI application when it's ...
0
votes
0
answers
63
views
Restrict access to single IP for directory within DigitalOcean Droplet
I'm trying to restrict access to a particular directory within my DigitalOcean Droplet and I'm unsure how to get it working. I've never had to do anything like this before so I'm googling all options ...
0
votes
1
answer
81
views
Delete kubernetes node pull with Terraform without cluster recreating [closed]
I have created DigitalOcean Kubernetes cluster with additional node pull. Everything works great.
resource "digitalocean_kubernetes_cluster" "k8s_cluster" {
depends_on = [...
0
votes
0
answers
86
views
Cannot update Digital Ocean Droplet, Perforce cannot retrieve update
I'm trying to update my Droplet, but I keep running into the same error that I've not been able to solve.
When I run sudo apt-get update it gives me this error:
W: Failed to fetch http://package....
0
votes
1
answer
58
views
Remove index.php from URL in Nginx
my URLS should be in this format:
https://www.example.com/author/article-title
But Google tries to scan also:
https://www.example.com/index.php/author/article-title
I tried to solve this on Nginx ...