Shared folders can't see files; can only download

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04): NextCloudPi v1.52.2
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:
Public share links are no longer displaying the folder contents; instead, the pages load to an empty screen with the directory name and a button to download all files.

Prior to updating the server over the last couple days (from NextCloud 24 to 25 to 26), the public share link displayed all the files within the folder, but now that’s stopped.

Is this the first time you’ve seen this error? (Y/N): Y (started after upgrade to NC 26

Steps to replicate it:

  1. Have a public share link created for a folder
  2. Update server from 24 to 25 to 26
  3. Try opening the share link. Folder contents are not visible

The output of your Nextcloud log in Admin > Logging:

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

Damn it, should’ve tried this first.

Cleared OP cache