Repository navigation
Closed
Milestone
Description
One shared file causes interruption of the whole synchronization progress.
Error in client: 1.8.3 (OpenSUSE)
07/07/2015 16:35:57 security/myfile.xlsx ownCloudShared Connection closed 14 KiB
Error in server: 8.0.2 (Debian)
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Read lock requested for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-07-07T16:34
:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"PASS: Acquired read lock for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-07-07T16:34:
52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Incrementing lock type 1 count for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-
07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Incrementing lock type 1 count for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-
07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Incrementing lock type 1 count for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-
07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Incrementing lock type 1 count for \/var\/ownclouddata\/myuser\/files\/Documents\/security\/myfile.xlsx","level":0,"time":"2015-
07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Read lock requested for \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":
0,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"PASS: Acquired read lock for \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":0
,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Incrementing lock type 1 count for \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":0,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Releasing locks on \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":0,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"INFO: Released lock handle Resource id #605 on \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":0,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
{"reqId":"65cfdcb383ac5bfc66cf24cbec3b0b9a","remoteAddr":"client-ip","app":"lock","message":"FREE: Released locks on \/var\/ownclouddata\/myuser\/files_encryption\/keys\/Documents\/security\/myfile.xlsx\/fileKey","level":0,"time":"2015-07-07T16:34:52+03:00","method":"GET","url":"\/remote.php\/webdav\/Shared\/security\/myfile.xlsx"}
Activity
PVince81 commentedon Jul 7, 2015
I hope it's the exact same issue, because I observed some discrepancies between my steps and your statements in the other ticket. Symptoms were the same.
We'll see. Here were my steps: #15856 (comment)
PVince81 commentedon Jul 7, 2015
By the way, you might want to update to 8.0.5.
PVince81 commentedon Sep 24, 2015
Any more luck with 8.0.6 or 8.1.3 ?
atroxix commentedon Sep 29, 2015
We have 8.1.3 now, but the error remains.
Client: 2.0.1 (64-bit Fedora)
Server: 8.1.3 (Debian 8.2)
Logs from server:
We have tried removing the share and re-adding it. I also noticed that for some files in that folder "Share" link is not shown - only "Download" and "Versions".
Lines concerning this files from client log:
I see there is some ".myfile.xlsx....", but in fact I don't have such file not in the original computer nor in OwnCloud folder server-side.
kalletabur commentedon Oct 9, 2015
Any updates on this?
PVince81 commentedon Oct 9, 2015
I see
Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you. I'd expect that if the owner shares the file again (or the containing folder), the target user should get access again. @atroxix said it didn't work.Something to check: look at the folder "data/$SHARE_OWNER/files_encryption/.../security/myfile.xls" and see if the list of "*.shareKey" files contains one for the recipient user.
PVince81 commentedon Oct 9, 2015
@schiesbn
kalletabur commentedon Oct 12, 2015
There is no .shareKey file(s) in atroxix folder, only fileKey.
But there is actually 2 folders called /myfile.xls/ under user/files_encryption/keys folder
One is located user/files_encryption/keys/files/SeveralFolders/myfile.xls/ and it's content is folder OC_DEFAULT_MODULE/fileKey
the other is located at user/files_encryption/keys/SeveralFolders/myfile.xls/ and is empty.
Do you know why is that? Owncloud manual (where keys stored) doesn't say anything about sorting keyfile folder structure under "files" folder
kalletabur commentedon Oct 14, 2015
Any thoughts?
PVince81 commentedon Oct 14, 2015
The "Length parameter" issue was reported here #18402 but without outcome. Just for reference.
You could try disabling the "file_locking" app and see if it helps.
PVince81 commentedon Oct 14, 2015
@schiesbn please advise
kalletabur commentedon Nov 24, 2015
We tried disabling file_locking but this didn't fix this.
Has @schiesbn investigated this issue?
12 remaining items
PVince81 commentedon Apr 18, 2016
@kalletabur @atroxix
kalletabur commentedon Apr 18, 2016
Before this issue arise we had only one migration that has migration backups. Time between these (migration to this issue) was ~3 months.
In this /encryption_migration_backup_date_time/.. folder there is one file
myfile.xlsx.key
and there is no difference between this file and
user/files_encryption/keys/files/SeveralFolders/myfile.xls/OC_DEFAULT_MODULE/fileKey
No share keys about that (myfile.xlsx.key) file on server.
And migrations so far have been successful.
PVince81 commentedon Jun 15, 2016
If the file "myfile.xlsx" has no share keys, then encryption will not work for that file.
PVince81 commentedon Sep 21, 2016
Without keys this file will not be restore-able. Not sure why the key would disappear completely from the server and not even be found in backup folders. It is likely that this was caused by older encryption bugs.
I'm closing this now. If you experience further issues with more recent OC versions, feel free to reopen.
lock commentedon Aug 3, 2019
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.