Hi,
I’ll try to setup my config.ph to user s3 as primary storage (EC2 amazon ubuntu 16.04)
Setup is made with this code
‘objectstore’ =>
array(
‘class’ => ‘OC\Files\ObjectStore\S3’,
‘arguments’ => array(
‘bucket’ => ‘datamynextcloud’,
‘autocreate’ => true,
‘key’ => ‘xxxxxxxx’,
‘secret’ => ‘yyyyyyyyyyyyyyyyyyyyyyyyy’,
‘use_ssl’ => false,
‘region’ => ‘eu-central-1’,
),
),
Bucket is well created in the correct region Frankfurt
But I get internal server error with this trace
- Type : OCP\Files\NotFoundException
- Code : 0
- Message :
- Fichier : /var/www/html/lib/private/legacy/helper.php
- Ligne : 544
Trace
#0 /var/www/html/apps/files/lib/Controller/ViewController.php(131): OC_Helper::getStorageInfo(’/’, false) #1 /var/www/html/apps/files/lib/Controller/ViewController.php(160): OCA\Files\Controller\ViewController->getStorageInfo() #2 [internal function]: OCA\Files\Controller\ViewController->index(’’, ‘’, NULL, false) #3 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(161): call_user_func_array(Array, Array) #4 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(91): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files\Controller\ViewController), ‘index’) #5 /var/www/html/lib/private/AppFramework/App.php(115): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files\Controller\ViewController), ‘index’) #6 /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main(‘ViewController’, ‘index’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array) #7 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array) #8 /var/www/html/lib/private/Route/Router.php(297): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array) #9 /var/www/html/lib/base.php(998): OC\Route\Router->match(’/apps/files/’) #10 /var/www/html/index.php(37): OC::handleRequest() #11 {main}