Application categories are not displayed

Hello !

After upgrade version from 14.0.4.2 to 15.0.4 in User menu “Apps” application categories are not displayed.
Screen:

In logfile this record:
{“reqId”:“2jpZL8yMBpOSsOoaEItx”,“level”:1,“time”:“2019-02-25T12:54:06+00:00”,“remoteAddr”:“10.0.5.249”,“user”:“3D6DF050-2506-48E0-A7F6-0609458F80A6”,“app”:“appstoreFetcher”,“method”:“GET”,“url”:“/settings/apps/categories”,“message”:{“Exception”:“OCP\Files\NotPermittedException”,“Message”:“”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php”,“line”:104,“function”:“putContent”,“class”:“OC\Files\Node\File”,“type”:“->”,“args”:["{"data":[{"id":"customization","translations":{"en":{"name":"Customization","description":"Themes, layout and UX change apps"},"ca":{"name":"Personalitzaci\u00f3","description":"Temes, disposici\u00f3 i apps de canvi d\u2019UX"},"cs":{"name":"P\u0159izp\u016fsoben\u00ed","description":"Motivy a aplikace m\u011bn\u00edc\u00ed rozvr\u017een\u00ed a u\u017eivatelsk\u00e9 rozhran\u00ed"},"cy":{"name":"Customization","description":"Themes, layout and UX change apps … etc.

Ubuntu 18.04.1
PHP-FPM 7.2.15
Nginx 1.14.0
MariaDB 10.1.38

Any ideas ?

The categories are only displayed if your instance can establish a connection to the app store.
Due to the fact that a spinning wheel is shown in your screenshot you most likely cannot access the app store.

Thanks for reply.
But i can connect to app store from server with NC:

root@nexcloud:/var/www/nextcloud/data# wget https://apps.nextcloud.com/

Connecting to apps.nextcloud.com (apps.nextcloud.com)|88.198.160.138|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 122074 (119K) [text/html]
Saving to: ‘index.html.1’

index.html.1 100%[==================================================================================================================================================================>] 119,21K --.-KB/s in 0,1s

2019-02-25 16:22:38 (1017 KB/s) - ‘index.html.1’ saved [122074/122074]

and if I manually adding in URL /settings/apps/integration (as example) - I see apps from this category (integration)

It seems that you’re running your test using a root account on your server. To get a reliable result
you should always test it with the same system account under which your web server is running
(Is it www-data on Ubuntu?).
The displayed log messages seem to point to a permission problem on your server "OCP\Files\NotPermittedException”. Aunt G. knows several issues related to this kind of messages. I think
it would be worse to have a look on it. Search for nextcloud exception “OCP\Files\NotPermittedException"

No, from www-data - similarly:

root@nexcloud:~# sudo -u www-data -s /bin/bash
www-data@nexcloud:~$ cd ~www-data
www-data@nexcloud:/var/www$ cd nextcloud/
www-data@nexcloud:/var/www/nextcloud$ wget https://apps.nextcloud.com/
Connecting to apps.nextcloud.com (apps.nextcloud.com)|88.198.160.138|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 122074 (119K) [text/html]
Saving to: ‘index.html.1’

index.html.1 100%[==================================================================================================================================================================>] 119,21K 262KB/s in 0,5s

2019-02-25 16:46:46 (262 KB/s) - ‘index.html.1’ saved [122074/122074]

www-data@nexcloud:/var/www/nextcloud$

I found resolution for this problem.
Needs remove /var/www/nextcloud/data/appdata_XXXXXXXXXX/appstore directory, then NC create it and Apps is working.)

1 Like