Nextcloud cannot open occ or appstore app

Hi, i´m facing a problem that my nextcloud installation cannot run the occ command or open the appstore app. This worked until last week.

When open the APP in Nextcloud, I just get the following information:

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.xx.xx
  • Anfragekennung: QahabCqmFTXRn0Zox5Ct

When running OCC to update all apps, I get this error:
sudo -u www-data php ./occ app:update --all -vvv

In File.php line 35:

[OCP\Files\GenericFileException]

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

app:update [–all] [–showonly] [–allow-unstable] [–] []

root@Nextcloud:/var/www/domain.local/nextcloud#

I jusst found out that my Avatars are not visible and tried to find out what is going on here.

My Setup:
Proxmox running Nextcloud in a LXC with Debian 12
Server is behind a NPM ReverseProxy
Nextcloud Datafolder is on a QNAP running in my internal network.
Nextcloud Version is 31.0.4

Anything you can think of that changed last week?

Please check the Nextcloud log for clues as described in the support template.

OK, same problem as I had before. The solution is simple, even if I do not know why my instance is broken from one day to another:

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

This will take some time, but then everything was working again.

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