nextcloud / nextcloud/files_lock
Files on local external storage remain locked after using “Edit locally”
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 10
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 48
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. First reproduce the “Edit locally” workflow with a file on local external storage and inspect how its lock is recorded and released in Redis; done means the lock clears after the file is closed without manually flushing Redis or deleting database rows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- redis
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100