How to install/activate Apps like Mail, Contacts and Calendar?

Yes 10.01 i think. And its with all Apps. I have grabbed https://download.nextcloud.com/server/releases/nextcloud-10.0.1.tar.bz2 via wget to the Pi, extracted the Archive to /var/www/html, chowned all to www-data and started the installation. After this, i logged in via Firefox.

At this time, i have only poor access via Smartphone and SSH to the server, so its a little bit difficult to enter long and complex things to the server :slight_smile: Maybe i should wait, when im back at my home network and i could access the server via putty.

1 Like

Same here. :slight_smile:
api.owncloud.com has renewed its LetsEncrypt certificate today. Since then cURL is throwing a SSL error on my Ubuntu 16.04 LTS server. That’s why the default appstore doesn’t work here.

After reading this I looked at my server and noticed the same issue, that started today:

Nov 22 15:06:49 nextcloud ownCloud[7545]: {core} Could not get categories: cURL error 60: SSL certificate problem: unable to get local issuer certificate
Nov 22 15:06:54 nextcloud ownCloud[7526]: {core} Could not get application: cURL error 60: SSL certificate problem: unable to get local issuer certificate

Ubuntu 16.04 LTS
Nextcloud 10.0 stable
Letsencrypt SSL certificates

:worried:

Ah, there’s already a topic on this, sweet!
So, same thing as OP, Nextcloud on RPi 3, installed this very morning.

After some back and forth (and adding the new URL to the config.php) I did indeed find the Calendar app under Office. But, the Contacts app still is a no-show. I even went and set
’appstore.experimental.enabled’ => true,
for the sheer heck of it, but no dice.

Any ideas?

PS: Hope this doesn’t look too much like I’m pirating the thread. :slight_smile:

Same error here with
’appstore.experimental.enabled’ => true,
‘appstoreurl’ => ‘https://apps.nextcloud.com/api/v0’, just added.

First I thought that something broke due to my apache2 package upgrade, because upgrade time and first sight of error were quite close. But as the error occurred half an hour earlier, needed to be something else. Good to know that the error is handles here now.

Related issue on git-hub: Update to 0.3.4 fails

I dont know if anything has changed in the store, but i could now install the Mail App without Problems. Before, i have fixed a Problem, where a white box with the Text “This content failed to load” appeared in my installation. To fix this, i have added a config only for the nextcloud part in my setup:

location ^~ /nextcloud/ {
		error_page 403 /core/templates/403.php;
		error_page 404 /core/templates/404.php;
		try_files $uri $uri/ /nextcloud/index.php;
		
		location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README) {
                deny all;
        }
		
		location ~ \.php(?:$|/) {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                include fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param PATH_INFO $fastcgi_path_info;
                fastcgi_param HTTPS on;
                fastcgi_pass php-handler;
        }
	}

Additionally, i have added a symlink to my local ssl certificate bundle:

ln -s /etc/ssl/certs/ca-certificates.crt /var/www/html/nextcloud/resources/config/ca-bundle.crt

Maybe the last step has fixed the SSL Issue.

Now, i cant find the “Contacts” App. I hope, i could fix this tomorrow.

Interesting, with you symlink I was able to update the calendar app. But Spreed.ME update (0.3.3 to 0.3.4) still shows the SSL issue directly in the app store: “cURL error 60: SSL certificate problem: unable to get local issuer certificate”

The nextcloud log on admin page doesn’t show the SSL error anymore, since I switched to the new app store, but the following error instead:
“Error core Could not get application: Client error response [url] https://apps.nextcloud.com/api/v0/content/data/164356?version=9x1x1x5 [status code] 404 [reason phrase] Not Found”

In the end I don’t know, if your symlink changed anything, because before that I just tried to update Spreed.ME ;).

Why you thought, that the “old” ca-bundle.crt has some issue, that your ca-certificates.crt doesn’t have?

I restored the old ca-bundle.crt and still was able to update/install some random other app. The error on admin page remains and I am not able to update Spreed.ME. Everything else seems to work.

Hello MichaIng. I didnt use Spreed.ME in my installation, because, all what i want is Mail, Calender, Contact and WebDAV. I have seen the SSL Error and google a little bit. Somewhere i found the Tip regarding the Symlink. So i have tried it and it seems to work. I dont know if this was the trick or if there was some problem with the site certificate.

So, without having changed anything, the contacs app now shows under the office category and I can enable it. Unfortunately, I can’t say why that is, I didn’t do anything.

Made a fresh install yesterday and today I wanted to look at the App Store. But nothing there and log showed

Error	core	Could not get application: cURL error 60: SSL certificate problem: unable to get local issuer certificate

Then I added this to config.php

'appstoreurl' => 'https://apps.nextcloud.com/api/v0',

and it’s working!

Only thing I get in the log now is

Error	core	Could not get application: Client error response [url] https://apps.nextcloud.com/api/v0/content/data/166049?version=9x1x1x5 [status code] 404 [reason phrase] Not Found

The errors in your log are telling you that it can’t find some of your installed apps on the new store, that’s all.

As general advice: always restart your webserver if you change code or configuration, stuff like app store calls are cached

So, and what to do now? No categories shown in “Applications”. I can see just apps that already is installed.

Thank you.

Did you read the thread and changed your address to the new app store yet?

“Yes” and “yes”. And message “Error core Could not get application: cURL error 60: SSL certificate problem: unable to get local issuer certificate” is disappear in logs when I added this to config.php:

‘appstoreurl’ => ‘https://apps.nextcloud.com/api/v0’,
and only thing I get in the log now is "Could not get application: Client error response [url] https://apps.nextcloud.com/api/v0/content/data/168711?version=9x1x0x16 [status code] 404 [reason phrase] Not Found"
And no categories is in “Application” section, just only “Enabled” and “Disabled”.

I understand that it is possible to install apps from their home at github, but it’s not too easy for me 'cause I’m nub (absolutely, this ubuntu server with nextcloud is my first installation).

I did nothing more, now categories with some applications are visible. Miracle.

Right, clear your caches :smiley:

Ah okay, was worth trying as the systems bundle might accept some keys, that the one from nextcloud doesn’t.

But beside that error, some apps, at least Spreed.ME, are in the store, showing updates, but still not beeing able to update, throwing the SSL error while trying.

For Spreed.ME @MorrisJobke writes on GitHub:

Sorry for this back and forth, but this is actually an issue with the environment where the archive of this app is hosted. The SSL cert of this server is not fully trusted and we can do very little there. Sorry for the inconvenience. The app author needs to place the app on a properly hosted platform.

I had the same problem with a fresh install of NextCloud 10.0.1.

I just added the following 2 lines in my config.php and it works now :slight_smile:

  'appstoreenabled' => true,
  'appstoreurl' => 'https://apps.nextcloud.com/api/v0',
1 Like