Files not visible in "Apps" after updating to v24.0.7

Since I upgraded to 24.07 files are no longer visible in the browser. Allthough on the dasboard the app “important files” is working as expected and files there can be opened and viewed. Also synchronization with my clients operates normaly. It seems only the app “Files” isn’t working.

Nothing has changed in my configuration

Did somebody has the same experience?

Server configuration detail

Operating system: Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64

Webserver: Apache/2.4.41 (Ubuntu) (apache2handler)

Database: mysql 8.0.31

PHP version: 8.0.25

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 24.0.7 - 24.0.7.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array ( )

List of activated apps
Enabled:
 - accessibility: 1.10.0
 - activity: 2.16.0
 - analytics: 4.5.0
 - announcementcenter: 6.3.1
 - bruteforcesettings: 2.4.0
 - calendar: 3.5.2
 - circles: 24.0.1
 - cloud_federation_api: 1.7.0
 - comments: 1.14.0
 - contacts: 4.2.2
 - contactsinteraction: 1.5.0
 - dashboard: 7.4.0
 - dav: 1.22.0
 - deck: 1.7.2
 - event_update_notification: 2.0.0
 - federatedfilesharing: 1.14.0
 - federation: 1.14.0
 - files: 1.19.0
 - files_downloadactivity: 1.15.0
 - files_mindmap: 0.0.26
 - files_pdfviewer: 2.5.0
 - files_rightclick: 1.3.0
 - files_sharing: 1.16.2
 - files_trashbin: 1.14.0
 - files_versions: 1.17.0
 - files_videoplayer: 1.13.0
 - firstrunwizard: 2.13.0
 - groupfolders: 12.0.2
 - keeweb: 0.6.10
 - logreader: 2.9.0
 - lookup_server_connector: 1.12.0
 - mail: 1.14.2
 - maps: 0.2.1
 - nextcloud_announcements: 1.13.0
 - notes: 4.5.1
 - notifications: 2.12.1
 - oauth2: 1.12.0
 - password_policy: 1.14.0
 - photos: 1.6.0
 - polls: 3.8.3
 - privacy: 1.8.0
 - provisioning_api: 1.14.0
 - qownnotesapi: 22.10.0
 - recommendations: 1.3.0
 - richdocuments: 6.3.1
 - richdocumentscode: 22.5.702
 - serverinfo: 1.14.0
 - settings: 1.6.0
 - sharebymail: 1.14.0
 - spreed: 14.0.6
 - support: 1.7.0
 - survey_client: 1.12.0
 - systemtags: 1.14.0
 - tasks: 0.14.5
 - text: 3.5.1
 - theming: 1.15.0
 - twofactor_backupcodes: 1.13.0
 - twofactor_totp: 6.4.1
 - unsplash: 2.0.1
 - updatenotification: 1.14.0
 - user_status: 1.4.0
 - viewer: 1.8.0
 - weather_status: 1.4.0
 - workflowengine: 2.6.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - files_fulltextsearch: 24.0.1
 - fulltextsearch: 24.0.0
 - integration_mattermost: 1.0.0
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "nextcloud.xloof.nl"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": "auto,10",
    "dbtype": "mysql",
    "version": "24.0.7.1",
    "overwrite.cli.url": "https:\/\/nextcloud.xloof.nl",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "theme": "",
    "loglevel": 1,
    "maintenance": false,
    "default_phone_region": 31,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtpport": "587",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "tls",
    "updater.release.channel": "stable",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1667804102 )

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database

Talk configuration:

STUN servers

TURN servers

  • no custom server configured

Signaling servers (mode: default):

  • no custom server configured

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

1 Like

have you tried

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

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#file-operations-label

1 Like

Now I have, but it didn’t help :frowning:

All folder rights are well for your www user?
Ownership / rights in nextcloud data folder?

Have you tried to clear your browser cache and reload your nextcloud with fresh data?

Is File_Accesscontrol App installed and hinder maybe any file access?

1 Like

Yes, all folders and files are owned by www-dara
I have tried different browsers.
Nextcloud’s behaviour is normal on all tasks on files.

The problem is not in the files, I think. On the dashboard I have the app “recommended files”, which is functioning nomally. Only the app “files” doesn’t seem to work.

I’m not sure if it is possible to re-install the files app by command

sudo -u www-data php /var/www/nextcloud/occ app:install --force files

but you can try this as well.

1 Like

What kind of files are missing? All files? Files shared by you? Files shared by others? Etc.

1 Like

I can’t see any file in the browser GUI. There isn’t an error message in the logfiles, nor in Nextcloud, nor in Apache. All files are accessible, also by my desktop clients. They just doesn’t appear in the gui.

Server configuration detail

Operating system: Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64

Webserver: Apache/2.4.41 (Ubuntu) (apache2handler)

Database: mysql 8.0.31

PHP version: 8.0.25

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 24.0.7 - 24.0.7.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array ( )

