Question

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

Is it possible ? Openstack’s SWIFT are supported natively


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, all

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

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04

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 nyc3.digitaloceanspaces.com. 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

Regards, Alex

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