Troubleshooting[edit | edit source]
Locked File[edit | edit source]
After an unexpected power loss on a server, a file was stuck in a locked state.
File Locks with Database[edit | edit source]
To clear any locks if using database file locks:
- Log in to the database
- Empty the
DELETE FROM oc_file_locks WHERE 1.
File Locks with Redis[edit | edit source]
File locks can also use Redis if enabled in the configuration with:
'memcache.locking' => '\\OC\\Memcache\\Redis',
To clear any locks if using Redis, just stop Redis and remove its
Disable File Locking[edit | edit source]
Alternatively, disable file locks completely by setting
'filelocking.enabled' => false,
Disabling is recommended if you have multiple applications that may be accessing the file at the same time.