kopano-webapp-filesbackend-smb php7

Does the kopano-webapp-filesbackend-smb not work with php7

I allways get internal server error on uploading files to smb filesbackend - with nexlcout/owncloud backend everything works


Could your provide some information about your system.
Such as OS, webapp, files + backends versions etc.


It was Univention UCS 4.2-3
Upgraded to UCS 4.3
installed standard app form app-center - no repos for UCS 4.3
kopano-core uses debian9 repo = 8.5.5
webapp was befor upgrade 3.4.9 now (no repo for UCS4.3)
z-push was 2.4.0 after upgrade 2.3.8 (no repo for UCS4.3)
files was latest version now
file-smb-backend is now



[Mon Mar 19 15:50:44.575035 2018] [:error] [pid 89012] [client] [DBG][AccountStore] Found 3 accounts., referer:
[Mon Mar 19 15:50:44.575098 2018] [:error] [pid 89012] [client] [DBG][BackendStore] Searching for external backends in /usr/share/kopano-webapp/plugins/, referer:
[Mon Mar 19 15:50:44.575222 2018] [:error] [pid 89012] [client] [DBG][BackendStore] Registering backend: Webdav, referer:
[Mon Mar 19 15:50:44.575508 2018] [:error] [pid 89012] [client] [DBG][BackendStore] Registering backend: FTP, referer:
[Mon Mar 19 15:50:44.575702 2018] [:error] [pid 89012] [client] [DBG][BackendStore] Registering external backend: SMB, referer:
[Mon Mar 19 15:50:44.575836 2018] [:error] [pid 89012] [client] [DBG][BackendStore] Registering external backend: Owncloud, referer:
[Mon Mar 19 15:50:44.576202 2018] [:error] [pid 89012] [client] [DBG][FilesBrowserModule] [cache] memcached storage could not be loaded. Using files storage., referer:
[Mon Mar 19 15:50:44.576566 2018] [:error] [pid 89012] [client] [DBG][FilesBrowserModule] [constructor]: executing the module as uid: ck, referer:
[Mon Mar 19 15:50:44.576634 2018] [:error] [pid 89012] [client] [DBG][FilesBrowserModule] Checking: #R#832d0c0183045a8f892ed6eee9c425a7/, referer:
[Mon Mar 19 15:50:44.576736 2018] [:error] [pid 89012] [client] [BACKEND_SMB]: Share path set to DATEN, referer:
[Mon Mar 19 15:50:44.576792 2018] [:error] [pid 89012] [client] [BACKEND_SMB]: libsmbclient-php not available, falling back to wrapping smbclient, referer:
[Mon Mar 19 15:50:44.576916 2018] [:error] [pid 89012] [client] [BACKEND_SMB]: SMB Share openened successfully!, referer:
[Mon Mar 19 15:50:44.576934 2018] [:error] [pid 89012] [client] [DBG][FilesBrowserModule] Getting content for: /,
[Mon Mar 19 15:50:44.576942 2018] [:error] [pid 89012] [client] [BACKEND_SMB]: [LS] start for dir: /,
[Mon Mar 19 15:50:48.121325 2018] [:error] [pid 89012] [client] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 134217736 bytes) in /usr/share/kopano-webapp/plugins/filesbackendSMB/php/lib/SMB/src/Connection.php on line 43, referer:

php-smbclient was not installed after installing it seems to work now


If you use the debian9 repo for files there should be a dependency on:
php-libsmbclient which should provide php-smbclient

Btw, please upgrade to the latest files, it contains some important fixes:

@marty said in kopano-webapp-filesbackend-smb php7:

If you use the debian9 repo for files there should be a dependency on:
php-libsmbclient which should provide php-smbclient

no - i hope that repos for webapp, z-push for ucs 4.3 will be available soon from kopano


Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.