This is a continuation of All Apps Are Up To Date, But They Aren’t
Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 28.0.4
Archlinux: 6.8.7-arch1-1
Apache: 2.4.58 (Unix)
OpenSSL: 3.2.1
PHP: 8.2.18
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
1. See the Notification icon with red-dot showing updates
2. Click on link in dialog to go to Apps page to perform update
3. The Apps page shown "All Apps Up To Date" despite there being updates to install.
The output of your Nextcloud log in Admin > Logging:
Only 2 errors (that repeat every once in a while), but the /bcmath
does not seem important, the appstore own looks suspicious:
{"reqId":"ZUtgiYNy6MwAQV1Hq1Pg","level":3,"time":"2024-04-27T02:26:34+00:00","remoteAddr":"192.168.6.104","user":"david","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Module \"bcmath\" is already loaded at Unknown#0","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"28.0.4.1","data":{"app":"PHP"}}
{"reqId":"whtG7uspdfZRW65orbFq","level":2,"time":"2024-04-27T02:27:20+00:00","remoteAddr":"192.168.6.104","user":"david","app":"appstoreFetcher","method":"GET","url":"/nextcloud/ocs/v2.php/apps/updatenotification/api/v1/applist/28.0.5.1","message":"Could not connect to appstore: cURL error 28: Operation timed out after 60000 milliseconds with 3366912 out of 6388273 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"28.0.4.1","data":{"app":"appstoreFetcher"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
{
"system": {
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"default_locale": "en_US",
"default_phone_region": "US",
"knowledgebaseenabled": true,
"apps_paths": [
{
"path": "\/usr\/share\/webapps\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/lib\/nextcloud\/apps",
"url": "\/wapps",
"writable": true
}
],
"trusted_domains": [
"localhost",
"2pi.mydomain.com",
"192.168.6.111"
],
"overwrite.cli.url": "https:\/\/2pi.mydomain.com\/nextcloud",
"htaccess.RewriteBase": "\/nextcloud",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.4.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"maintenance": false,
"maintenance_window_start": 6,
"app_install_overwrite": [
"issuetemplate",
"holiday_calendars"
],
"theme": "",
"loglevel": 2,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
}
}
}
Note: the /apps
, /wapps
is per the workaround Archlinux Wiki - Work around “ResourceLocator can not find a web root”
The output of your Apache/nginx/system log in /var/log/____
:
[Tue Apr 23 13:16:33.336012 2024] [mpm_prefork:notice] [pid 90250] AH00163: Apache/2.4.58 (Unix) OpenSSL/3.2.1 PHP/8.2.18 configured -- resuming normal operations
[Tue Apr 23 13:16:33.336072 2024] [core:notice] [pid 90250] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Fri Apr 26 21:02:57.983211 2024] [proxy_fcgi:error] [pid 106169] (70007)The timeout specified has expired: [client 192.168.6.104:41568] AH01075: Error dispatching request to : (polling)
[Fri Apr 26 21:03:39.853203 2024] [proxy_fcgi:error] [pid 106161] (70007)The timeout specified has expired: [client 192.168.6.104:55336] AH01075: Error dispatching request to : (polling)
[Fri Apr 26 21:27:20.478131 2024] [proxy_fcgi:error] [pid 90262] (70007)The timeout specified has expired: [client 192.168.6.104:38448] AH01075: Error dispatching request to : (polling)
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.
same as Admin log messages posted above.
The Bell (notifications) Show Updates, but clicking on link to Apps shows All Apps Up To Date
That is the problem. The bell icon for notifications shows the red-dot and the dialog lists updates for Calendar 4.7.1, Notes 4.10.0, CSS 1.16.0 and Nextcloud 28.0.5, but clicking on the links to go to the apps page to update shown “All Apps Up To Date”.
This is really odd and annoying. Moreover, if I go do different pages in Nextcloud and then loop back to the Apps page (usually 3-4 times), on the 4th or so retry the updates are shown and I can then update apps normally.
Could this be a side-effect of the config.php
regression of the missing slash for apps/
, /apps/
issue?
I’ve had nextcloud since version 24 or 25 and never had an issue before with the update notification and finding the updates ready to install on the Apps page after clicking the link. Any ides what the issue can be?