"No files in here" in web UI

Some time recently my Nextcloud web UI has stopped showing files. All of my files are there, I can access them through the Windows and Android app, and the “Photos” tab in the web UI shows all of my images, but if I go to “All files” it just shows “No files in here”.

I am running Nextcloud docker image from lscr.io and no configuration that is out of the ordinary. I have never had this problem until recently. There is nothing in the docker image nginx error log and nothing in the docker console of use. I am not running any unsupported apps.

Interestingly I get this error in Chrome console, I wonder if it’s related:

Those last couple errors (the 500s) indicate something quite wrong. Check your nextcloud.log for details.

Hi, I didn’t know of this log originally, because it’s on the data volume rather than the appdata volume, but I found this:

{“reqId”:“2sSURYcmqiYuqaZWgVlk”,“level”:3,“time”:“2024-03-24T21:41:23+00:00”,“remoteAddr”:“10.1.121.42”,“user”:“myusername”,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/remote.php/dav/files/myusername/”,“message”:“Invalid request for /alex/Readme.md (ForbiddenException)”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36”,“version”:“28.0.3.2”,“exception”:{“Exception”:“OCP\Files\ForbiddenException”,“Message”:“Invalid request for /alex/Readme.md (ForbiddenException)”,“Code”:0,“Trace”:[{“file”:“/config/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php”,“line”:697,“function”:“getFileInfo”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Storage/Wrapper/Wrapper.php”,“line”:224,“function”:“file_exists”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/View.php”,“line”:1330,“function”:“file_exists”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/View.php”,“line”:1374,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Root.php”,“line”:203,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Folder.php”,“line”:135,“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Folder.php”,“line”:144,“function”:“get”,“class”:“OC\Files\Node\Folder”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/text/lib/Service/WorkspaceService.php”,“line”:26,“function”:“nodeExists”,“class”:“OC\Files\Node\Folder”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/text/lib/DAV/WorkspacePlugin.php”,“line”:110,“function”:“getFile”,“class”:“OCA\Text\Service\WorkspaceService”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“propFind”,“class”:“OCA\Text\DAV\WorkspacePlugin”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1052,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:984,“function”:“getPropertiesByNode”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1662,“function”:“getPropertiesIteratorForPath”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1647,“function”:“writeMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:346,“function”:“generateMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPropFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/lib/Server.php”,“line”:373,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/remote.php”,“line”:172,“args”:[“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/config/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php”,“Line”:215,“Previous”:{“Exception”:“Icewind\SMB\Exception\ForbiddenException”,“Message”:“Invalid request for /alex/Readme.md (ForbiddenException)”,“Code”:13,“Trace”:[{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php”,“line”:75,“function”:“fromMap”,“class”:“Icewind\SMB\Exception\Exception”,“type”:“::”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php”,“line”:92,“function”:“handleError”,“class”:“Icewind\SMB\Native\NativeState”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php”,“line”:351,“function”:“testResult”,“class”:“Icewind\SMB\Native\NativeState”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php”,“line”:305,“function”:“getxattr”,“class”:“Icewind\SMB\Native\NativeState”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php”,“line”:43,“function”:“getAttribute”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php”,“line”:69,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php”,“line”:114,“function”:“getSize”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php”,“line”:201,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php”,“line”:697,“function”:“getFileInfo”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Storage/Wrapper/Wrapper.php”,“line”:224,“function”:“file_exists”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/View.php”,“line”:1330,“function”:“file_exists”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/View.php”,“line”:1374,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Root.php”,“line”:203,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Folder.php”,“line”:135,“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:“->”},{“file”:“/app/www/public/lib/private/Files/Node/Folder.php”,“line”:144,“function”:“get”,“class”:“OC\Files\Node\Folder”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/text/lib/Service/WorkspaceService.php”,“line”:26,“function”:“nodeExists”,“class”:“OC\Files\Node\Folder”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/text/lib/DAV/WorkspacePlugin.php”,“line”:110,“function”:“getFile”,“class”:“OCA\Text\Service\WorkspaceService”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“propFind”,“class”:“OCA\Text\DAV\WorkspacePlugin”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1052,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:984,“function”:“getPropertiesByNode”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1662,“function”:“getPropertiesIteratorForPath”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1647,“function”:“writeMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:346,“function”:“generateMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPropFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/lib/Server.php”,“line”:373,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/remote.php”,“line”:172,“args”:[“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php”,“Line”:44},“message”:“Invalid request for /alex/Readme.md (ForbiddenException)”,“exception”:{},“CustomMessage”:“Invalid request for /alex/Readme.md (ForbiddenException)”}}

the directory /alex is an External Storage and apparently was not working. I removed it and now the file list is working…

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.