how to use spaces as nextcloud's primary or external storage ?

Posted December 5, 2017 6.1k views
Ubuntu 16.04StorageObject Storage

Is it possible ?
Openstack’s SWIFT are supported natively

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers

Thanks for the reply, it’s actually using as AWS S3 object in NextCloud that I setted up my space as a primary storage : some tricky things about conf file in NextCloud 12.

I will soon write a tuto about using DO spaces as primary storage and integrate the answer that Jonleibowitz linked about linking them as external storages

I am having a problem configuring this as primary storage.

I discovered that by default with snaps the removable-media is not connected to the snap slot.

Run this command to check the status of your interfaces
snap interfaces nextcloud

Run this command to connect the Plug to the open slot:
snap connect nextcloud:removable-media

But I appear to still have some sort of routing/permissions issue.
Error on Files page:
Technical details
Remote Address: <IP>
Request ID: d5AWof93RXDt1mdBdqX1

Hello, all

You can follow our tutorial on how to install Next Cloud on Ubuntu in order to get this up and running:

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 find 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 Advanced Settings which can be accessed by clicking the “cog” icon on the right:

Enable sharing


by Brian Boucheron
Nextcloud, a fork of ownCloud, is a file sharing server that permits you to store your personal content, like documents and pictures, in a centralized location, much like Dropbox. In this tutorial, we will install and configure a Nextcloud instance on an Ubuntu 20.04 server.