Using tardigrade with nextcloud as primary storage

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.

  1. Create an instance of our S3 Gateway near your nextcloud instance (or on it depending on the load).
  2. Add this to your config and make sure that the use_path_style flag is set to true
'objectstore' =>
    array (
        'class' => '\\OC\\Files\\ObjectStore\\S3',
        'arguments' =>
        array (
        '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,
    ),
),
  1. Start your nextcloud instance.
  2. 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.

4 Likes