Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Client sometimes deletes file after renaming and moving it #5216
Comments
jturcotte
added this to the 2.3.0 milestone
Sep 29, 2016
jturcotte
added
bug
sev1-critical
labels
Sep 29, 2016
jturcotte
assigned
ogoffart and
jturcotte
Sep 29, 2016
|
Might have been a duplicate of #5192 which is fixed in 2.2.4 |
|
Yeah, i'm pretty sure it's the same issue. Please try again with 2.2.4 |
ogoffart
added
the
ReadyToTest
label
Sep 30, 2016
NicolasGoeddel
commented
Sep 30, 2016
|
I updated to version 2.2.4. I will test it within 24 hours. |
NicolasGoeddel
commented
Sep 30, 2016
|
Just got an other file deleted with the new version (GIT revision eaeed0). So this was not the solution. If you need more logs then I can create some now or in our next production phase on Oktober 17th. |
|
please provide more logs. |
NicolasGoeddel
commented
Oct 12, 2016
|
I found three other wrong deletes in our old logs. I will send them to you via mail. Apart from that I can create new logs next week. |
guruz
removed
the
ReadyToTest
label
Oct 14, 2016
|
@ogoffart Got any good info from the logs? |
|
Tahnks for the log. But this only shows local delete because the file is not on the server. This is not showing any case of the client deleting files on the server. When the file is both modified and renamed/moved, the client will delete the local file, and download the new file from the server. The bug in 2.2.3 made that sometimes the client was deleting files and then they where gone. But when the moved-and-modified file is downloaded back, there is no bugs. |
|
Is it possible that some clients are still on 2.2.3 and would work on that file which could cause the remove to then be propagated to the 2.2.4 clients even though they don't have the bug anymore? |
NicolasGoeddel
commented
Oct 21, 2016
|
Yesterday we got no problems what I heard. In the meantime I updated an other windows client to 2.2.4. The linux and windows clients are the only ones that are syncing with this owncloud. The rest of the users were using the web interface or WebDAV. |
|
@NicolasGoeddel What were your experiences like in the last days? |
ckamm
added
the
Needs info
label
Oct 25, 2016
NicolasGoeddel
commented
Nov 6, 2016
|
Seems that I did not click the button to send my comment 7 days ago. |
NicolasGoeddel commentedSep 29, 2016
We have the Owncloud Server 9.0.3 (stable) running on an external Ubuntu Virtual Machine with redis-server as memcache. In our company we have an other Ubuntu Machine which serves as a Samba server and runs the Owncloud Client (Version 2.2.3). Up to 20 clients use the Samba share and the OC Client synchronizes every change to the OC Server and vice versa.
Some days we have a huge activity on the samba share and then it can happen that files disappear. I found out that somehow the OC client got the instruction to delete files and I think this is a bug. I tried to capture that behaviour with inotifywait to capture all changes on the samba share and using the .owncloudsync.log file as comparison.
In the attached LibreOffice Calc document there are four tables. "owncloudsync" is the log extracted from .owncloudsync.log. "inotify" is the log from inotifywait. "merged" contains the merged logs. And "simplified" is the smaller version of merged that only shows two files where one of them will be deleted by the OC client.
On the server side there is never a change of the mentioned files and directories.
Expected behaviour
The Owncloud Client should never delete files by its own.
Actual behaviour
Somehow the OC Client gets the instruction "INST_REMOVE" but there never was such an instruction given. So certain files get deleted without doing anything wrong.
Steps to reproduce
The problem is that the behaviour is not always reproducible. So I can only talk about the logs I got from the OC client and inotifywait.
And this step should never happen.
Server configuration
Operating system: Ubuntu 14.04.5 LTS
Web server: Apache 2.4.7
Database: MySQL 14.14 Distrib 5.5.52
PHP version: 5.5.9-1ubuntu4.19
ownCloud version: 9.0.3 (stable)
Storage backend (external storage): None
Client configuration
Client version: 2.2.3
Operating system: Ubuntu 14.04.5 LTS
OS language: German de_DE
Installation path of client: /usr/bin/owncloud
Logs
No logs but a LibreOffice Calc document.
Owncloud-log.zip