Category "digital-ocean"

How to point Flask static to Digitalocean spaces

I am using url_for in my html pages to access and display static images. I wish to connect flask static to digitalocean spaces instead of AWS S3 as explained in

Django digital ocean droplet isn't showing the website when connected with a namecheap domain

So I'm using a Django Digital Ocean droplet to run a website. I recently tried connecting the IP address of the droplet to a namecheap domain name, but when I c

While deploy the MERN Stack at DigitalOcean error TextEncoder is not defined

My app works on development but gives Text Encoder error in production. When I run the Node index.js command, I get the error "TextEncoder is not defined". Erro

Does digital ocean snapshots include the operating system?

I want to move the data from one droplet to another with a new version of Ubuntu. I was thinking about using snapshots to do this but since i'm not a digital oc

Error connecting server to DigitalOcean Postgresql droplet

I am aware that I can connect to a pre-configured Digital Ocean PostgreSQL database cluster and that's what I'm actually connected to right now, but I'd like to

Digitalocean Apps platform run time error - "workspace" directory is getting added

I could successfully deploy python/flask app on Digitalocean's Apps Platform. Now its giving runtime error app runtime log error: FileNotFoundError: [Errno 2] N

Unable to start PSQL in DigitalOcean

I am unable to connect to PSql from my DigitalOcean server. This happened after resizing the droplet. listen_addresses = '*' added to postgresql.conf host all a

Unable to connect to gRPC server in Kubernetes cluster, but can connect when I port-forward [Connection refused]

Been stuck on this error for the past few days! I have an HTTP server that is meant to connect with the gRPC server through the client. It works fine on my loca

Docker pulling unauthorized - Docker and Github actions

my deploy script is as follows: - name: Log in to GitHub Packages run: echo ${PERSONAL_ACCESS_TOKEN} | docker login ghcr.io -u ${{ secrets.NAMESPACE }} --

Fatal error: Array and string offset access syntax with curly braces is no longer supported in php 8.0 pkcs5_unpad

I got this error after copying code from a tutorial. It's deprecated and I tried resolving it: Array and string offset access syntax with curly braces is no lo

cors issue with angular & nodejs [closed]

i'm using angular & node.js & cors in my local device everything is good and work and now it's time to deployment to cloud server the

"digitalocean" droplet password changing broke the website (502 Bad Gateway nginx/1.10.0 (Ubuntu))

I have changed the password of the digitalocean droplet then after that the website is not working at all and the api's for the mobile application is not workin

DigitalOcean Apps Angular static site returns 404

I'm trying to deploy an Angular app on DigitalOcean's Apps as a static site. I don't use the Dockerfile. As an Apps plan, I choose basic. For my backend nestjs

Apache 2 - AH02311: Fatal error initialising mod_ssl

I'm trying to set up a Godaddy SSL certificate on a DigitalOcean droplet running Ubuntu with Apache 2. After I've configured the certificates correctly (to the

digital ocean deployment error: 502 Bad Gateway

I had my site up and running, but the admin CSS was not loading, I am not sure what I did that the server did not agree, but now the entire site is down with a

Digital Ocean App build error with NextJS imports/exports

I have a problem with building app process in Digital Ocean, I have an app already deployed and I have implemented a big refactor in the code structure, in my l

Failed to load resource: the server responded with a status of 502 (Bad Gateway)

How can you solve a 502 error? I believe whats causing the 502 error is a nested loop that contains heavy calculations. It would take up to 2 minutes for it t

How can I configure NGINX ingress controller to work with Cloudflare and Digital Ocean Load Balancer?

I have tried the answers in this question. This is my current configuration: apiVersion: v1 kind: ConfigMap metadata: labels: helm.sh/chart: ingress-nginx

Import error: No module named 'secrets' - python manage.py not working after pull to Digital Ocean

I'm following along a course - Django development to deployment. After pulling it to Digital Ocean everything else ran smoothly. Until I tried running python m

SSH permission denied (publickey) - Laravel Forge

I have followed Jeffrey Way's instructions and I am continuously getting the same SSH error within Terminal. I am wanting to connect through Sequel Pro and upo