-
Notifications
You must be signed in to change notification settings - Fork 54
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
Malformed state response from server #109
Comments
The same error now has occured with a debian server with Samba 4.14.11 auf! Downgrading to 3.4.1 works here too! An additional error message was logged:
|
Same issue here. I'm using Nextcloud with external storage via SMB. Nextcloud uses icewind to access smbclient. I have smbclient 4.13.13 installed and there is no version 3.4.1 available on Ubuntu 20.04. So I can't downgrade it. The Samba server is installed on FreeBSD and has version 4.13.17. I can reproduce the issue if I try to to call Lines 195 to 204 in 9132f32
But if the file doesn't exists, it can't be found in the directory and therefore allinfo is called: Line 207 in 9132f32
The result of allinfo is an empy array. I think this is the root cause for the exception.
If I call |
Same problem here, using Nextcloud 23.0.2 on Nextcloudpi |
Same problem here, running Nextcloud 24.0.2 on Ubuntu Server 20.04 LTS with PHP 7.4.3 |
Same issue, only affects a single folder that contains 488 files. All other folders are smaller, and work fine. Also individual files i can open, but if i select multiple then "Download" i get this error. |
Same issue here. I tracked it down until I found that parseStat bails out, because the dir command returns as a final line e.g. "5860520960 blocks of size 1024. 2099970636 blocks available". |
Same error with 3.5.4! |
I had the same problem using the latest docker image. Adding the following commands to the Dockerfile solved the issue for me: Before I installed the smbclient only. And with this I had the issue described above. I got the hint from the following Dockerfile: https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/apache/Dockerfile |
Ive now upgraded to PHP8.0 (from 7.4) and installed php8.0-smbclient (instead of using the the smbclient cli backend). |
I'm entering all these commands (except rm -rf /var/lib/apt/lists/*) and everything installs perfectly, I even see php extension installed by running php -m, but as soon as I restart my nextcloud instance the configuration returns everything back to its previous (native) installation through Truenas and I no longer see smbclient in the php extensions. Any ideas? can rm -rf /var/lib/apt/lists/* command somehow damage default installation method? |
Calling
$share->stat('my/directory')
returns this error:"Malformed state response from server"
In fact
$output
is empty here! We're using the smbclient Backend, calling it manually returns correct data:We're using the smbclient backend. Neither 4.9.5 (debian buster standard) nor 4.14.8 (van-belle repo) works. The server is an old Mac OS.
This problem only occurs on version 3.5.0 & 3.5.1! Version 3.4.1 is fine!
The text was updated successfully, but these errors were encountered: