Questions tagged [digital-ocean-spaces]

92 questions
0
votes
1 answer

SignatureDoesNotMatch DigitalOcean Spaces Boto3 Django-Storages Django

You got the following error while using your digital ocean spaces for static files: SignatureDoesNotMatch xxxxx-716fe6ea-xxxx xxx-nyc3c-xxx-xxxx GET 403 Forbidden
Koops
  • 422
  • 3
  • 11
0
votes
0 answers

Is there a possibility to extend digitalocean droplet disk size with volumes?

DO droplets general plans are very good but are very low in terms of disk space. So I bought a plan with enough CPU and RAM but disk space is still very low even if I choose x2 SSD. Is there a possibility to extend droplet disk size with volumes? I…
Vicu
  • 23
  • 5
0
votes
0 answers

Trying to upload on DigitalOcean Spaces, But getting Error. Type 'S3' is missing the following properties from type 'S3Client'

Error: Type 'S3' is missing the following properties from type 'S3Client': destroy, middlewareStack, send My Code: import configs from '@/configs'; import AWS from 'aws-sdk'; import multer from 'multer'; import multerS3 from 'multer-s3'; //…
0
votes
1 answer

Django does not seem to work with DigitalOcean Spaces

I have followed multiple tutorials on how to use the DigitalOcean object storage known as DigitalOcean Spaces on my Django project but I'm not able to do it. Actually, I was using it before and it was working, after that I moved the static files to…
0
votes
1 answer

DigitalOcean: Getting Spaces credentials from an App

On DigitalOcean, I have an App and a Spaces Bucket with files. I need my app to read and write on that bucket, therefore I need to provide it a Spaces Key and a Spaces Secret for my S3 Client. However, I can't find any way to automatically provision…
maxime
  • 1,993
  • 3
  • 28
  • 57
0
votes
0 answers

Connection Resets during large s3 Multipart upload

I am using DigitalOcean Spaces along with nodejs to upload large files in parts. I'm uploading the file from a ~400mb stream using the following function: const { S3 } = require('@aws-sdk/client-s3') const { Upload } =…
0
votes
0 answers

Error - Service is unavailable at this time while accessing the images from digital ocean space?

I'm getting this error when I try to access the images from digital ocean space : This XML file does not appear to have any style information associated with it. The document tree is shown…
0
votes
0 answers

DigitalOcean Presigned Post URL not getting the ACL as public-read

I'm trying to upload images to a Digital Ocean space from my application. These images are public and I am able to upload the images but they are getting uploaded as private I have tried adding x-amz-acl variable to public-read after I get the…
Yaboku
  • 202
  • 1
  • 2
  • 10
0
votes
0 answers

Issue with s3cmd accessing DigitalOcean Spaces storage service due to configuration file issue

TL;DR If your use of s3cmd on Spaces from DigitalOcean says: Could not refresh role Then try removing the cfg for it and starting again. I was using the DigitalOcean Spaces and I somehow got my configuration of the API messed up when using the…
0
votes
0 answers

Get continous progress on upload to AWS/Digital Ocean Spaces using Javascript SDK V3 from browser

I scoured the web looking for an answer to this (I would think) common use case of uploading a file from the client to an S3 bucket. In this case I am using Digital Ocean Spaces, but I believe they use the same API. Sample code provided by DO…
RoggDogg
  • 1
  • 1
0
votes
0 answers

Can't upload images from strapi to Digital Ocean Spaces

I'm trying to upload images to Digital Ocean Spaces from the Strapi admin panel to persist the media over the server restart but after sveral hours of debugging I still can't find a reason why the images are not uploading to the database. This is my…
Nicolas
  • 434
  • 1
  • 3
  • 13
0
votes
1 answer

Why I get NoSuchKey in DigitalOcean Buckets?

I am using DigitalOcean's spaces which in turn is S3 compatible. I created some buckets, I can WITHOUT any problem upload files with Python/aioboto3 using credentials, BUT, I just can't get a list of files contained in a bucket... here's the code in…
0
votes
1 answer

DigitalOcean spaces presigned link upload failing CORS despite CORS configuration from dashboard

I have loosened up CORS to the max from the Digital Ocean Spaces dashboard as seen in screenshot here - https://i.stack.imgur.com/8YrRI.png I did this per the comment here -…
Noitidart
  • 35,443
  • 37
  • 154
  • 323
0
votes
0 answers

How to set X-Frame-Options header for uploaded files to S3 Django-storages?

I use DigitalOcean Spaces as a storage for /media/ files in Django using django-storages. I need files to send X-Frame-Options:'ALLOWALL' when they are fetched from Spaces so they can be displayed in iframe. How can I do that? U use boto3 Doesn't…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

Downloading certain part of audio and continue downloading the rest when reaching a certain point in the audio

I want to create an app for sharing audio files. I want to build native mobile apps and made most of my progress on android with a PHP/MySQL backend so far. But now I want to step up my game and build my backend with Node.js and MongoDB. Since big…