That really sounds promising and i am personally looking forward to it!
That said, i can report back how to enable full primary storage for nextcloud:
First of all its recommended to start without having your nextcloud being started, else you will lose access to all of your data that has been stored until that point using the previous storage method (likely local disk) and the DB state also gets inconsistent with whats in the new primary storage.
- Create an instance of our S3 Gateway near your nextcloud instance (or on it depending on the load).
- Add this to your config and make sure that the
use_path_style flag is set to true
'class' => '\\OC\\Files\\ObjectStore\\S3',
'bucket' => 'nextcloud',
'autocreate' => true,
'key' => '<ACCESS_KEY_ID',
'secret' => '<SECRET_KEY_ID',
'hostname' => '<IP-OF-S3-GATEWAY>',
'port' => 7777,
'use_ssl' => false,
'use_path_style' => true,
- Start your nextcloud instance.
- Give the instance a bit of time to sync the initial data structure over into the network.
This worked for our internal Nextcloud Instance just fine.