Is it possible to mount DO Spaces as external storage in Nextcloud as I mount AWS S3 storage?

October 11, 2017 5.6k views
Object Storage

I'm using $5 Droplet for my Nextcloud instance. It is possible to mount AWS S3 buckets in Nextcloud as an external storage. So is it possible to mount Spaces as S3?

4 Answers
asb MOD October 11, 2017
Accepted Answer

Yes! Spaces was designed to be compatible with S3 in order to take advantage of existing integration just like this. In order to mount a Space for external storage, you first need to enable the External Storage Support plugin just as you would for S3.

Next, add a new mount from the External Storages menu in the Admin panel. In the Bucket field, add the name of your Space. In the Host field, enter In the Region field, use nyc3. You can fine the needed Access Key and Secret Key for your Spaces account on the Applications & API page of the DigitalOcean control panel. Finally, make sure to select Enable SSL. When successfully configured, a green dot should appear:

External storage

Additionally, you might want to enable sharing. This can be done the the Advanced Settings which can be accessed by click the "cog" icon on the right:

Enable sharing

I cannot get this to work. I've followed the DO tutorial for installing Nextcloud on Ubuntu 16.04 and now this matter what, I always get a big red square.

I've seen some posts about Spaces not being compatible with NextCloud 13 ( Wondering if anyone else has this working with the latest version of NC.

Have another answer? Share your knowledge.