A file that a can not delete on the server

Hi guys!

I messed up a bit with Nextcloud by moving twice a directory (containing large files) into another one. As a result, I end up with a movie that I can’t rename or delete from the server. However, I was able to uncheck the folder in the synchronization PC application and so my local trace was deleted (the result I wanted).

How can I now delete the remote file?

Thanks

//EDIT: here a screencap https://pix.toile-libre.org/?img=1585048367.png

Perhaps you can in this case delete the file direct from filesystem (e.g. rm …) and then rescan all.

https://docs.nextcloud.com/server/18/admin_manual/configuration_server/occ_command.html#file-operations-label

sudo -u www-data php occ files:scan

Thank you, it seem has to worked!

Have a nice day :slight_smile: