Questions tagged [digital-ocean-spaces]
92 questions
0
votes
1 answer
Privacy error when viewing files in DigitalOcean Spaces?
I set up a Spaces volume and uploaded a couple images via the DigitalOcean UI. When I attempt to view the images, I get a Privacy Error page in Chrome, with NET::ERR_CERT_COMMON_NAME_INVALID. I'm having a hard time finding any relevant help from…

sea_monster
- 659
- 3
- 8
- 18
0
votes
1 answer
Rails Digital ocean Managed App `extract_credentials_provider': missing credentials
I'm swimming into Digital ocean managed app since a couple of weeks. SO far everything is working flawlessly. Today I successfully implemented Active storage with Spaces in my local environment using the following configuration:
storage.yml
test:
…

gastngouron
- 461
- 1
- 5
- 15
0
votes
1 answer
Laravel S3 Storage put returns boolean instead of path
I'm using DigitalOcean Spaces (S3 compatible) for storing my Laravel's app file.
Now I'm trying to make a .txt file inserting in it a text, with this code:
$file = Storage::disk('digitalocean')->put('generated-file/'.$title.'.txt', $content);…

Mattia Del Franco
- 385
- 5
- 21
0
votes
1 answer
Django Static url not working with {% static %} with Digital Ocean CDN
I have my static files being stored in DigitalOcean CDN. I have multiple spaces 1 for clients and 1 for static assets and I use django-storages.
Here is my config:
AWS_S3_REGION_NAME = 'nyc3'
AWS_S3_ENDPOINT_URL =…

ViaTech
- 2,143
- 1
- 16
- 51
0
votes
1 answer
K8s Ingress to Static Assets in DigitalOcean Bucket
I'm trying to use an Ingress and ExternalName Service in Kubernetes to route traffic to an external storage service (DigitalOcean Spaces) - but no matter what I try, I get some form of http error.
Things I've…

1f928
- 96
- 6
0
votes
1 answer
Django: How to delete Media Files on Digitalocean Spaces/ Amazon S3 automatically when Model instance is deleted
I have the following model defined in my Django-App
def directory_path(instance, filename):
return 'attachments/{0}_{1}/{2}'.format(instance.date, instance.title, filename)
class Note(models.Model):
title = models.CharField(max_length=200)
…

Daniel
- 963
- 1
- 12
- 29
0
votes
1 answer
How to manage data at DO Spaces with Laravel Storage
I am trying to manage DO's Spaces with Laravel's 8 Storage, however I am getting errors which seems to come from Laravel's side.
At start I wrote this line in terminal as I was instructed in Laravel's documentation
composer require…

Andrius Kairys
- 21
- 3
0
votes
0 answers
Load index.html for every possible route of my React SPA that is hosted on digitalocean spaces
I use digital ocean space and CDN to host a React SPA. When hitting with a browser the url [host]/index.html it works fine. However hitting [host]/index.html/customers/one or any other subpaths, returns a 404. Currently, any reload on any subpath…

Andrea.cabral
- 338
- 3
- 16
0
votes
1 answer
Calculate average value of SST data of a whole month
I have SST data for 30 days of one rigion. However, part of daily (several days) data is missed, as shown in the following figure. So, I want to calculate the average value of these obtained SST data for these 30 days. Since some of the days are…

Melina
- 293
- 3
- 11
0
votes
0 answers
AWS v2 and v4 signed urls
I am using the node aws sdk to generate v2 signed urls for s3 objects and I have a few questions. The files are being hosted using digital ocean and not amazon.
I want to add custom get params to the URLS. I have found documentation that suggests…

ebg11
- 906
- 1
- 12
- 33
0
votes
0 answers
Problem listing more than 1000 object keys - AWS-S3 - VB .net
For some reason, the code below does not list more than 1000 objects even after implementing the loop to continue listing using the continuation token assignment, which tells ListObjectsV2Request were to continue and stopping only when IsTruncated…

Nandostyle
- 344
- 2
- 12
0
votes
1 answer
Why are my rails credentials for digital ocean spaces not being found after deploying?
I'm having an issue deploying my rails 6 app to Digital Ocean using spaces. After the deploy, the webserver fails. In the Puma logs I find:
Unable to load application: Aws::Sigv4::Errors::MissingCredentialsError: missing credentials, provide…

bcarp121177
- 77
- 7
0
votes
2 answers
Can I use DigitalOcean Spaces CDN as MediaServer in Prestashop?
My prestashop is hosted on a DigitalOcean droplet. I want to use DigitalOcean Spaces as a MediaServer in my shop.
But if I set up the spaces origin (https://xxxxxxxx.fra1.cdn.digitaloceanspaces.com) as MediaServer in Prestashop, then my images are…

SGuszti
- 3
- 2
0
votes
1 answer
Images not showing after about 1 day of upload with editors (ckeditor)
I host my files on Digitalocean space. Almost everything works fine. The only issue is that I am unable to see images uploaded with editors for instance ckeditor after about a day of upload. This does show at first but fail to display by second…

Ojo Philip Odeniyi
- 33
- 7
0
votes
1 answer
Trouble loading static files from Digital Ocean Spaces in my Django project
During the development of my project I could display video files through my templates like this:

sgt_pepper85
- 421
- 4
- 14