owncloud-archive / files_locking

3 stars 5 forks source link

Could not obtain lock type 1 #17

Closed Philoow closed 9 years ago

Philoow commented 9 years ago

I was trying to double click on a .ics file to import it in my calendars. I've got this error. Any idea ? Running Owncloud 8

{\"Message\":\"Could not obtain lock type 1 on \"\/data\/sHeitz\/files\/sheitz.ics\".\",\"Code\":0,\"Trace\":\"#0 \/home\/repos\/git\/fus\/owncloud\/apps\/files_locking\/lib\/lockingwrapper.php(44): OCA\Files_Locking\Lock->addLock(1, NULL)\n#1 \/home\/repos\/git\/fus\/owncloud\/apps\/files_locking\/lib\/lockingwrapper.php(80): OCA\Files_Locking\LockingWrapper->getLock('files\/sheitz.ic...', 1)

SergioBertolinSG commented 9 years ago

I have the same problem, also with type 2.

It is affecting deletions and versions.

https://github.com/owncloud/core/issues/16061 https://github.com/owncloud/core/issues/16062

MorrisJobke commented 9 years ago

@DeepDiver1975 We need to fix this. It seems to break a lot of stuff. @SergioBertolinSG has a env where we can reproduce this issue.

jnfrmarks commented 9 years ago

@icewind1991 @karlitschek

FYI

DeepDiver1975 commented 9 years ago

fixed with https://github.com/owncloud/files_locking/pull/29

rperezb commented 9 years ago

@SergioBertolinSG checked