I got a problem with my Owncloud.
If I click on “delete file” or “delete folder” nothing happens, that’s not with all files, only with some.
I checked the FTP the file was Gone, but the DB entry in table file_cache was still there, that why its still showing it in the frontend.
I also have a Cronjob running that delete all files which are older than 14 days.
After it deleted the files the Cronjob runs:
$path = dirname(FILE)."/…/data//files/";
shell_exec('php ’ . $path2 . ‘occ files:scan --all’);
Which delete the DB references.
In the browser console I get the answer 424 which comes from the config option ‘filelocking.enabled’ => true,
After I set this to false the upload don’t work anymore it randomly stops.
But the problem with the undeletable references is solved.
I reverted it, and started again, I tested the Cronjob but it was not the problem.
The workflow of the Admin and the User is:
Administrator creates folder,
Administrator uploads File,
Administrator shares the Folder with all permissions to user X,
User X watches the movie or download the file, or edit a txt.
After a few days the Administrator
wants to delete the file he uploaded for the user in the Shared folder, but he can’t delete it.
This is not always the case, but happens sometimes.
I can’t replicate the problem, but it happens from time to time.
Hopefully some of you have a solution or an idea how to solve that.