Including External Storage failed -> protocol: php error - filesize() & stat() -

Hi, i tried to set up ncp on a raspberry pi via docker. Everything from the last sentence, except trying, is new to me :man_student:, but i managed to get it running (at least the ncp). Details are at the bottom.

My problem start when i try to add my external storage (Raid 1 - USB Drive). This is what the protocol hints at me:

[PHP] Error: filesize(): stat failed for /mnt/unityMnt/ at /data/nextcloud/lib/private/LargeFileHelper.php#172

PUT /index.php/apps/files_external/globalstorages/5
from 192.168.178.49 by ncp at 2020-06-28T22:04:43+02:00
[PHP] Error: stat(): stat failed for /mnt/unityMnt/ at /data/nextcloud/lib/private/Files/Storage/Local.php#144

PUT /index.php/apps/files_external/globalstorages/5
from 192.168.178.49 by ncp at 2020-06-28T22:04:43+02:00
{"reqId":"Xvj@1dAWcJDJTnRPBVDl-QAAQhY","level":3,"time":"2020-06-28T22:34:30+02:00","remoteAddr":"192.168.178.49","user":"ncp","app":"PHP","method":"GET","url":"/index.php/apps/files_external/globalstorages/7?testOnly=true","message":"filesize(): stat failed for /mnt/unityMnt/ at /data/nextcloud/lib/private/LargeFileHelper.php#172","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.3.0","id":"5ef901f9cbd48"}

{"reqId":"Xvj@1dAWcJDJTnRPBVDl-QAAQhY","level":3,"time":"2020-06-28T22:34:30+02:00","remoteAddr":"192.168.178.49","user":"ncp","app":"PHP","method":"GET","url":"/index.php/apps/files_external/globalstorages/7?testOnly=true","message":"stat(): stat failed for /mnt/unityMnt/ at /data/nextcloud/lib/private/Files/Storage/Local.php#144","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.3.0","id":"5ef901f9cbdac"}

These are the installation details:

Nextcloud itself is up and running (on the SD). It is a bit slower than expected, but still fine.

I tried different syntax to add the external storage:

I searched through the forum and tried one or two things, i wasn’t successfull yet. Maybe someone has another hint at what to do.

Thanks in advance :slight_smile:

I kind of fixed it myself.
One of the problems was, that the storage wasn’t visible inside the docker container and should have been configured into fuse.
The other problem, was that the file system was not readable by ncp. Changing it to Btrfs helped.