nextcloud / files_lock

GNU Affero General Public License v3.0
24 stars 8 forks source link

Can not unlock a file which is locked with edit locally option #249

Open mustafaatatuzun opened 4 months ago

mustafaatatuzun commented 4 months ago

we are using nextcloud 27.1.7 Temporary files lock 27.0.4 redis_version:7.2.1 ubuntu 22.04.3 LTS Nextcloud desktop client 3.12.1 windows 10 pro 22H2

when a file is stored on nextcloud home folder I can edit the file with "edit locally", it locks the file and when I close the excel file, i can unlock it from ... Unlock file. But when I move the same file to external storage of the user, lock stays forever until flushall the redis and DELETE FROM oc_files_lock

on the screen I get error "File is currently locked by 49F522CE-3525-4024-8800-4CD408A3B0FB" which is the owner no error log is written.

External storage is LOCAL and under /MUSTAFA sudo chown -R www-data:www-data /MUSTAFA is executed too I have choosen when attaching the external drive to user enable previews enable share check for changes once every direct access

I am ready to help for debugging for futher details.

mustafaatatuzun commented 4 months ago

I have read the #236 https://github.com/nextcloud/files_lock/issues/236 but in my case when the file is on nextcloud home folder , I can unlock, when it is on external drive I can not unlock, even when manually I try to do it.

mgallien commented 3 months ago

I can confirm using Nextcloud server 28.0.3.2 and files_lock 28.0.4 @tobiasKaminsky see related desktop client issue https://github.com/nextcloud/desktop/issues/6666