SMB External Storage not showing files

smb
external_storage
9.1.x

#1

I just launched a new ownCloud VM instance after downloading the OVA. It is running in a VMware VM (v12) with the SMB share on the same Windows 10 host machine. The has roughly 6TB of files in the SMB Windows share.

Steps to reproduce
1. Share Windows drive
2. Install External Storage add-on
3. Create SMB share External Storage with the correct SMB credentials

Expected behaviour
All the files show up in the ownCloud webUI and OS client.

Actual behaviour
The SMB share is empty and does not show any files.

Server configuration
Operating system: Windows 10 running VMware VM, Default from OVA - Ubuntu
Web server: Default from OVA
Database: Default from OVA
PHP version: Default from OVA
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: Fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): External Storage

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

empty

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.

#2

Hi,

with such a huge amout of files it can take some time for ownCloud to get the files showing up (especially if you're using the default AJAX background job option). There are also some additional steps to check:

  1. Is https://github.com/eduardok/libsmbclient-php installed and enabled?
  2. All points listed at https://doc.owncloud.org/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html#detecting-files-added-to-external-storages

#3

Thanks for the links, will give it a read through and report back.