Hello everybody,
Just reporting a regression with libsmbclient 4.17.5, php-smbclient-1.0.6-1.el8.remi.8.1.x86_64 and nextcloud 25.0.3.2
I have not found the cause nor the solution, but for other users I am reporting a workaround here:
[root@nextcloud01 ~]# yum downgrade libsmbclient-4.17.2-2.el8.x86_64 [root@nextcloud01 ~]# systemctl restart php-fpm.service
Kind regards,
Jelle de Jong
Error PHP Error: Undefined array key 1 at /var/www/html/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#46 at lib/private/Log/ErrorHandler.php line 92 2023-02-11T16:09:01+01:00
0. apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php line 46
OC\Log\ErrorHandler::onError(
)
1. apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php line 69
Icewind\SMB\Native\NativeFileInfo->stat(
)
2. apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php line 114
Icewind\SMB\Native\NativeFileInfo->getSize(
)
3. apps/files_external/lib/Lib/Storage/SMB.php line 191
Icewind\SMB\Native\NativeShare->stat(
)
4. apps/files_external/lib/Lib/Storage/SMB.php line 348
OCA\Files_External\Lib\Storage\SMB->getFileInfo(
)
5. lib/private/Files/Storage/Common.php line 462
OCA\Files_External\Lib\Storage\SMB->stat(
)
6. apps/files_external/lib/Lib/Storage/SMB.php line 729
OC\Files\Storage\Common->test(
)
7. apps/files_external/lib/MountConfig.php line 131
OCA\Files_External\Lib\Storage\SMB->test(
)
8. apps/files_external/lib/Controller/StoragesController.php line 288
OCA\Files_External\MountConfig::getBackendStatus("*** sensitive parameters replaced ***")
9. apps/files_external/lib/Controller/UserGlobalStoragesController.php line 126
OCA\Files_External\Controller\StoragesController->updateStorageStatus("*** sensitive parameters replaced ***")
10. lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\Files_External\Controller\UserGlobalStoragesController->show(
)
11. lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController(
)
12. lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(
)
13. lib/private/Route/Router.php line 298
OC\AppFramework\App::main(
)
14. lib/base.php line 1047
OC\Route\Router->match(
)
15. index.php line 36
OC::handleRequest(
)