Stat(): stat failed for .... local storage

Hi,

I was setting up a new nextcloud installation with the following details:

nextcloud 15.0.2
CentOS 7
Apache/2.4.6
PHP 7.2.14

After trying to add a local storage wich is a samba mount under /media/storage/ everythings seems to be working. The green circle appears.
But trying to access the folder(s) it sends me back to my home folder.

The error from nextcloud is:

stat(): stat failed for /media/storage/Videos/ at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#142

In the nextcloud.log file it states:

message":"stat(): stat failed for \/media\/storage\/Videos\/ at \/var\/www\/html\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#142","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.109 Safari\/537.36","version":"15.0.2.0"}

I couldn’t find anything that helped me get rid of this problem.

Any clues?

regards
nightmare1942

Edit: Updated to 15.0.4 --> still the same!

Seeing the same issue, if anyone figured this out I’d love to hear the solution.

@drobo and @nightmare1942 did you found a workaround or solution?

[PHP] Error: stat(): stat failed for /mnt/download/ at /snap/nextcloud/21034/htdocs/lib/private/Files/Storage/Local.php#144

GET /index.php/apps/files_external/globalstorages/1?testOnly=true
from xxxx by admin at 2020-05-31T09:11:34+00:00 

I use https://github.com/nextcloud/nextcloud-snap and RPI 64bit Ubuntu

and did

sudo snap connect nextcloud:removable-media