You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't the same issue I see other people talking about where the files are still on the web interface.
I store a bunch of portable apps and their configs on my owncloud. Today I went to start one and it wasn't found, I looked in my bin folder in owncloud and it only had 2 folders. So I go into the web interface and it showed a ton of deleted files in the last 48 hours, which I didn't delete. I proceeded to restore them and it restored pretty much every folder and file right into the root of my owncloud. All subfolders and everything all in the root, totally disorganized and just screwed everything up.
I have the same issue !
When I grep for "DELETE" in the access log, it return me the list of all deleted files, here an extract (more than 100 lines of DELETE) :
This happend 2 times / week and randomly! Unable to reproduce!
All client have 1.8.0 desktop client and the server is 7.0.4. Web Server : Apache/2.2.22 MySQL version : 5.5.35 PHP Version : PHP 5.3.10
I have one folder that is shared with more than 30 users and they all have full access except sharing.
The bug appears with users that have slow connexion. And the files are available in their trash. I can see the files in oc_filecache table with PHPMYADMIN.
Other informations : files are in the filetrash of the user that called the "DELETE" request (user JCMA) and in my filetrash (maybe, because I am the owner of this folder and I share it with JCMA)
This morning we got an other folders deletion.. more than 200Mo of data deleted!
Strange, when I grep for one of the deleted file in the apache access log I get this :
Regarding Apache access log, user JCMA send a DELETE request at 09:01:07 and user LBE send a GET request 09:33:33 (30 minutes later!) How could LBE request for a deleted file 30 min earlier?
Confirming again, with no reason whatsoever, owncloud client 1.8.0 on Suse linux 64 bit, official build, decided it is a good idea to delete a directory (only one out of many), together with its contents. The only thing that I did is saved one of the files in the directory, causing an upload sync. This is how the log looked like (documents is the folder name, file names not relevant to the crash are redacted, log truncated since there was an entry for every object in the documents directory):
As if nothing is happening! By pure miracle I noticed that something fishy is happening and prevented the upload of changes to the server.
There were no errors reported. Given how shitty my connection is right now, my first suspicion is race conditions somewhere in the sync code. Sadly, I can not provide much more info than that, but if bad links/terminated and timeouted sockets could be a problem they definitely are here in China thanks to the great firewall.
This bug is not new at all, similar things have been noticed since 2012, please look at the race conditions/unhandled socket exceptions, maybe that is the key.
I have about 250 users. I have seen this problem about 10 times already. For some reason owncloud Desktop client deletes files without a reason or user intervention. owncloud client 1.8.0 running on Windows.
I see the "testing packages" link now and grabbed the test build, but that said the page is no different than the normal download page. Tried in Chrome and FF.
I see the "testing packages" link now and grabbed the test build, but that said the page is no different than the normal download page. Tried in Chrome and FF.
Reply to this email directly or view it on GitHub: #3131 (comment)
Activity
guruz commentedon Apr 20, 2015
This sounds very unfortunate.
Can you use the template please https://raw.githubusercontent.com/owncloud/client/master/issue_template.md
This is all very dependant on versions.
Also logs much appreciated, maybe we can reconstruct was happened.
rbahassine commentedon Apr 22, 2015
Hi all,
I have the same issue !
When I grep for "DELETE" in the access log, it return me the list of all deleted files, here an extract (more than 100 lines of DELETE) :
Here is the client log with the same extract of files :
Nothing in my error.log.
This happend 2 times / week and randomly! Unable to reproduce!
All client have 1.8.0 desktop client and the server is 7.0.4.
Web Server : Apache/2.2.22
MySQL version : 5.5.35
PHP Version : PHP 5.3.10
I have one folder that is shared with more than 30 users and they all have full access except sharing.
The bug appears with users that have slow connexion. And the files are available in their trash. I can see the files in oc_filecache table with PHPMYADMIN.
Any Idea? May I help with some specific tests?
rbahassine commentedon Apr 22, 2015
Other informations : files are in the filetrash of the user that called the "DELETE" request (user JCMA) and in my filetrash (maybe, because I am the owner of this folder and I share it with JCMA)
rbahassine commentedon Apr 23, 2015
Hi,
This morning we got an other folders deletion.. more than 200Mo of data deleted!
Strange, when I grep for one of the deleted file in the apache access log I get this :
Regarding Apache access log, user JCMA send a DELETE request at 09:01:07 and user LBE send a GET request 09:33:33 (30 minutes later!) How could LBE request for a deleted file 30 min earlier?
alexpyattaev commentedon Apr 23, 2015
Confirming again, with no reason whatsoever, owncloud client 1.8.0 on Suse linux 64 bit, official build, decided it is a good idea to delete a directory (only one out of many), together with its contents. The only thing that I did is saved one of the files in the directory, causing an upload sync. This is how the log looked like (documents is the folder name, file names not relevant to the crash are redacted, log truncated since there was an entry for every object in the documents directory):
As if nothing is happening! By pure miracle I noticed that something fishy is happening and prevented the upload of changes to the server.
There were no errors reported. Given how shitty my connection is right now, my first suspicion is race conditions somewhere in the sync code. Sadly, I can not provide much more info than that, but if bad links/terminated and timeouted sockets could be a problem they definitely are here in China thanks to the great firewall.
This bug is not new at all, similar things have been noticed since 2012, please look at the race conditions/unhandled socket exceptions, maybe that is the key.
lopezmts commentedon Apr 29, 2015
I have about 250 users. I have seen this problem about 10 times already. For some reason owncloud Desktop client deletes files without a reason or user intervention. owncloud client 1.8.0 running on Windows.
danimo commentedon Apr 29, 2015
This should be fixed in 1.8.1rc1, please try https://owncloud.org/install/#testing. We'll release it asap, after we've gathered sufficient results.
Sqwrly commentedon Apr 29, 2015
That link takes me to the normal download page with no test builds. DL links are all 1.8.0.
danimo commentedon Apr 29, 2015
@Sqwrly it should highlight the "testing" section (6.) though, which is where the RC builds are located.
Sqwrly commentedon Apr 29, 2015
Nope: http://i.imgur.com/xsV4ek3.png
I see the "testing packages" link now and grabbed the test build, but that said the page is no different than the normal download page. Tried in Chrome and FF.
alexpyattaev commentedon Apr 29, 2015
Just a small remark - what was the problem? was there something on the
user's side that triggers this?
On 04/29/2015 08:40 PM, Sqwrly wrote:
Ultra2D commentedon Apr 30, 2015
@danimo could you please explain what caused this, as @alexpyattaev also requested? How has it been fixed?
danimo commentedon Apr 30, 2015
@Sqwrly Click on "testing package". It will open a box with the download links.
danimo commentedon Apr 30, 2015
@alexpyattaev @Ultra2D Insufficient handling of invalid error responses. See
https://mailman.owncloud.org/pipermail/devel/2015-April/001215.html:
This caused the client to assume that any server error meant the same as a 404 (i.e.: file gone from server).
We've since improved the robustness of the XML parser that reads the WebDAV responses, which was rewritten for 1.8, and added more tests.
jondo commentedon Jul 22, 2015
Can this issue be closed?
guruz commentedon Jul 22, 2015
Indeed, closing this.
If you get this with 1.8.4 and a 8.1.x server please open a new issue with logs and help us to find the cause.