Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Win] Everything deleted and client crashed. #92

Closed
Tryum opened this issue Nov 17, 2012 · 2 comments
Closed

[Win] Everything deleted and client crashed. #92

Tryum opened this issue Nov 17, 2012 · 2 comments
Labels

Comments

@Tryum
Copy link

Tryum commented Nov 17, 2012

Yesterday, I had to work on the databases on the server hosting my owncloud instance. I had to shut down the mysql daemon more than once.

Going back home, all the files in synced directories where gone, and the client had crashed.

I don't know if the database outage and the sync deletion are related, but it's the only events I can remember when all this happened.

@dragotin
Copy link
Contributor

I added code to fix this. The problem was that the server answer with status 200 on requests which fail because of the missing database. That made csync thinking the server side has no files any more.

Checking also the content type now for type application/xml.

@dragotin
Copy link
Contributor

The fix will be released with 1.1.2 soon.

dragotin pushed a commit that referenced this issue Jan 13, 2014
Now check on both the result code and the content type of the
reply. If the content-type is not applicaton/xml do not accept the
answer even if the status code is good.
This fixes #92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants