I’m on 20.0.9 have the same issue, but I had the same issue on 20.0.8, But I can’t even download anything or sync anthing with the desktop client from the SMB folder… When will this fix put in to the next nextcloud update? I’m patient, mostly because I don’t want to mess with my Nextcloud instance.
{“reqId”:“XTCCry09uBh1dgaCOGxA”,“level”:3,“time”:“2021-05-12T15:02:59+00:00”,“remoteAddr”:“192.168.1.1”,“user”:"",“app”:“no app in context”,“method”:“GET”,“url”:"/nextcloud/apps/files_external/globalstorages/1?testOnly=true",“message”:{“Exception”:“Icewind\SMB\Exception\ForbiddenException”,“Message”:“Invalid request for / (ForbiddenException)”,“Code”:1,“Trace”:[{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:67,“function”:“fromMap”,“class”:“Icewind\SMB\Exception\Exception”,“type”:"::"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:84,“function”:“handleError”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:339,“function”:“testResult”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",“line”:305,“function”:“getxattr”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",“line”:43,“function”:“getAttribute”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",“line”:69,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",“line”:114,“function”:“getSize”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:193,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:345,“function”:“getFileInfo”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/lib/private/Files/Storage/Common.php",“line”:458,“function”:“stat”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:722,“function”:“test”,“class”:“OC\Files\Storage\Common”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/MountConfig.php",“line”:264,“function”:“test”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:274,“function”:“getBackendStatus”,“class”:“OCA\Files_External\MountConfig”,“type”:"::",“args”:["*** sensitive parameters replaced "]},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:346,“function”:“updateStorageStatus”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:169,“function”:“show”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:100,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/App.php",“line”:152,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/Route/Router.php",“line”:309,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/html/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/html/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php",“Line”:44,“CustomMessage”:“Error while getting file info”},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56”,“version”:“20.0.9.1”,“id”:“609bee2e2b702”}
[no app in context] Warning: External storage not available: Storage unauthorized. Invalid request for / (ForbiddenException)
GET /nextcloud/apps/files_external/globalstorages/1?testOnly=true
from ... by ** at 2021-05-12T15:02:59+00:00
{“reqId”:“XTCCry09uBh1dgaCOGxA”,“level”:2,“time”:“2021-05-12T15:02:59+00:00”,“remoteAddr”:"...",“user”:"",“app”:“no app in context”,“method”:“GET”,“url”:"/nextcloud/apps/files_external/globalstorages/1?testOnly=true",“message”:{“Exception”:“OCP\Files\StorageAuthException”,“Message”:“Storage unauthorized. Invalid request for / (ForbiddenException)”,“Code”:4,“Trace”:[{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:202,“function”:“throwUnavailable”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:345,“function”:“getFileInfo”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/lib/private/Files/Storage/Common.php",“line”:458,“function”:“stat”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:722,“function”:“test”,“class”:“OC\Files\Storage\Common”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/MountConfig.php",“line”:264,“function”:“test”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:274,“function”:“getBackendStatus”,“class”:“OCA\Files_External\MountConfig”,“type”:"::",“args”:["* sensitive parameters replaced "]},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:346,“function”:“updateStorageStatus”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:169,“function”:“show”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:100,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/App.php",“line”:152,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/Route/Router.php",“line”:309,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/html/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/html/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“Line”:214,“Hint”:“Storage is temporarily not available”,“Previous”:{“Exception”:“Icewind\SMB\Exception\ForbiddenException”,“Message”:“Invalid request for / (ForbiddenException)”,“Code”:1,“Trace”:[{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:67,“function”:“fromMap”,“class”:“Icewind\SMB\Exception\Exception”,“type”:"::"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:84,“function”:“handleError”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:339,“function”:“testResult”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",“line”:305,“function”:“getxattr”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",“line”:43,“function”:“getAttribute”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",“line”:69,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",“line”:114,“function”:“getSize”,“class”:“Icewind\SMB\Native\NativeFileInfo”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:193,“function”:“stat”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:345,“function”:“getFileInfo”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/lib/private/Files/Storage/Common.php",“line”:458,“function”:“stat”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php",“line”:722,“function”:“test”,“class”:“OC\Files\Storage\Common”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/MountConfig.php",“line”:264,“function”:“test”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->"},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:274,“function”:“getBackendStatus”,“class”:“OCA\Files_External\MountConfig”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/html/apps/files_external/lib/Controller/StoragesController.php",“line”:346,“function”:“updateStorageStatus”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:169,“function”:“show”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",“line”:100,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/AppFramework/App.php",“line”:152,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/lib/private/Route/Router.php",“line”:309,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/html/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/html/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php",“Line”:44},“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56”,“version”:“20.0.9.1”,“id”:“609bee2e2b516”}