Nextcloud 13 - Difficulty with Configuring DigitalOcean Object Storage

Hi there!

What I’d like to do is set up a DigitalOcean Space (basically Amazon S3, from what I understand) to be the default storage for my Nextcloud installation (also hosted via DigitalOcean). I’ve set up a config file, using instructions from Nextcloud (specifically for an S3 configuration), and am now receiving the following error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.

Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.

More details can be found in the webserver log.

Prior to this, I was able to use the GUI installer (I’ve got a Snapshot I can revert to from this point in time) and was attempting to specify my storage (i.e. https://****.nyc3.digitaloceanspaces.com/) as the data directory to no avail.

I’m using (manually-installed) Nextcloud 13 on a LAMP server running Ubuntu 16.04. I attempted to install the snap version before, but it wouldn’t allow me to specify the data directory in the GUI install.
If I comment out everything that isn’t the instance ID, it works again.

Contents of config.php (set up like this and as suggested by this):

<?php $CONFIG = array (

‘instanceid’ => ‘ocmnm3zccgi2’,

‘objectstore’ => array(

‘class’ => ‘OC\Files\ObjectStore\S3’,
‘arguments’ => array(
‘bucket’ => ‘nextcloud’,
‘autocreate’ => true,
‘key’ => ‘■■■■■■’,
‘secret’ => ‘■■■■■■’,
‘hostname’ => ‘nyc3.digitaloceanspaces.com’,
‘port’ => 443,
‘use_ssl’ => true,
// required for some non amazon s3 implementations
‘use_path_style’=>true
),
);

were you able to fix this?