Filelist webdav Fatal error: Allowed memory size of 134217728 bytes exhausted
-
I’m running Kopano on a UCS server, release 4.4-4 errata617, all software updated.
kopano-webapp 3.5.14.2539+111.1 all
kopano-webapp-plugin-files 3.0.0.0+118.3 all
kopano-webapp-plugin-filesbackend-owncloud 3.0.0.0+54.3 all
kopano-webapp-plugin-filesbackend-smb 3.0.0.0+36.3 allTrying to add a webdav share in options->files of the webapp always results in a green light and a tooltip “Account is ready to use”, the quotum info is reported correctly, but every connection is followed by a “Http 500 Internal server error”.
Verifying /var/log/apache2/error.log one can see that
- kopano doesn’t use memcached (why?) and
- the script to list all files exhausts the memory limit set in php.ini and throws the 500 error.
(error.log heavely edited)…
[:error] [pid 13411] [client 192.168.0.1:50270] [DBG][FilesListModule] [cache] memcached storage could not be loaded. Using files storage., referer: https://myserver.mydomain:30015/webapp/
[:error] [pid 3767] [client 192.168.0.1:52994] [DBG][FilesListModule] Getting cache for node: fd4aec9e53a237c7a928cf4b562392c1/ ## ludo03db8e887097dd0b96b89e5665bd1d99, referer: https://myserver.mydomain:30015/webapp/
[:error] [pid 3767] [client 192.168.0.1:52994] [DBG][FilesListModule] Getting cache for node: fd4aec9e53a237c7a928cf4b562392c1/ ## ludo03db8e887097dd0b96b89e5665bd1d99, referer: https://myserver.mydomain.com:30015/webapp/
[Wed Jun 03 10:04:48.632871 2020] [:error] [pid 3767] [client 192.168.0.1:52994] [DBG][FilesListModule] Getting cache for node: fd4aec9e53a237c7a928cf4b562392c1/ ## ludo03db8e887097dd0b96b89e5665bd1d99, referer: https://thuisip.dyndns-ip.com:30015/webapp/
etc, etc, etc… until
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 135168 bytes) in /usr/share/kopano-webapp/plugins/files/php/modules/class.fileslistmodule.php on line 271, referer: https://myserver.mydomain.com:30015/webapp/
[Wed Jun 03 10:05:46.350555 2020] [:error] [pid 3758] [client 192.168.0.1:53036] [DBG][AccountStore] Found 1 accounts., referer: https://myserver.mydomain.com:30015/webapp/
Adding a smb share functions correctly.
Can anyone please give me a hint to solve this problem?
Thx. -
Hi @JVanDamme,
a pre-final version of the files plugin was accidentally uploaded with the last WebApp update, meanwhile a new WebApp app version has been released with the correct files plugin (and instructions in the readme how to downgrade). Can you “update” to this version and try again?
Some more details in https://forum.kopano.io/topic/3212/files-plugin-causes-problems/13
-
@fbartels
I downgraded as you advised to
kopano-webapp-plugin-files 2.1.5.305+101.2
kopano-webapp-plugin-filesbackend-owncloud/onbekend 2.1.0.87+42.5
kopano-webapp-plugin-filesbackend-smb 2.1.0.50+31.5
and now at first glance everything is working as it should.Thx!!