Nextcloud external SMB Share not working after update

Hi,

i update nextcloud from 13 to 15,
after the update, the external smb shares did not working.
I can access the smb share from another host with no problem.

there’s this app smb_connection_test which might help you with the setup.
maybe you’d need to re-enter all information for a correct setup again and this will do the trick.

i use the test app and get the following error:

  scan

Result
Using backend: php-smbclient

Error while loading share content.

Icewind\SMB\Exception\ConnectionRefusedException:
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 61:

Icewind\SMB\Exception\Exception::fromMap({ 1: "Icewin … "}, 111, null)

/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 73:

Icewind\SMB\Native\NativeState->handleError(null)

/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 102:

Icewind\SMB\Native\NativeState->testResult(false, “smb:///”)

/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php - line 92:

Icewind\SMB\Native\NativeState->opendir(“smb:///”)

/var/www/html/apps/smb_test/lib/Controller/SmbController.php - line 95:

Icewind\SMB\Native\NativeShare->dir(null)

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 166:

OCA\SMBTest\Controller\SmbController->dir(null, null, null, null, Icewind\SMB\ … {}, null)

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\SMBTest\ … {}, “dir”)

/var/www/html/lib/private/AppFramework/App.php - line 118:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\SMBTest\ … {}, “dir”)

/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main(“OCA\SMBTes … r”, “dir”, OC\AppFramew … {}, { _route: “smb_test.smb.dir”})

OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: “smb_test.smb.dir”})

/var/www/html/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew … {}, { _route: “smb_test.smb.dir”})

/var/www/html/lib/base.php - line 987:

OC\Route\Router->match("/apps/smb_test/dir")

/var/www/html/index.php - line 42:

a few more questions…
did you update directly from 13 to 15 and skipping 14?
pls post some more informations about your server, setup and environment.
and what about logs. is there any error in nextcloud.log?

i use univention server, it is ubuntu based. The Nextcloud is in docker container.
I update from 13 to 14 to 15 via univention update mechanism.

I look on my switch and i see there are no packages from my nextcloud server to my smb server.
In the case i use the smb etst app from nextcloud.

I think the external files app or a related database entry is the problem.

I use Nextcloud 15.0.8

i point an external nfs share to nextcloud/data directory of my freenas server, mounted via systemd-automount.

is there any tip or something, i need smb integration …

maybe you wanna try help.univention.com - forum? and if there’s a helping answer it would be nice to link it here as well