Updated to Version 22.2.3 today. After completing the update my external storage devices no longer connect.
This happened straight after upgrading from the previous version and seems to relate to “Icewind”.
I have manged to fix this before by replacing the “icewind” folder from Version 22.0, however no such luck this time.
Exception: Class 'Icewind\SMB\BasicAuth' not found
/config/www/nextcloud/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()
/config/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/config/www/nextcloud/lib/base.php - line 1006:
OC\Route\Router->match()
/config/www/nextcloud/index.php - line 36:
OC::handleRequest()
Caused by Error: Class 'Icewind\SMB\BasicAuth' not found
/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 250:
OCA\Files_External\Lib\Backend\SMB->manipulateStorageConfig()
/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 264:
OCA\Files_External\Controller\StoragesController->manipulateStorageConfig()
/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 346:
OCA\Files_External\Controller\StoragesController->updateStorageStatus("*** sensiti ... *")
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\Files_External\Controller\StoragesController->show()
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\AppFramework\Http\Dispatcher->executeController()
/config/www/nextcloud/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()
/config/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/config/www/nextcloud/lib/base.php - line 1006:
OC\Route\Router->match()
/config/www/nextcloud/index.php - line 36:
OC::handleRequest()
The output of your Nextcloud log in Admin > Logging:
{"reqId":"l3QUutckO0Hg4d2eIqcE","level":3,"time":"2021-12-05T19:06:02+00:00","remoteAddr":"172.18.0.5","user":"admin","app":"index","method":"GET","url":"/apps/files_external/globalstorages/11?testOnly=true","message":"Class 'Icewind\\SMB\\BasicAuth' not found","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","version":"22.2.3.0","exception":{"Exception":"Exception","Message":"Class 'Icewind\\SMB\\BasicAuth' not found","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":158,"Previous":{"Exception":"Error","Message":"Class 'Icewind\\SMB\\BasicAuth' not found","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":250,"function":"manipulateStorageConfig","class":"OCA\\Files_External\\Lib\\Backend\\SMB","type":"->"},{"file":"/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":264,"function":"manipulateStorageConfig","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->"},{"file":"/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":346,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/files_external/lib/Lib/Backend/SMB.php","Line":79},"CustomMessage":"--"},"id":"61ad0d9feb837"}