Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make timeout a optional parameter #17873

Merged
merged 1 commit into from
Nov 13, 2019
Merged

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Nov 9, 2019

Fix #17846

otherwise you cannot create a new smb storage via gui

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb added this to the Nextcloud 18 milestone Nov 9, 2019
@kesselb
Copy link
Contributor Author

kesselb commented Nov 9, 2019

/backport to stable17

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops

@rullzer rullzer merged commit d8db8b1 into master Nov 13, 2019
@rullzer rullzer deleted the fix/17846/make-timeout-opt branch November 13, 2019 11:55
@backportbot-nextcloud
Copy link

backport to stable17 in #17925

@kesselb
Copy link
Contributor Author

kesselb commented Nov 13, 2019

/backport to stable16

@backportbot-nextcloud
Copy link

backport to stable16 in #17929

@henrikx
Copy link

henrikx commented Nov 13, 2019

I thought I was going crazy and I've been searching for hours. And I was so confused when adding the storage via occ worked fine.
Turns out everything in my setup was correct and it was this all along.

Got reply message "Unsatisfied backend parameters" from webserver when trying to update anything related to external storage via GUI.

@Golffies
Copy link

Applied the fix described in #17846 on a 17.0.1 stable NC. Did not solve the issue for me. From the web GUI:

Using backend: php-smbclient

Error while loading share content.

Icewind\SMB\Exception\ConnectionRefusedException:

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

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

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

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

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

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

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

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

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

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

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

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

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

    OC\AppFramework\Http\Dispatcher->executeController(OCA\SMBTest\ ... {}, "dir")

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

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\SMBTest\ ... {}, "dir")

    /var/www/html/nc1/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/nc1/lib/private/Route/Router.php - line 297:

    call_user_func(OC\AppFramew ... {}, { _route: "smb_test.smb.dir"})

    /var/www/html/nc1/lib/base.php - line 1000:

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

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

    OC::handleRequest()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

External SMB/CIFS Broken on 17.0.1
5 participants