I have installed Nextcloud fresh on a Raspberry PI. After the installation, i can login. Now i would like to activate the Apps Mail, Contacts and Calendar but i cant find them under Apps. After some googling, there was a advice to choose the Category Productivity and enable “Experimental Apps” before. I have enabled now “Experimental Apps”, but there is no category “Productivity”. I see only “Activated” and “Inactive”. Must i install Apps from a external source? Is there something i must configure via SSH before i could see this Apps?
It seems odd the default app store isn’t working,
Open your config/config.php file in the root of the NC installation and verify/add this line:
'appstoreurl' => 'https://apps.nextcloud.com/api/v0',
Restart/reload apache after and refresh the page, it should then show you more categories.
Many thx. The entry was not there. I have added the entry. Now i could see the categorys. If i try to activate for intance the Mail App, i get the following error: 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.
Is this with all apps?
You’re on NC 10.x yes?
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 Maybe i should wait, when im back at my home network and i could access the server via putty.
Same here.
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
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.
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.