Cant delete folder, files is ok

Hi,

i have owncloud appliance running.

univention 4.4.4
owncloud 10.3.2

i am not able to delete folders on smb share, creating folders is ok.
also deleting files works

error on deleting folders

{“reqId”:“nm9ghGRMvIUCE7JoA6w1”,“level”:3,“time”:“2020-03-27T14:08:20+00:00”,“remoteAddr”:“172.17.42.1”,“user”:“Administrator”,“app”:“PHP”,“method”:“DELETE”,“url”:"/owncloud/remote.php/dav/files/xxxxxxxx",“message”:“Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) at /var/www/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#105”}

how to fix it ?

i think it has todo something with php limits
where is the related php.ini file on a univention owncloud app ? (path ?)

How many files are inside that folder? We need to delete the files one by one before deleting the smb folder.
In addition, verify the libsmbclient-php library is installed and being used

1 Like

libsmbclient is installed and active

the error occurs also on empty folders.

everything is working fine, creating folders, uploading folders incl. files, deleting files etc.

just deleting (also empty) folders not working

https://github.com/eduardok/libsmbclient-php this one. ownCloud needs the php bindings in order to use the native library. Otherwise, ownCloud will use a wrapper around smbclient.
Using the native library is highly recommended.

1 Like

docker.software-univention.de/owncloud-owncloud:10.3.2-1
running this container, its the UCS Owncloud Appliance

installed from here

hope its the right one in this container