No App-Store shown

Nextcloud version: 11.0.1 (Updated from 11.0.0)
Operating system and version: Ubuntu 16.04 LTS
Apache: 2.4.18
PHP version: 7.0
Is this the first time you’ve seen this error and can you replicate it?: unsure

The issue I am facing:

  • no App-store shown
  • curl-error 77
  • message ‘no internet connection’

Nextcloud log:

GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: /var/www/html/nextcloud/data/files_external/rootcerts.crt CApath: /etc/ssl/certs
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 103: GuzzleHttp\Exception\RequestException wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\RingException))
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 132: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/html/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php - line 25: GuzzleHttp\RequestFsm->GuzzleHttp{closure}(Array)
/var/www/html/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php - line 55: React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php - line 43: GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 134: GuzzleHttp\Message\FutureResponse proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 132: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/html/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php - line 25: GuzzleHttp\RequestFsm->GuzzleHttp{closure}(Array)
/var/www/html/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php - line 55: React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php - line 43: GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 134: GuzzleHttp\Message\FutureResponse proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 165: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 125: GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
/var/www/html/nextcloud/lib/private/Http/Client/Client.php - line 137: GuzzleHttp\Client->get(‘http //www.next…’, Array)
/var/www/html/nextcloud/settings/Controller/CheckSetupController.php - line 124: OC\Http\Client\Client->get(‘http //www.next…’)
/var/www/html/nextcloud/settings/Controller/CheckSetupController.php - line 107: OC\Settings\Controller\CheckSetupController->isSiteReachable(‘www.nextcloud.c…’)
/var/www/html/nextcloud/settings/Controller/CheckSetupController.php - line 363: OC\Settings\Controller\CheckSetupController->isInternetConnectionWorking()
[internal function] OC\Settings\Controller\CheckSetupController->check()
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OC\Settings\Controller\CheckSetupController), ‘check’)
/var/www/html/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OC\Settings\Controller\CheckSetupController), ‘check’)
/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main(‘OC\Settings\Con…’, ‘check’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/var/www/html/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/var/www/html/nextcloud/lib/base.php - line 1010: OC\Route\Router->match(‘/settings/ajax/…’)
/var/www/html/nextcloud/index.php - line 40: OC handleRequest()
{main}

No App-Store shown:

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
‘passwordsalt’ => ‘SENSITIVE’,
‘secret’ => ‘SENSITIVE’,
‘trusted_domains’ =>
array (
0 => ‘SENSITIVE’,
),
‘datadirectory’ => ‘/var/www/html/nextcloud/data’,
‘overwrite.cli.url’ => ‘SENSITIVE’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘11.0.1.2’,
‘dbname’ => ‘ncdb01’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘oc_administrator’,
‘dbpassword’ => ‘SENSITIVE’,
‘logtimezone’ => ‘Europe/Zurich’,
‘installed’ => true,
‘memcache.local’ => ‘\OC\Memcache\Redis’,
‘memcache.distributed’ => ‘\OC\Memcache\Redis’,
‘filelocking.enabled’ => ‘true’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 0,
‘dbindex’ => 0,
),
‘trashbin_retention_obligation’ => 60,
‘trashbin_auto_expire’ => true,
‘logdateformat’ => ‘F d, Y H:i:s’,
‘log_rotate_size’ => 104857600,
‘versions_retention_obligation’ => ‘30,auto’,
‘instanceid’ => ‘ocyulqw86i8e’,
‘maintenance’ => false,
‘singleuser’ => false,
‘loglevel’ => 2,
‘mail_smtpmode’ => ‘php’,
‘mail_smtpsecure’ => ‘tls’,
‘theme’ => ‘’,
);

Apache-Log:

[Tue Jan 17 21:59:33.660393 2017] [authz_core:error] [pid 1535] [client 213.3.25.41:16659] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 21:59:44.092435 2017] [authz_core:error] [pid 1533] [client 213.3.25.41:63817] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:00:22.899438 2017] [authz_core:error] [pid 1535] [client 213.3.25.41:4890] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:00:52.401728 2017] [authz_core:error] [pid 1539] [client 213.3.25.41:11893] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:07:28.476342 2017] [authz_core:error] [pid 1533] [client 213.3.25.41:15566] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:09:00.025392 2017] [autoindex:error] [pid 1535] [client 213.3.25.41:3381] AH01276: Cannot serve directory /var/www/html/nextcloud/core/doc/user/_static/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive, referer: https://SENSITIVE*/core/doc/user/index.html

[Tue Jan 17 22:09:03.834472 2017] [authz_core:error] [pid 1538] [client 213.3.25.41:12270] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:09:14.573368 2017] [authz_core:error] [pid 1429] [client 213.3.25.41:46004] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:09:46.866550 2017] [authz_core:error] [pid 1427] [client 213.3.25.41:64496] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:15:18.771337 2017] [authz_core:error] [pid 1538] [client 213.3.25.41:48534] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:16:07.450187 2017] [authz_core:error] [pid 1428] [client 213.3.25.41:32796] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:20:46.867926 2017] [authz_core:error] [pid 1427] [client 213.3.25.41:8211] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Jan 17 22:20:49.161560 2017] [authz_core:error] [pid 1535] [client 213.3.25.41:19008] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata

App-List:
Enabled:

  • activity: 2.4.1
  • comments: 1.1.0
  • dav: 1.1.1
  • federatedfilesharing: 1.1.1
  • files: 1.6.1
  • files_external: 1.1.2
  • files_pdfviewer: 1.0.1
  • files_retention: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_versions: 1.4.0
  • files_videoplayer: 1.0.0
  • firstrunwizard: 2.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.0
  • notifications: 1.0.1
  • password_policy: 1.1.0
  • provisioning_api: 1.1.0
  • serverinfo: 1.1.1
  • sharebymail: 1.0.1
  • systemtags: 1.1.3
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1
    Disabled:
  • admin_audit
  • encryption
  • external
  • federation
  • files_accesscontrol
  • files_automatedtagging
  • survey_client
  • templateeditor
  • user_external
  • user_ldap
  • user_saml

What I’ve tried so far:

  • maintenance:repair
  • created new server, took sql and data into new server
  • lowered security-level (simple chown and chmod)
  • removed everything except SQL and DATA-directory, installed NC 11.0.1

Anyone having the same issue? Any help is much apreciated.

cURL error 77: error setting certificate verify locations: CAfile: /var/www/html/nextcloud/data/files_external/rootcerts.crt CApath: /etc/ssl/certs

TL;DR: certificate problem on your machine, just google (e.g. http://chrisschuld.com/2008/07/how-to-fix-the-curl-error-error-setting-certificate-verify-locations/)

Well, unfortunately this didnt help :confused:

and well, i can ping www.google.de/com/ch or whatever, thats what confuses me a lot.

any other ideas?

more people had this issue and it is caused by this file:

Just move or delete the rootcerts.crt file as written in: my blog

cheers, carsten

hi carsten

unfortunately that didnt help on my installation :confused:

**correction: worked! was a bit of my fault :slight_smile:
** thank you sire for the solution!

Perfect, no worries!