Steps to reproduce
- Add external storage with type Amazon S3 based on DigitalOcean (DO) Spaces service
- Upload any files and folders to DO space using s3cmd utulity
- Rescan files using “occ files:scan admin”
Expected behaviour
You will receive an error message:
Folder /admin/files/S3-globalmap/
File /admin/files/S3-globalmap/files
Exception during scan: ErrorException: Undefined index: size
#0 /var/www/owncloud/lib/private/Files/Cache/Scanner.php(420): OCA\Files\Command\Scan->exceptionErrorHandler(8, 'Undefined index...', '/var/www/ownclo...', 420, Array)
But! The “/admin/files/S3-globalmap/files” - is a FOLDER!
Actual behaviour
Probably owncloud should scan directories somehow other than files
Server configuration
Operating system:
Distributor ID: Debian
Description: Debian GNU/Linux 8.10 (jessie)
Release: 8.10
Codename: jessie
Web server:
apache2 v2.4.10
Database:
postgresql v9.4
PHP version:
php v7.0.29
ownCloud version: (see ownCloud admin page)
ownCloud v10.0.7 (stable)
UPD. The most important! The task is such that S3 already has files, and owncloud can find them!