No apps found for your version (NC15)

Hi, Iā€™m facing a problem with installing apps.

ā€œNo apps found for your versionā€ / ā€œEs wurden keine Apps fĆ¼r Ihre Version gefundenā€

System:
Ubuntu 18.04
Docker 18.09.3
NC 15.0.5 alpine
Nginx 1.14.1 alpine
Postgres 9.6.12 alpine

I use NC an my local machine for testing and cannot access other apps than the pre installed. The machine has internet connection and the docker container can also access the web but apps like calendar or contacts are not displayed.

What I have tried:

  • use a redis container
  • use an older version of NC (14)
  • use the apache version of NC
  • use mariadb
  • use a newer version of postgres (11)

In the NC log i find following messages:

GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.startpage.com:443 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

GuzzleHttp\Exception\RequestException: cURL error 56: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

I know there were some similar issues in the last time but not with the same setup and no advice was useful for me so far. I look foreward for suggestions to get the apps(tore) back.

The log entry refers to an certificate verification error which appears when curl is used to fetch data from the web site. It looks like the certificate chain couldnā€™t be verified, so I would make sure that the required intermediate and root certificates are correctly installed on your server. You can check this by running curl from the command line, e.g. curl -v https://www.startpage.com.

Here you can see which certificates are required to verify the certificate chain:

| certificate : startpage.com.pem (561e222d)
| subject     : OU = Domain Control Validated OU = EssentialSSL Wildcard CN = .startpage.com
| issuer      : C = GB ST = Greater Manchester L = Salford O = COMODO CA Limited CN = COMODO RSA Domain Validation Secure Server CA
| MD5 f-print : D5:BB:C1:B9:3D:1F:61:57:C3:E6:A3:73:10:58:D9:02
| SHA1 f-print: 5D:6D:E7:2F:B4:13:A6:15:F3:C6:24:D3:61:30:39:F9:B1:F9:02:E2
|
+->| certificate : comodo_rsa_domain_validation_secure_server_ca.pem (8d28ae65)
   | subject     : C = GB ST = Greater Manchester L = Salford O = COMODO CA Limited CN = COMODO RSA Domain Validation Secure Server CA
   | issuer      : C = GB ST = Greater Manchester L = Salford O = COMODO CA Limited CN = COMODO RSA Certification Authority
   | MD5 f-print : 83:E1:04:65:B7:22:EF:33:FF:0B:6F:53:5E:8D:99:6B
   | SHA1 f-print: 33:9C:DD:57:CF:D5:B1:41:16:9B:61:5F:F3:14:28:78:2D:1D:A6:39
   |
   +->| certificate : comodo_rsa_certification_authority.pem (d6325660)
      | subject     : C = GB ST = Greater Manchester L = Salford O = COMODO CA Limited CN = COMODO RSA Certification Authority
      | issuer      : C = SE O = AddTrust AB OU = AddTrust External TTP Network CN = AddTrust External CA Root
      | MD5 f-print : 1E:DA:F9:AE:99:CE:29:20:66:7D:0E:9A:8B:3F:8C:9C
      | SHA1 f-print: F5:AD:0B:CC:1A:D5:6C:D1:50:72:5B:1C:86:6C:30:AD:92:EF:21:B0
      |
      +->| certificate : addtrust_external_ca_root.pem (157753a5)
         | subject     : C = SE O = AddTrust AB OU = AddTrust External TTP Network CN = AddTrust External CA Root
         | issuer      : C = SE O = AddTrust AB OU = AddTrust External TTP Network CN = AddTrust External CA Root
         | MD5 f-print : 1D:35:54:04:85:78:B0:3F:42:42:4D:BF:20:73:0A:3F
         | SHA1 f-print: 02:FA:F3:E2:91:43:54:68:60:78:57:69:4D:F5:E4:5B:68:85:18:68
         |
         +-> end of chain!

Thanks for your advice. I checkd curl -v https://www.startpage.com on the host and got the following result:

* Connection #0 to host www.startpage.com left intact

So this seems to be fine. But I can stil not access the ā€œappstoreā€ apps.

I use my nextcloud installation locally on port 80, if this is could be of importance?


part of the CLI output:
ā€¦
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: OU=Domain Control Validated; OU=EssentialSSL Wildcard; CN=.startpage.com
* start date: Oct 17 00:00:00 2017 GMT
* expire date: Dec 13 23:59:59 2020 GMT
* subjectAltName: host ā€œwww.startpage.comā€ matched certā€™s "
.startpage.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
ā€¦

Have you checked the certificate status using the web server user, e.g. www-data? It might be possible that you will get a different result due to file access restrictions.
Are you sure that you have enabled the app store in your configuration? See https://docs.nextcloud.com/server/stable/admin_manual/apps_management.html?highlight=appstoreenabled for the details how to configure it.

At first I tried to check certificate status of www-data in the nextcloud container:

docker exec -it --user www-data curl -v https://www.startpage.com

and it gave the same result as on the host.


I used this docker-compose file as blueprint:


I tried to access the api through the container and it gave back a good looking result, but the apps still not showing up in apps sectopn of admin panel.

docker exec --user 82 -it curl ā€˜https://apps.nextcloud.com/api/v1/platform/15.0.5/apps.jsonā€™

Hi I want to resolve this topic. It turned out that is has to be connected to my internet ā€œProviderā€. I was using a hotel hotspot. And I would guess it blocked the API call to/from the appstore.

At my home Network it perfectly works.

1 Like