Hi,
I’m impossible to add an external storage in my NextCloud…
I’ve a VPS.
I checked my Apache config because I’ve the AH01630 error…
But I’ve always the same problem.
Have you any issue for my problem ?
Thank’s
Romain
Nextcloud version : 10.0.3
Operating system and version : 8.7
Apache version : 2.4.10
PHP version : 5.6.30
Is this the first time you’ve seen this error?: YES
The output of your Nextcloud log in Admin > Logging:
_OpenCloud\Common\Exceptions\EndpointError: No endpoints for service type [object-store], name [ostack], region [GRA1] and urlType [publicURL]_
_/var/www/nextcloud/3rdparty/rackspace/php-opencloud/lib/OpenCloud/Common/Service/CatalogService.php - line 72: OpenCloud\Common\Service\CatalogService->findEndpoint()_
_/var/www/nextcloud/3rdparty/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Service.php - line 43: OpenCloud\Common\Service\CatalogService->__construct(Object(OpenCloud\OpenStack), NULL, 'ostack', 'GRA1', NULL)_
_/var/www/nextcloud/3rdparty/rackspace/php-opencloud/lib/OpenCloud/Common/Service/ServiceBuilder.php - line 43: OpenCloud\ObjectStore\Service->__construct(Object(OpenCloud\OpenStack), NULL, 'ostack', 'GRA1', NULL)_
_/var/www/nextcloud/3rdparty/rackspace/php-opencloud/lib/OpenCloud/OpenStack.php - line 459: OpenCloud\Common\Service\ServiceBuilder factory(Object(OpenCloud\OpenStack), 'OpenCloud\\Objec...', Array)_
_/var/www/nextcloud/apps/files_external/lib/Lib/Storage/Swift.php - line 581: OpenCloud\OpenStack->objectStoreService('ostack', 'GRA1')_
_/var/www/nextcloud/apps/files_external/lib/Lib/Storage/Swift.php - line 606: OCA\Files_External\Lib\Storage\Swift->getConnection()_
_/var/www/nextcloud/apps/files_external/lib/Lib/Storage/Swift.php - line 129: OCA\Files_External\Lib\Storage\Swift->getContainer()_
_/var/www/nextcloud/apps/files_external/lib/Lib/Storage/Swift.php - line 302: OCA\Files_External\Lib\Storage\Swift->fetchObject('')_
_/var/www/nextcloud/lib/private/Files/Storage/Common.php - line 439: OCA\Files_External\Lib\Storage\Swift->stat('')_
_/var/www/nextcloud/apps/files_external/lib/config.php - line 233: OC\Files\Storage\Common->test(false, false)_
_/var/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 257: OC_Mount_Config getBackendStatus('\\OCA\\Files_Exte...', Array, false, false)_
_/var/www/nextcloud/apps/files_external/lib/Controller/UserGlobalStoragesController.php - line 121: OCA\Files_External\Controller\StoragesController->updateStorageStatus(Object(OCA\Files_External\Lib\StorageConfig), false)_
_[internal function] OCA\Files_External\Controller\UserGlobalStoragesController->show(1, false)_
_/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)_
_/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files_External\Controller\UserGlobalStoragesController), 'show')_
_/var/www/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files_External\Controller\UserGlobalStoragesController), 'show')_
_/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('UserGlobalStora...', 'show', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)_
_[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)_
_/var/www/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)_
_/var/www/nextcloud/lib/base.php - line 1010: OC\Route\Router->match('/apps/files_ext...')_
_/var/www/nextcloud/index.php - line 40: OC handleRequest()_
_{main}_
The output of your config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
_ ‘instanceid’ => ‘XXX’,
_ ‘passwordsalt’ => ‘XXX’,
_ ‘secret’ => ‘XXX’,
_ ‘trusted_domains’ =>
_ array (
_ 0 => ‘myip’,
_ ),
_ ‘datadirectory’ => ‘/var/www/nextcloud/data’,
_ ‘overwrite.cli.url’ => ‘myip’,
_ ‘dbtype’ => ‘mysql’,
_ ‘version’ => ‘11.0.3.2’,
_ ‘dbname’ => ‘dynamo’,
_ ‘dbhost’ => ‘localhost’,
_ ‘dbport’ => ‘’,
_ ‘dbtableprefix’ => 'oc’,
_ ‘dbuser’ => 'oc_admin’,
_ ‘dbpassword’ => ‘XXX’,
_ ‘logtimezone’ => ‘UTC’,
_ ‘installed’ => true,
_ ‘updater.release.channel’ => ‘stable’,
_ ‘maintenance’ => false,
_ ‘theme’ => ‘’,
_ ‘loglevel’ => 2,
_ ‘mail_from_address’ => ‘mail address’,
_ ‘mail_smtpmode’ => ‘php’,
_ ‘mail_domain’ => ‘gmail.com’,
_ ‘updater.secret’ => ‘XXX’,
_);
The output of your Apache/nginx/system log in `/var/log/____`:
_[Thu Apr 27 12:38:44.348267 2017] [authz_core:error] [pid 5218] [client ip:57559] AH01630: client denied by server configuration: /var/www/nextcloud/data/.ocdata
_[Thu Apr 27 12:38:49.482778 2017] [authz_core:error] [pid 5211] [client ip:57554] AH01630: client denied by server configuration: /var/www/nextcloud/data/.ocdata
_[Thu Apr 27 12:38:56.093415 2017] [authz_core:error] [pid 5211] [client ip:57554] AH01630: client denied by server configuration: /var/www/nextcloud/data/.ocdata
000-default.conf
<VirtualHost *:80>
ServerName myIP
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory "/var/www/nextcloud">
Options MultiViews FollowSymLinks
AllowOverride all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.