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

mac sync client restart syncing over and over #32

Closed
magior opened this issue Oct 31, 2012 · 7 comments
Closed

mac sync client restart syncing over and over #32

magior opened this issue Oct 31, 2012 · 7 comments

Comments

@magior
Copy link

magior commented Oct 31, 2012

Hi,

my situation: mac os x 10.7.5, owncloud 4.5.1 (wiht sqlite), sync client 1.1.1.
My sync client, with apparently no reason (no modifications on remote site or in the local directory), deletes all the files in the local directory and restarts syncing from the beginning causing a lot of network traffic. This happens about one or two times per hour.

I can post other informations or make tests if needed.
Thanks,
Marco

@dragotin
Copy link
Contributor

Please try to catch a logfile using the option --logfile , thanks.

@D1reW0lf
Copy link

D1reW0lf commented Nov 1, 2012

Hi,

I no longer have ownCloud and the sync client, so I can't help right now.
I'll try to re-install both in the next couple of weeks to see if I can help.

Right now I just can add my "me too" to this problem.
When using the Sync client almost all of files where deleted.

I was using:

  • ownCloud 4.5.1a
  • Sync client: mac version 1.0.5
  • Desktop OS: Mac OS X 10.8.2
  • Server info: Apache 2.22.2, PHP 5.3.15, SQLite as the db and according to the "Dependencies status" all the necessary dependencies where there.

Best regards,
Pedro Fardilha

@D1reW0lf
Copy link

D1reW0lf commented Nov 1, 2012

Well... now I'm lost!!

On one of my test sites, after a few login/logouts, ownCloud deleted several files.
And this was without any kind of external intervention.
No Sync client, no WebDAV connections, nothing.

This is the kind of situation that leaves me worried.

@magior
Copy link
Author

magior commented Nov 4, 2012

Hi,

I've compared the parts of my log file when the different behavior occurs, here an example:

the wrong behavior:

11-04 21:41:38:014 csync.owncloud - owncloud_stat ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png called
11-04 21:41:38:014 csync.owncloud - stat results from fs cache - md5: 509000a8ee2b96.20288392
11-04 21:41:38:014 csync.updater - walk: ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png
11-04 21:41:38:014 csync.updater - file: ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png
11-04 21:41:38:014 csync.updater - file: Schermata 07-2456122 alle 15.30.21.png - hash 10253594971465732546, st size: 118
11-04 21:41:38:015 csync.statedb - No result record found for phash = 10253594971465732546
11-04 21:41:38:015 csync.updater - file: Schermata 07-2456122 alle 15.30.21.png, instruction: INSTRUCTION_NEW

the correct behavior:

11-04 22:38:28:986 csync.owncloud - owncloud_stat ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png called
11-04 22:38:28:986 csync.owncloud - stat results from fs cache - md5: 509000a8ee2b96.20288392
11-04 22:38:28:986 csync.updater - walk: ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png
11-04 22:38:28:986 csync.updater - file: ownclouds://mycloud/remote.php/webdav/clientsync/Schermata 07-2456122 alle 15.30.21.png
11-04 22:38:28:986 csync.updater - file: Schermata 07-2456122 alle 15.30.21.png - hash 10253594971465732546, st size: 118
11-04 22:38:28:986 csync.updater - time compare: 1342186223 <-> 1342186224, md5: 509000a8ee2b96.20288392 <-> 509000a8ee2b96.20288392
11-04 22:38:28:986 csync.updater - file: Schermata 07-2456122 alle 15.30.21.png, instruction: INSTRUCTION_NONE

As you can see the difference is that in the first log there's apparently no result from statedb.
I hope this help.

Regards, Marco

@magior
Copy link
Author

magior commented Nov 7, 2012

Hi,

if useful I've uploaded an entire log of my client:

https://raw.github.com/gist/4031487/owncloud.log

If you check, around 10:56:40, the client re-download all files from the server directory.

Regards, Marco

@danimo
Copy link
Contributor

danimo commented Apr 10, 2013

@magior Since this report is quite old: Did upgrading server and client help? or is this still an issue?

@danimo
Copy link
Contributor

danimo commented Apr 18, 2013

Closing for inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants