File Server Appliance: PHP Fatal error:  Call to undefined function SambaDAV\ssh2_connect()

Christian's picture

Installed the fileserver appliance in a container on a ProxMox virtual host. This is the error I am getting:

2017/05/04 14:45:39 [error] 11477#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined function SambaDAV\ssh2_connect() in /var/www/sambadav/lib/SambaDAV/Auth.php on line 176" while reading response header from upstream, client: XXXXXX, server: localhost, request: "GET /webfolders HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxx.xxx.de"

Jeremy Davis's picture

I haven't heard that particular issue reported before so I'm not really sure what's going on there. The only things I could suggest at this point is giving it a little more resources and restarting it. But I'm not convinced that will solve it.

I'm currently working on v14.2 (the next release). And seeing as we're actually migrating to a different web UI for the next release, I'm not too keen to put too much time into trying to work out exactly what your issue is. I will certainly try and have a quick look (or if the new appliance is ready; release it) ASAP.

Thanks for reporting.

Yeknrut's picture

A different web UI? Please tell us more. I just installed the Fileserver appliance and pleased with its operation. Webmin is big and intimidating, so I'm interested in any new UI. Fortunately it doesn't seem like many changes to configuration are needed after installing the Fileserver, just to store and backup a few PCs at home.

Jeremy Davis's picture

It supports allowing all users to access their files via a web browser (log in using Samba user and password). So it doesn't supplant Webmin at all.
Christian's picture

Hi Jeremy, it seems to be some dependency issue. But if a new version is around the corner, don't bother. What's the time frame for the new release?

Jeremy Davis's picture

I hope the updated appliance is done soon. But I can't give you a firm ETA. I'm not currently working on it myself, and after spending a brief time on it, it wasn't anything really obvious to me (so I handballed it).

Regarding your hint about a missing dependency. I just did some quick googling and it seems a common cause for similar issues is missing "libssh2-php". Perhaps see if that's installed (and if not install it)? Certainly shouldn't do any harm...

Christian's picture

It would be great to see the new release over the summer...

Jeremy Davis's picture

Your wish is my command! :)

Not really, but as of yesterday, you should be able to find v14.2 which should resolve all the issues that v14.1 had. :)

I should be announcing it "officially" in the next day or 2, but help yourself in the meantime! :)

You should be able to download container build of "14.2-1" via the PVE UI. For other builds, checkout the appliance page.

FWIW, the new WebUI is called WebDAV CGI. The issues that we were stuck on, actually ended being upstream bugs in the latest version. But we (I mean Ken) fixed them and pushed the fix upstream. The core developer was very appreciative and merged them straight away so we didn't have to do anything flaky to work around it.

Christian's picture

Thanks for getting back to me so quickly. TLK rules. I will test the appliance as soon as I can. Thank you very much!

Jeremy Davis's picture

You are most welcome, and thanks for the kind words.

Please let me know how you go with the new appliance.

Christian's picture

Happy to report that installing the appliance on the ProxMox host was a breeze and everything is working now. Thanks for your work on this!

Jeremy Davis's picture

Great stuff. You are most welcome. :)

Post new comment