Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mustafaatatuzun opened this issue Mar 14, 2024 · 2 comments
Open

Comments

@mustafaatatuzun
Copy link

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
Copy link
Author

I have read the #236
#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
Copy link
Contributor

I can confirm using Nextcloud server 28.0.3.2 and files_lock 28.0.4
@tobiasKaminsky
see related desktop client issue nextcloud/desktop#6666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants