-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
files:scan shows 'Exception during scan: "..." is locked, existing lock on file: exclusive'. #1031
Comments
I'm afraid I'm not sure. The snap uses redis for locks, but I've never seen an error like that before-- it doesn't seem snap-specific. I suggest asking over at https://help.nextcloud.com/ . |
I found radis-cli flushall tricks in Forum.
But, nextcloud-snap does not export redis.sock to outside. |
Hey, I face the same issue, but I did not modify or move my attached storage at all. One user simply has the issue that a file is locked (same message as @hwiorn). So far only one user is affected by this and I still need to investigate further. @hwiorn any further progress for you yet? Groupfolder scan shows no issue
and files scan too:
|
I have the same problem |
You can access the socket via /tmp/snap.nextcloud/tmp/sockets/redis.sock so the following command should do the trick: |
This is what you want, no need to install redis-cli outside of the snap:
This is really a workaround for what appears to be an upstream Nextcloud bug. We use redis as recommended, I suggest logging an issue upstream. I'm going to go ahead and close this here. |
I just got a pretty similar error message. I used default file locking mechanisms (database entries).
Everything works properly afterwards. |
what helped me was disabling file locking temporary and running file scan again: |
For me this worked too. |
I copied my usb backup storage(~1.5TB) to nextcloud earlier yesterday and files:scan showed 'file is locked' after a long while. I already check
oc_file_locks
table but there is no locked files.I don't know which file is locked. How can i debug it?
The text was updated successfully, but these errors were encountered: