{"reqId":"XtUXlfxRFTGLuT6-G7B1rwAAAAE","level":3,"time":"June 01, 2020 14:58:29","remoteAddr":"192.168.178.21","user":"admin","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/files/ajax/getstoragestats.php?dir=%2Fmusic","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"Lr55lgSPdBSiJNKYO63P","level":3,"time":"June 01, 2020 15:00:01","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"--","version":"18.0.4.2"}
{"reqId":"Lr55lgSPdBSiJNKYO63P","level":3,"time":"June 01, 2020 15:00:01","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"--","version":"18.0.4.2"}
{"reqId":"Lr55lgSPdBSiJNKYO63P","level":3,"time":"June 01, 2020 15:00:01","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"--","version":"18.0.4.2"}
{"reqId":"Lr55lgSPdBSiJNKYO63P","level":3,"time":"June 01, 2020 15:00:01","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"--","version":"18.0.4.2"}
{"reqId":"Lr55lgSPdBSiJNKYO63P","level":3,"time":"June 01, 2020 15:00:01","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Uninitialized string offset: 0 at /var/www/localhost/htdocs/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144","userAgent":"--","version":"18.0.4.2"}
Steps to reproduce
show_hidden: trueletfiles:scansucceedExpected behaviour
Find some files without throwing any exceptions
Actual behaviour
Scan all the local files / folders without any issues.
Start scanning the external SMB storage throws an exception
Server configuration
Operating system:
Linux vm-gentoo-homeserver 5.4.38-gentoo #3 SMP Wed May 27 20:26:06 CEST 2020 x86_64 Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz GenuineIntel GNU/Linux
Web server:
$ apache2 -v
Server version: Apache/2.4.41 (Unix)
Server built: May 28 2020 09:05:10
Database:
$ mysql --version
mysql Ver 15.1 Distrib 10.4.12-MariaDB, for Linux (x86_64) using readline 8.0
PHP version:
$ php-fpm --version
PHP 7.4.6 (fpm-fcgi) (built: May 28 2020 16:43:47)
Nextcloud version: (see Nextcloud admin page)
18.0.4 patched with #20622 (comment)
Updated from an older Nextcloud/ownCloud or fresh install:
fresh install
Where did you install Nextcloud from:
portage tree
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: smb
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser:
Firefox 76.0.1
Operating system:
$ uname -a
Linux lxlaptop 5.4.38-gentoo #4 SMP Fri May 15 23:37:30 CEST 2020 x86_64 Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz GenuineIntel GNU/Linux
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log