List of activated apps
Enabled:
 - accessibility: 1.10.0
 - activity: 2.16.0
 - analytics: 4.5.0
 - announcementcenter: 6.3.1
 - bruteforcesettings: 2.4.0
 - calendar: 3.5.2
 - circles: 24.0.1
 - cloud_federation_api: 1.7.0
 - comments: 1.14.0
 - contacts: 4.2.2
 - contactsinteraction: 1.5.0
 - dashboard: 7.4.0
 - dav: 1.22.0
 - deck: 1.7.2
 - event_update_notification: 2.0.0
 - federatedfilesharing: 1.14.0
 - federation: 1.14.0
 - files: 1.19.0
 - files_downloadactivity: 1.15.0
 - files_mindmap: 0.0.26
 - files_pdfviewer: 2.5.0
 - files_rightclick: 1.3.0
 - files_sharing: 1.16.2
 - files_trashbin: 1.14.0
 - files_versions: 1.17.0
 - files_videoplayer: 1.13.0
 - firstrunwizard: 2.13.0
 - groupfolders: 12.0.2
 - keeweb: 0.6.10
 - logreader: 2.9.0
 - lookup_server_connector: 1.12.0
 - mail: 1.14.2
 - maps: 0.2.1
 - nextcloud_announcements: 1.13.0
 - notes: 4.5.1
 - notifications: 2.12.1
 - oauth2: 1.12.0
 - password_policy: 1.14.0
 - photos: 1.6.0
 - polls: 3.8.3
 - privacy: 1.8.0
 - provisioning_api: 1.14.0
 - qownnotesapi: 22.10.0
 - recommendations: 1.3.0
 - richdocuments: 6.3.1
 - richdocumentscode: 22.5.702
 - serverinfo: 1.14.0
 - settings: 1.6.0
 - sharebymail: 1.14.0
 - spreed: 14.0.6
 - support: 1.7.0
 - survey_client: 1.12.0
 - systemtags: 1.14.0
 - tasks: 0.14.5
 - text: 3.5.1
 - theming: 1.15.0
 - twofactor_backupcodes: 1.13.0
 - twofactor_totp: 6.4.1
 - unsplash: 2.0.1
 - updatenotification: 1.14.0
 - user_status: 1.4.0
 - viewer: 1.8.0
 - weather_status: 1.4.0
 - workflowengine: 2.6.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - files_fulltextsearch: 24.0.1
 - fulltextsearch: 24.0.0
 - integration_mattermost: 1.0.0
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "nextcloud.xloof.nl"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": "auto,10",
    "dbtype": "mysql",
    "version": "24.0.7.1",
    "overwrite.cli.url": "https:\/\/nextcloud.xloof.nl",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "theme": "",
    "loglevel": 1,
    "maintenance": false,
    "default_phone_region": 31,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtpport": "587",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "tls",
    "updater.release.channel": "stable",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1667804102 )

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database

Talk configuration:

STUN servers

TURN servers

  • no custom server configured

Signaling servers (mode: default):

  • no custom server configured

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

1 Like

This might be a stupid idea but can you check how the files are mapped in nextcloud. Please include screens, anything that might contain a clue or gives more insight into where it might go wrong.
Your files might be mapped in “external storage”
I see in your report
" External storages: files_external is disabled"

That’s an important hint. So your files are actually ok, accessible, indexed correctly, and it is just the gui backend. What version did your update from, also a NC 24? Or NC 23?
If you use specific themes, I’d try to disable them and check if there is something not compatible with the new version. Or if you use browse plugins that block content (anti-virus, ad-blocker…). Some apps also change the behaviour of the interface (e.g. files_rightclick), there is perhaps something not working well together.

1 Like

I updated from 24.06. and stayed on php 8.0. I just upgraded to PHP 8.1, but that too didn’t solve my problem. I tried to disable file associated apps, but no success.
I think I have to wait for another update…

1 Like

After the update to 24.0.7 I can’t see the files and folders in my “shared folder” anymore. They are still visible in the Android app and my desktop app in Windows. But some of my users are able to see the content in their “shared folder” - maybe the problems are related?

The usual scans occ files:scan --all, occ files:scan-app-data and occ maintenance:repair didn’t help and the folders and files are “missing” in a ‘clean browser enviroment’ too.

1 Like

occ files:scan-app-data was the solution for me! Thanks @fenvarien!
The files are visible again in my browser.

1 Like

That’s great! :+1:
Sadly it didn’t work for my specific problem, the files and folders in my “shared folder” are still not shown. I’m sure, it’s related to this: [Bug]: Missing shared files/directory in shared folder · Issue #34976 · nextcloud/server · GitHub

I might have a similar problem but occ files:scan-app-data didn’t help.
May be it’s. a different problem, as I can only see my favorite files (browser as well as in the app), when I try to access my files via the files tab, it simply blank.
BTW: it only happens to me. As admin, I can see my admin-files normally
Any ideas?
Would be really grateful…

Then, the symptoms might be a bit similar.

Please open a new topic and give more details about your setup (NC version etc.) and what you can find in the logfiles when you access the file app.

Thanks for your help, but i deleted my user an created a new one. If it happens again, I will open a new topic and provide more details.