I’ve configured NC12 instance to use Amazon s3 as the data file store.
I followed this guide:
I can see that my bucket in config.php has been created in my S3 instance. That much is working.
However then on the NC12 login screen I get the internal server error warning:
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 server log.
The server log does not contact any errors whatsoever. when I remove my config.php code that added s3 I can login again no issues. So it’s definitely something to do with my config.
My config.php addition looks something like this:
'objectstore' => array(
'class' => 'OC\\Files\\ObjectStore\\S3',
'arguments' => array(
'bucket' => 'test-bucket-3',
'autocreate' => true,
'key' => 'ASFDASDFASFDASFD',
'secret' => '0/asdasdasadasdadsasdasdasdasdasda//tROSJxmov',
//'hostname' => 'example.com',
//'port' => 1234,
//'use_ssl' => true,
//'region' => 'eu-west-1',
// required for some non amazon s3 implementations
Any assistance would be great. I want to use s3 as my main file store as the data growth is more than I expected.
Also see the contents of my S3 bucket. It has about 20 of these files and the contents all look like this sort of XML:
Screenshot of s3 files in the bucket NC12 created:
What the files look like:
At a guess I’m thinking this is a permissions issue given the XML reads access denied.