NC31.0.2 APP is crashed

Hi, after updating to NC31.0.2 is get an error whenever I want to use the APP Application or use the app command on CLI:

Interner Serverfehler
Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deine Serveradministration.

Weitere Details können im Serverprotokoll gefunden werden.

Technische Details
Entfernte Adresse: 147.161.136.96
Anfragekennung: B16AEqeW3nvCNGsIwiKK

The logfile says:

{"reqId":"B16AEqeW3nvCNGsIwiKK","level":3,"time":"2025-04-01T10:00:31+00:00","remoteAddr":"147.161.136.96","user":"benjamin","app":"index","method":"GET","url":"/nextcloud/index.php/settings/apps","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0","version":"31.0.2.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/domainname/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":138,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":156,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/Installer.php","line":381,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->"},{"file":"/var/www/domainname/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":205,"function":"isUpdateAvailable","class":"OC\\Installer","type":"->"},{"file":"/var/www/domainname/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":93,"function":"getAppsWithUpdates","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"viewApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/domainname/nextcloud/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/domainname/nextcloud/lib/base.php","line":1025,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/domainname/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/domainname/nextcloud/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}

When using the occ command i get:

sudo -u www-data php occ app:update --all -vvv

In File.php line 35:

  [OCP\Files\GenericFileException]


Exception trace:
  at /var/www/domainname/nextcloud/lib/private/Files/Node/File.php:35
 OC\Files\Node\File->getContent() at /var/www/domainname/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php:55
 OC\Files\SimpleFS\SimpleFile->getContent() at /var/www/domainname/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php:138
 OC\App\AppStore\Fetcher\Fetcher->get() at /var/www/domainname/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php:156
 OC\App\AppStore\Fetcher\AppFetcher->get() at /var/www/domainname/nextcloud/lib/private/Installer.php:381
 OC\Installer->isUpdateAvailable() at /var/www/domainname/nextcloud/core/Command/App/Update.php:80
 OC\Core\Command\App\Update->execute() at /var/www/domainname/nextcloud/3rdparty/symfony/console/Command/Command.php:326
 Symfony\Component\Console\Command\Command->run() at /var/www/domainname/nextcloud/3rdparty/symfony/console/Application.php:1078
 Symfony\Component\Console\Application->doRunCommand() at /var/www/domainname/nextcloud/3rdparty/symfony/console/Application.php:324
 Symfony\Component\Console\Application->doRun() at /var/www/domainname/nextcloud/3rdparty/symfony/console/Application.php:175
 Symfony\Component\Console\Application->run() at /var/www/domainname/nextcloud/lib/private/Console/Application.php:187
 OC\Console\Application->run() at /var/www/domainname/nextcloud/console.php:87
 require_once() at /var/www/domainname/nextcloud/occ:33

app:update [--all] [--showonly] [--allow-unstable] [--] [<app-id>]

I am using Nextcloud 31.0.2 on Debian 12.10, no docker installation.

I think I was able to solve it:

sudo -u www-data php occ files:scan-app-data

solved it for me, now everything is working agin, and the error is gone.

good to know

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.