Can no longer view files in External Storage mounted as / in the Files web app

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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:

example

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

longer
example
here

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): 24
Operating system and version (eg, Ubuntu 20.04): 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): PHP 7.4

The issue you are facing:
I cannot view files in my external storage from the files app when I have mounted an external drive as root for my user. I can only view the files from the Android app.

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

Steps to replicate it:

  1. Updated to Nextcloud 24
  2. Open the Dashboard and navigate to files
  3. I can only see some other shared external storage devices that I have mounted outside of root. The root mounted external storage drive does not show any files whatsoever. It only does from the Android app with no issues whatsoever.

The output of your Nextcloud log in Admin > Logging:

https://wormhole.app/zX80W#BJVqAiDI_wn4Kja53-4NMQ

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

<?php
$CONFIG = array (
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' => 
  array (
    0 => 'REDACTED',
    1 => 'REDACTED',
    2 => 'REDACTED',
    3 => 'REDACTED',
  ),
  'overwrite.cli.url' => 'REDACTED',
  'htaccess.RewriteBase' => 'REDACTED',
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '24.0.0.12',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'instanceid' => 'ocdk7au5kyza',
  'mysql.utf8mb4' => true,
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'breezedark',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/run/redis/redis-server.sock',
    'port' => 0,
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => 'REDACTED',
);

The output of your Apache/nginx/system log in /var/log/____:

There's a lot of PII here, if anybody needs it I'll go through the effort of cleaning it up.

I can manually access the files by directly inserting the directory name in the address bar, and they are still there as can be seen on the Android app, they just seem to be invisible in the files app.

Can’t post any images for some reason, but all files are viewable normally on Android, but not on the Files app.

It’s also exclusively the Files app that does not show the missing files. Photos works fine and so does everything else.

Hello, the issue was already reported here: [Bug]: files app bugs out when setting an external storage as root storage · Issue #32367 · nextcloud/server · GitHub
Please upvote it!

1 Like