Nextcloud files page is not showing any files - After update to 24.0.0

[/details]

Nextcloud version (eg, 20.0.5): 24.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): php 8.1.5 (cli)

The issue you are facing:

Hey. Yesterday I updated my Nextcloud instance to version 24. Now I have the problem that the files page in the web browser is not showing my files anymore.
On my iPhone it works good, it shows all the files and the Windows 10 desktop client is also just working and syncing my files.
It only a problem in the webbrowser.
I used Firefox, Chrome and Edge but all are not showing my files.
This is only in the Files app page. On the dashboard it’s just showing my recent files. And in the Files page it also shows my recent files at the top.

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Update Nextcloud to version 24.0.0
  2. Check files page in webbrowser

The output of your Nextcloud log in Admin > Logging:
I don’t have errors in my log file.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => '***', 'passwordsalt' => '****', 'secret' => '****', 'overwriteprotocol' => 'https', 'trusted_domains' => array ( 0 => 'cloud.****', 1 => '****', 2 => '****', ), 'datadirectory' => '/mnt/nextcloud-data/datafolder', 'dbtype' => 'mysql', 'version' => '24.0.0.12', 'dbname' => 'nextcloud_prod', 'dbhost' => '192.168.1.35:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => '****', 'dbpassword' => '****', 'installed' => true, 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'default_language' => 'nl', 'default_locale' => 'nl_NL', 'default_phone_region' => 'NL', 'lost_password_link' => 'https://sspr.****', 'htaccess.RewriteBase' => '/', 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'tls', 'mail_sendmailmode' => 'smtp', 'mail_smtphost' => 'smtp.****', 'mail_smtpport' => '587', 'mail_from_address' => '****', 'mail_domain' => '****', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtpname' => '****', 'mail_smtppassword' => '***', 'memcache.local' => '\\OC\\Memcache\\APCu', 'distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'filelocking.enabled' => 'true', 'redis' => array ( 'host' => '/var/run/redis/redis-server.sock', 'port' => 0, 'timeout' => 0.0, ), 'twofactor_enforced' => 'true', 'twofactor_enforced_groups' => array ( 0 => '2FA_Users', ), 'twofactor_enforced_excluded_groups' => array ( ), 'overwrite.cli.url' => 'https://cloud.****', 'theme' => '', 'loglevel' => 0, 'maintenance' => false, 'app_install_overwrite' => array ( 0 => 'spreed', 1 => 'drawio', ), ); The output of your Apache/nginx/system log in `/var/log/____`: error.log.1 [Wed May 04 00:00:03.005560 2022] [mpm_prefork:notice] [pid 911] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations [Wed May 04 00:00:03.005593 2022] [core:notice] [pid 911] AH00094: Command line: '/usr/sbin/apache2' Logging at warning level to file: /tmp/coolwsd.RMyfpUIE1K/coolwsd.log [Wed May 04 21:22:12.644088 2022] [php7:notice] [pid 57658] [client 192.168.1.13:41864] PHP Notice: Undefined index: Content-Type in /var/www/nextcloud/apps> [Wed May 04 21:22:12.644120 2022] [php7:notice] [pid 57658] [client 192.168.1.13:41864] PHP Notice: Undefined offset: 1 in /var/www/nextcloud/apps/richdocum> [Wed May 04 21:22:12.654801 2022] [php7:notice] [pid 65706] [client 192.168.1.13:41866] PHP Notice: Undefined index: Content-Type in /var/www/nextcloud/apps> [Wed May 04 21:22:12.654832 2022] [php7:notice] [pid 65706] [client 192.168.1.13:41866] PHP Notice: Undefined offset: 1 in /var/www/nextcloud/apps/richdocum> Security: coolforkit incorrect user-name, other than 'cool' Init vcl preload: merged ucpchelp1 msforms vbaobj pcr vbaswobj sw animcore hwp chartcore solver sc wpftcalc ucpcmis1 wpftdraw sd svgfilter graphicfilter wpftimpress s> Disabled: ucpftp1 rptxml dbu rptui rpt mork odbc sdbc2 cmdmail PresenterScreen abp dbp Allowlisted languages: de_DE el en_GB en_US es_ES fr_FR hu it nl pt_BR pt_PT ru Preloading dictionaries: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES Preloading thesauri: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES Preload icons Preload languages Preload fonts Preload config Ready to accept connections on port 9983. wsd-70616-70616 2022-05-04 21:53:31.532985 +0200 [ coolwsd ] SIG Shutdown signal received: SIGTERM frk-70619-70619 2022-05-04 21:53:31.534944 +0200 [ forkit ] SIG Shutdown signal received: SIGTERM kit-70629-70619 2022-05-04 21:53:31.541789 +0200 [ kit_spare_001 ] SIG Shutdown signal received: SIGTERM wsd-70616-70616 2022-05-04 21:53:31.558488 +0200 [ coolwsd ] SIG Forced-Termination signal received: SIGTERM frk-70619-70619 2022-05-04 21:53:31.558594 +0200 [ forkit ] SIG Forced-Termination signal received: SIGTERM kit-70629-70619 2022-05-04 21:53:31.561040 +0200 [ kit_spare_001 ] SIG Forced-Termination signal received: SIGTERM sh: 1: /tmp/.mount_CollabE39TTI/usr/bin/coolmount: not found sh: 1: /tmp/.mount_CollabE39TTI/usr/bin/coolmount: not found [Wed May 04 21:53:31.891146 2022] [mpm_prefork:notice] [pid 911] AH00169: caught SIGTERM, shutting down [Wed May 04 21:53:32.108476 2022] [mpm_prefork:notice] [pid 71228] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations [Wed May 04 21:53:32.108538 2022] [core:notice] [pid 71228] AH00094: Command line: '/usr/sbin/apache2' Logging at warning level to file: /tmp/coolwsd.oefOOWhcXe/coolwsd.log [Wed May 04 22:00:27.675580 2022] [php7:notice] [pid 71229] [client 192.168.1.13:50752] PHP Notice: Undefined index: Content-Type in /var/www/nextcloud/apps> [Wed May 04 22:00:27.675618 2022] [php7:notice] [pid 71229] [client 192.168.1.13:50752] PHP Notice: Undefined offset: 1 in /var/www/nextcloud/apps/richdocum> [Wed May 04 22:00:27.687616 2022] [php7:notice] [pid 71298] [client 192.168.1.13:50756] PHP Notice: Undefined index: Content-Type in /var/www/nextcloud/apps> [Wed May 04 22:00:27.687669 2022] [php7:notice] [pid 71298] [client 192.168.1.13:50756] PHP Notice: Undefined offset: 1 in /var/www/nextcloud/apps/richdocum> Security: coolforkit incorrect user-name, other than 'cool' Init vcl preload: merged ucpchelp1 msforms vbaobj pcr vbaswobj sw animcore hwp chartcore solver sc wpftcalc ucpcmis1 wpftdraw sd svgfilter graphicfilter wpftimpress s> Disabled: ucpftp1 rptxml dbu rptui rpt mork odbc sdbc2 cmdmail PresenterScreen abp dbp Allowlisted languages: de_DE el en_GB en_US es_ES fr_FR hu it nl pt_BR pt_PT ru Preloading dictionaries: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES Preloading thesauri: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES Preload icons Preload languages Preload fonts Preload config Ready to accept connections on port 9983. 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. No errors.

The problem is php beyond 8 is not officially supported yet.

PHP version (eg, 7.4): php 8.1.5 (cli)

You can install an earlier version up to 8.0 and switch to that.
Search the forum for other examples.