I am trying to integrate nextcloud with Openstack Swift and I am getting following error.
I have created a swift container using swift post
swift stat nexcloud returns
Account: AUTH_1a92346cb5ce49bfa1b577bec9ad0637
Container: nextcloud
Objects: 0
Bytes: 0
Read ACL:
Write ACL:
Sync To:
Sync Key:
Accept-Ranges: bytes
X-Storage-Policy: Policy-0
Last-Modified: Tue, 02 Jan 2018 17:19:49 GMT
X-Timestamp: 1514913588.92537
X-Trans-Id: txddfd973e152b4cf7a5c8e-005a4bd1e8
Content-Type: text/plain; charset=utf-8
Guzzle\Http\Exception\ClientErrorResponseException: Client error response [status code] 404 [reason phrase] Not Found [url] http://24.132.64.40/v2.0/tokens
Any help will be highly appreciated My config.php files look likes this.
<?php
$CONFIG = array (
âinstanceidâ => âoc4sy9gpys3hâ,
âpasswordsaltâ => âPn6aG+0tnfs4A72Z8uj+aFKPrMKclBâ,
âsecretâ => âUQlNAxGE6fxphrF+bmO0lQ3E58kljkgsJ3FQ3KozrEEwkyXAâ,
âtrusted_domainsâ =>
array (
0 => â192.168.174.55â,
),
âdatadirectoryâ => â/var/www/nextcloud-dataâ,
âoverwrite.cli.urlâ => âhttp://192.168.174.55â,
âdbtypeâ => âmysqlâ,
âversionâ => â11.0.0.10â,
âdbnameâ => ânextcloudâ,
âdbhostâ => âlocalhostâ,
âdbportâ => ââ,
âdbtableprefixâ => âoc_â,
âdbuserâ => âaticaraâ,
âdbpasswordâ => âtest123â,
âlogtimezoneâ => âUTCâ,
âinstalledâ => true,
âobjectstoreâ => array(
âclassâ => âOC\Files\ObjectStore\Swiftâ,
âargumentsâ => array(
âusernameâ => âadminâ,
âpasswordâ => âonecloudâ,
// the container to store the data in
âbucketâ => ânextcloudâ,
âautocreateâ => true,
âregionâ => âRegionOneâ,
// The Identity / Keystone endpoint
âurlâ => âhttp://24.132.64.40/v2.0â,
// optional on some swift implementations
âtenantNameâ => âadminâ,
âserviceNameâ => âswiftâ,
// The Interface / url Type, optional
âurlTypeâ => âinternalâ
),
),
);
The log file error is
[Thu Dec 28 11:49:31.288213 2017] [core:notice] [pid 17964] AH00094: Command line: â/usr/sbin/apache2â
[Thu Dec 28 11:49:35.675713 2017] [php7:error] [pid 17965] [client 192.168.174.7:54143] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/nextcloud/index.php:61\nStack trace:\n#0 {main}\n thrown in /var/www/nextcloud/index.php on line 61
[Thu Dec 28 11:49:43.074748 2017] [php7:error] [pid 17966] [client 192.168.174.7:54145] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/nextcloud/index.php:61\nStack trace:\n#0 {main}\n thrown in /var/www/nextcloud/index.php on line 61
[Thu Dec 28 11:50:03.011540 2017] [mpm_prefork:notice] [pid 17964] AH00169: caught SIGTERM, shutting down
swift log file error