Hi.
I’m using nextcloud 16 and I try to use wasabi S3 as my primary storage and I get some error said can’t complete request.
Here’s the error from /var/www/nextcloud/data/nextcloud.log
{
"reqId": "3Et4yKbuRiAjHJQcjFqV",
"level": 3,
"time": "2019-07-02T02:50:40+00:00",
"remoteAddr": "173.245.48.174",
"user": "orwill",
"app": "index",
"method": "GET",
"url": "/apps/files/",
"message": {
"Exception": "OCP\\Files\\NotFoundException",
"Message": "",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/files/lib/Controller/ViewController.php",
"line": 129,
"function": "getStorageInfo",
"class": "OC_Helper",
"type": "::",
"args": [
"/",
false
]
},
{
"file": "/var/www/nextcloud/apps/files/lib/Controller/ViewController.php",
"line": 170,
"function": "getStorageInfo",
"class": "OCA\\Files\\Controller\\ViewController",
"type": "->",
"args": []
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 166,
"function": "index",
"class": "OCA\\Files\\Controller\\ViewController",
"type": "->",
"args": [
"",
"",
null,
false
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 99,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OCA\\Files\\Controller\\ViewController"
},
"index"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 126,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OCA\\Files\\Controller\\ViewController"
},
"index"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
"line": 47,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"ViewController",
"index",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"_route": "files.view.index"
}
]
},
{
"function": "__invoke",
"class": "OC\\AppFramework\\Routing\\RouteActionHandler",
"type": "->",
"args": [
{
"_route": "files.view.index"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 297,
"function": "call_user_func",
"args": [
{
"__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
},
{
"_route": "files.view.index"
}
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 975,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/apps/files/"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 42,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/lib/private/legacy/helper.php",
"Line": 488,
"CustomMessage": "--"
},
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0",
"version": "16.0.1.1"
}
And here’s my config.php
<?php
$CONFIG = array (
'instanceid' => 'balabala',
'passwordsalt' => 'balabala',
'secret' => 'balabala',
'trusted_domains' =>
array (
0 => 'balabala'
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'pgsql',
'version' => '16.0.1.1',
'overwrite.cli.url' => 'balabala',
'dbname' => 'nextcloud',
'dbhost' => '/var/run/postgresql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'balabala',
// Use wasabi as primary storage.
'objectstore' => array(
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' => array(
'bucket' => 'balabala',
'autocreate' => true,
'key' => 'balabala',
'secret' => 'balabala',
'hostname' => 'balabala',
'port' => 443,
'use_ssl' => true,
'region' => 'balabala',
// required for some non Amazon S3 implementations
// 'use_path_style'=>true
),
),
'installed' => true,
);
The S3 storage’s set up is right because there are some files named urn:oid:xxx been created in my bucket.
So why can’t I use it?
Thanks for your help.