External Storage not there

Nextcloud version 12.0.3
Operating system and version RHEL 7.4
Apache or nginx version Apache apache 2.4.27
PHP version 7.1
Is this the first time you’ve seen this error?: yes

Can you reliably replicate it?: yes

The issue you are facing:

I crate an external storage of type local. This is not useable.


  • Create an external storage of type “local”, referring to a local directory. (which is in fact an SMB mount). Folder is named “media”
  • Log in as a user:
    Expected behavior: The folder “media” is visible in the home screne.
    Actual behavior: The folder “media” is not visible
  • Click on “external storage”
  • Click on "media"
    Expected behavior: The contents of the media folder appear
    Actual behavior: Web page reloads, an the main home screen appears.

There are no entries in the log file that appear to have anything to do with this issue.

Apache (and php-fpm) run as the user “apache”. I tested that this user can read this directory by doing a “sudo -u apache ls /data/media” and this appears to work, so there are no access issues.

What is going on here? Basically this just fails silently, which is rather hard to debug…