Really like the snap install, but I'm having trouble configuring objectstore, specifically S3. I tried modifying the nextcloud configs under $SNAP_DATA but from the docs it sounds like this needs to be done before the install. Is this possible when installing via snap? Or are there instructions on how to set this up after the install?
Reading those same docs, it sounds like you can do this after install, but all the files you had in the data directory before the switch will become inaccessible. What happens if you add this to the config after install?
@kyrofa I tried again and got it working! I had to try a few times, but here is correct order of operations:
/var/snap/nextcloud/current/nextcloud/config/config.php with S3 info:'objectstore' => array(
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' => array(
'bucket' => 'bucketname',
'autocreate' => true,
'key' => 'key',
'secret' => 'secret',
'use_ssl' => true,
'region' => 'region',
),
),
After that I see could objects getting written to S3 as I added users and files.
Most helpful comment
@kyrofa I tried again and got it working! I had to try a few times, but here is correct order of operations:
/var/snap/nextcloud/current/nextcloud/config/config.phpwith S3 info:After that I see could objects getting written to S3 as I added users and files.