owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.36k stars 2.06k forks source link

Stray locks not being cleaned: server replied: Locked (ajax cron) #20380

Closed klausguenter closed 7 years ago

klausguenter commented 8 years ago

Hi there,

I have problems uploading some files via windows 7 client (Version 2.0.2, build 5569) connected with an owncloud 8.2 stable-Server.

The files exist on the client, not on the server. The log file on the client says:

06.11.2015 23:07:35 folder1/xxx.MDB   F:\Cloud1                     Error downloading http://xxx/owncloud/remote.php/webdav/folder1/xxx.MDB - server replied: Locked ("folder1/xxx.MDB" is locked)4,3 MB

1) I wonder why the client has problems to download - it should try to upload.

2) At first I thougt that the file on the client could be in use by another program. But the server says, that the file ist locked, not the client.

Can anyone help me please?

Regards, klausguenter

joseluis commented 7 years ago

We also had multiple folders locked for multiple users, which couldn't be used, or deleted... This was in centos 6 with cpanel. The only thing that worked for us was configuring redis as explained here and here.

PVince81 commented 7 years ago

Closing in favor of a more generic ticket about ajax cron: https://github.com/owncloud/core/issues/27574

Please discuss possible approaches there

janvlug commented 7 years ago

Should this issue really be closed in favor of #27574 ? I have locked files while I use cron for cron. Furthermore, a solution on how to unlock the files is still needed. See also: https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883/10

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.