Nextcloud version (eg, 29.0.5): Nextcloud Hub 9 (30.0.0)
Operating system and version (eg, Ubuntu 24.04): TrueNAS Scale Dragonfish-24.04.2
Apache or nginx version (eg, Apache 2.4.25): Debian 12 bookworm
PHP version (eg, 8.3): 8.2.24
The issue I am facing:
I get no apps in the NextCloud app library, except the ones installed before problem started. I have used NC for about one and a half years and have upgraded it a few times. I can’t tell exactly when the problem started and thankfully most of the activated apps has continued to work even if I can’t find and install new ones. However, now some apps are so old that they need to be updated to work properly, Notes for example.
Nextcloud is installed on TrueNAS from the TrueNAS catalog (Chart Version: 2.0.17) and is reached from a domain name connected to CloudFlare/cloudflared.
Everything except the app library works fine. Under Administration I have no current errors in the list.
I hope you can help me solve this problem.
Is this the first time you’ve seen this error? (Y/N): Y (since long time)
Steps to replicate it:
- Log in as admin
- Click user butten in top right corner and select Apps
- See under header Best rated apps to see placeholders or select f ex Files in menu and see blank list.
The output of your Nextcloud log in Admin > Logging:
I have only log posts from 9 mars 2024 here
If I select nextcloud logs from TrueNAS apps page I get better log results. I have attached the log where I have deleted all rows for other users than admin. I have also deleted most of the certificate info and masked part of IP-addresses. The most interesting log posts are maybe these:
2024-09-28T13:48:02.390224477+02:00 172.16.7.40 - - [28/Sep/2024:11:48:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 500 849 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
2024-09-28T13:48:39.556295450+02:00 172.16.7.40 - admin [28/Sep/2024:11:48:39 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 500 794 "-" "Mozilla/5.0 (Windows) mirall/3.14.0stable-Win64 (build 20240914) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
2024-09-28T13:48:39.554911723+02:00 [Sat Sep 28 11:48:39.554839 2024] [php:notice] [pid 1671:tid 1671] [client 172.16.7.40:39152] {"reqId":"HlIS7Vke17uJcqndwgMG","level":3,"time":"2024-09-28T11:48:39+00:00","remoteAddr":"172.16.7.40","user":"admin","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/html","userAgent":"Mozilla/5.0 (Windows) mirall/3.14.0stable-Win64 (build 20240914) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"30.0.0.14","exception":{"Exception":"RuntimeException","Message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/html","Code":0,"Trace":[{"file":"/var/www/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":205,"function":"imagePath","class":"OC\\\\URLGenerator","type":"->","args":["firstrunwizard","apps/whiteboard.svg"]},{"file":"/var/www/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":105,"function":"setAppHintDetails","class":"OCA\\\\FirstRunWizard\\\\Notification\\\\Notifier","type":"->","args":[["OC\\\\Notification\\\\Notification"],"sv","whiteboard"]},{"file":"/var/www/html/lib/private/Notification/Manager.php","line":337,"function":"prepare","class":"OCA\\\\FirstRunWizard\\\\Notification\\\\Notifier","type":"->","args":[["OC\\\\Notification\\\\Notification"],"sv"]},{"file":"/var/www/html/apps/notifications/lib/Controller/EndpointController.php","line":103,"function":"prepare","class":"OC\\\\Notification\\\\Manager","type":"->","args":[["OC\\\\Notification\\\\Notification"],"sv"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\\\Notifications\\\\Controller\\\\EndpointController","type":"->","args":["v2"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\\\AppFramework\\\\Http\\\\Dispatcher","type":"->","args":[["OCA\\\\Notifications\\\\Controller\\\\EndpointController"],"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\\\AppFramework\\\\Http\\\\Dispatcher","type":"->","args":[["OCA\\\\Notifications\\\\Controller\\\\EndpointController"],"listNotifications"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\\\AppFramework\\\\App","type":"::","args":["OCA\\\\Notifications\\\\Controller\\\\EndpointController","listNotifications",["OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer"],["v2","ocs.notifications.endpoint.listnotifications"]]},{"file":"/var/www/html/ocs/v1.php","line":43,"function":"match","class":"OC\\\\Route\\\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/var/www/html/ocs/v2.php","line":7,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/URLGenerator.php","Line":242,"message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/html","exception":{},"CustomMessage":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/html"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'upgrade.disable-web' => true,
'passwordsalt' => 'xxxxx',
'secret' => 'xxx/xxx+xxx/xxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.xxx.xxx',
2 => 'nextcloud.xxxxx.de',
),
'trusted_proxies' =>
array (
0 => '10.42.0.0/16',
1 => '103.21.244.0/22',
2 => '103.22.200.0/22',
3 => '103.31.4.0/22',
4 => '104.16.0.0/12',
5 => '108.162.192.0/18',
6 => '131.0.72.0/22',
7 => '141.101.64.0/18',
8 => '162.158.0.0/15',
9 => '172.64.0.0/13',
10 => '173.245.48.0/20',
11 => '188.114.96.0/20',
12 => '190.93.240.0/20',
13 => '197.234.240.0/22',
14 => '198.41.128.0/17',
),
'forwarded_for_headers' =>
array (
0 => 'HTTP_CF_CONNECTING_IP',
),
'overwriteprotocol' => 'https',
'datadirectory' => '/var/www/html/data',
'default_phone_region' => 'SE',
'default_language' => 'sv',
'dbtype' => 'pgsql',
'version' => '30.0.0.14',
'overwrite.cli.url' => 'nextcloud.xxxxxx.de',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud-postgres:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'oc4ko8u82cqc',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'xxx.se',
'mail_smtphost' => 'mail.xxx.eu',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'nextcloud@xxx.se',
'mail_smtppassword' => 'xxx',
'maintenance' => false,
'loglevel' => 0,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => 'xxx',
'port' => xxxx,
),
'app_install_overwrite' =>
array (
0 => 'spreed',
1 => 'files_antivirus',
),
'overwritehost' => 'nextcloud.xxxxx.de',
);
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
None
I found old posts in this forum having the same issue. I tried the following solutions:
- Delete the DST Root CA X3 section from /resources/config/ca-bundle.crt. Not present in my ca-bundle file
- I searched for the DST certificate files in /etc/ssl/certs but didn’t find any DST-certs to delete
- Delete
'appstoreurl' => 'https://api.nextcloud.com/v1'
from config.php. Not present in my config.php-file so couldn’t delete