-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
External SMB/CIFS Broken on 17.0.1 #17846
Comments
Something in the logs? |
Unfortunately, no and I did enable debugging. I also removed php-smbclient but no change. |
I am also getting this error in 17.0.1 Beta The network call to save the external storage returns a 422 with the response of Request was
|
server/apps/files_external/lib/Lib/Backend/SMB.php Lines 56 to 57 in 88b6dc5
Does it work again if you change the above code to?
Edit: Fixed the wrong comma. |
@kesselb There is a slight typo in what you provided with the comma position but I can confirm that it resolved the issue to use the following;
|
Had the same issue (17.0.1 RC) and can confirm, that changing the code as suggested (with the correct comma position as noted by rawrspace) fixed it. Can change/add SMB shares again. |
Same issue happening with 16.0.6, patch solves it. |
Anyone pushing a PR to get this fix into the codebase? |
I can confirm that this solution does work and the issue is still present in 17.01 stable. |
Only saw the backport to stable17, but patch is needed also for 16 at least, isn’t it? |
We are having this issue after upgrading to version 17.0.1. The external storage that was present on version 16 works but we can't create new ones |
Please keep this pinned until 17.0.2 and 16.0.7 are released. |
Same here: |
Patch also fixed my NC 16.0.6 install. |
After upgrading to 17.0.1 Beta, I am no longer able to add External SMB/CIFS storage. Existing storage remains available to users.
Steps to reproduce
Expected behaviour
When correct information is added, a green check mark should appear to the left of the entry. The storage should be available via frontend.
Actual behaviour
Red exclamation mark appears and storage is not saved nor available.
Server configuration
Operating system:
Ubuntu 18.04 LTS
Web server:
Apache 2.4.29
Database:
MySQL 5.7
PHP version:
7.2.24
Nextcloud version: (see Nextcloud admin page)
17.0.1 Beta
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 17
I have reverted back to 17 from a snapshot.
The text was updated successfully, but these errors were encountered: