Hi all,
I do have the same issue here. Everything worked fine for me on Nextcloud 9.
Today, I upgraded to 10, and my apps were gone. The app page was no longer loading. I fiddled around a bit, but could not find any error. I therefore upgraded to 11 straight away. Upgrade went fine, just as upgrade to 10.
However, the apps page only shows the spinning circle forever. I took a look at the logs, which do not seem to help a lot:
root@pid:/var/opt/nextcloud/data# tail nextcloud.log
{“reqId”:“Plagzkh4hd6Y4QvweeB0”,“remoteAddr”:“85.197.30.92”,“app”:“admin_audit”,“message”:“Login successful: "kumzugloom"”,“level”:1,“time”:“2017-03-19T10:56:48+00:00”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“user”:“kumzugloom”,“version”:“11.0.2.7”}
{“reqId”:“toqphZvG+UvfJU5y6bLn”,“remoteAddr”:“85.197.30.92”,“app”:“no app in context”,“message”:“Current user is not logged in”,“level”:0,“time”:“2017-03-19T10:58:12+00:00”,“method”:“GET”,“url”:“/nextcloud/index.php/settings/apps”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“C4/vQRs4SJs7EQ8hXaik”,“remoteAddr”:“85.197.30.92”,“app”:“admin_audit”,“message”:“Login attempt: "kumzugloom"”,“level”:1,“time”:“2017-03-19T10:58:20+00:00”,“method”:“POST”,“url”:“/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/settings/apps”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“C4/vQRs4SJs7EQ8hXaik”,“remoteAddr”:“85.197.30.92”,“app”:“admin_audit”,“message”:“Login successful: "kumzugloom"”,“level”:1,“time”:“2017-03-19T10:58:20+00:00”,“method”:“POST”,“url”:“/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/settings/apps”,“user”:“kumzugloom”,“version”:“11.0.2.7”}
{“reqId”:“Ox31S44Qt0fEpLKEM5bv”,“remoteAddr”:“85.197.30.92”,“app”:“DeleteOrphanedItems”,“message”:“0 orphaned system tag relations deleted”,“level”:0,“time”:“2017-03-19T10:58:32+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“Ox31S44Qt0fEpLKEM5bv”,“remoteAddr”:“85.197.30.92”,“app”:“DeleteOrphanedItems”,“message”:“0 orphaned user tag relations deleted”,“level”:0,“time”:“2017-03-19T10:58:32+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“Ox31S44Qt0fEpLKEM5bv”,“remoteAddr”:“85.197.30.92”,“app”:“DeleteOrphanedItems”,“message”:“0 orphaned comments deleted”,“level”:0,“time”:“2017-03-19T10:58:32+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“Ox31S44Qt0fEpLKEM5bv”,“remoteAddr”:“85.197.30.92”,“app”:“DeleteOrphanedItems”,“message”:“0 orphaned comment read marks deleted”,“level”:0,“time”:“2017-03-19T10:58:32+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“vHc3LO2THfK8u7MQI9pz”,“remoteAddr”:“85.197.30.92”,“app”:“no app in context”,“message”:“Invalidating session tokens older than 2017-03-18T11:05:42+00:00”,“level”:0,“time”:“2017-03-19T11:05:42+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
{“reqId”:“vHc3LO2THfK8u7MQI9pz”,“remoteAddr”:“85.197.30.92”,“app”:“no app in context”,“message”:“Invalidating remembered session tokens older than 2017-03-04T11:05:42+00:00”,“level”:0,“time”:“2017-03-19T11:05:42+00:00”,“method”:“GET”,“url”:“/nextcloud/cron.php”,“user”:“–”,“version”:“11.0.2.7”}
I also checked /var/log/syslog, but there was no error in there as well.
As I was continuously upgrading from some old owncloud version, I was wondering, whether my config file might be too old? It looks very different from the sample file:
<?php
$CONFIG = array (
'instanceid' => 'ocbwcpt85gvm',
'passwordsalt' => '<>>',
'secret' => '<>>',
'trusted_domains' =>
array (
0 => '<>>',
1 => '<>>',
),
'datadirectory' => '/var/opt/nextcloud/data/',
'overwrite.cli.url' => '<>>/nextcloud',
'dbtype' => 'sqlite3',
'version' => '11.0.2.7',
'logtimezone' => 'UTC',
'installed' => true,
'maintenance' => false,
'loglevel' => 0,
'updater.secret' => '<>>',
);
Can someone help me? I use NC to sync my calendar & contact entries with my girlfriend and don’t want to risk a discussion, on why I have to host this on a private Raspberry instead of using google calendar or some other data squid… 
Thanks a lot!
Update:
I also did run the permission script.
In this Thread, it says:
Is “appstoreurl” defined in your config.php? If so remove the line or set it to “https://api.nextcloud.com/v1” as this is the new standard app store and therefore also standard value.
Also “appstoreenabled” should be set to “true” but I guess this is already the case.
However, the mentioned URL seems to be invalid?
Also here are some additional system infos:
Up-to-date Rasbian, nginx/1.6.2, PHP 5.6.29-0+deb8u1 (cli)