Nextcloud external SMB Share not working after update

nextcloud

#1

Hi,

i update nextcloud app 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.


#2

I install a fresh univention test host and add the nextcloud app, same problem.
I think it is a general problem in the newest ucs nextcloud docker app or ucs.


#3

is there a place i can submit bugs in univention software?


#4

You can submit bug reports regarding UCS in the Univention Bugzilla. Bugs regarding the Nextcloud app you should submit here..

But I can access Samba shares with Nextcloud 15 on UCS. So I don’t think that it’s a bug. You should post your configuration. Maybe there is an error.


#5

I do a fresh ucs install on my proxmox server.
I install the nextcloud app from app center.
I install all updates on ucs.
I log into nextcloud with admin user and install smb_connection_test app.
I test the connection to smb server with the following result:

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:

I look on my mikrotik switch, i cant see a connection from my ucs host to smb host.
On my smb server i did not see any request from ucs host in log files.