sync to laptop stops working

72 views
Skip to first unread message

Piet Honkoop

unread,
Sep 29, 2015, 4:42:52 AM9/29/15
to CmisSync
Hi,

We're running 2 road warrier laptops (one win7, one osx 10.10) with cmissync installed. 
These laptops should be syncing from an alfresco setup (4.2.x version still)

Those laptops hardly ever get restarted and after a while the sync process just stops syncing.

Symptoms:
* just sitting idle, no log output, no activity at all
* log output saying sync already running but nothing is happening (when there are changes to the central repo)

We've setup a 3rd sync entity which is rebooted every night (and hence cmissync is restarted every night), this one does NOT show the symptoms.

Any clues as to what goes wrong here?

Thanks for any pointers!

Regards,
Piet

Nicolas Raoul

unread,
Sep 29, 2015, 5:05:27 AM9/29/15
to cmis...@googlegroups.com
Hello Piet,

Could you please send me the log of a laptop that has stopped syncing?

Thanks for using CmisSync!
Nicolas Raoul
Aegif

--
You received this message because you are subscribed to the Google Groups "CmisSync" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmissync+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Piet Honkoop

unread,
Sep 29, 2015, 5:26:47 PM9/29/15
to CmisSync
Please see below. I stopped using the mac @noon here, been using it for the last 30 minutes (23:22 out here) and it remained silent in the logfile...

I can't place the debug line on unauthorized access because before that point, the app could access the server instance without problem...

Regards,
Piet

2015-09-29 12:00:04,918 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Created': /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0032.PDF.
2015-09-29 12:00:04,941 [Threadpool worker] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - File /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0032.PDF remains unchanged, ignore for the update action
2015-09-29 12:00:04,941 [1] DEBUG CmisSync.StatusIcon [(null)] - setSyncItemState Idle
2015-09-29 12:00:04,942 [Threadpool worker] DEBUG CmisSync.StatusIconController [(null)] - StatusIconController OnSyncing
2015-09-29 12:00:04,942 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Created': /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0035.PDF.
2015-09-29 12:00:04,945 [Threadpool worker] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - File /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0035.PDF remains unchanged, ignore for the update action
2015-09-29 12:00:04,946 [1] DEBUG CmisSync.StatusIcon [(null)] - setSyncItemState Idle
2015-09-29 12:00:04,946 [Threadpool worker] DEBUG CmisSync.StatusIconController [(null)] - StatusIconController OnSyncing
2015-09-29 12:00:04,946 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Created': /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0017.PDF.
2015-09-29 12:00:04,986 [Threadpool worker] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - File /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/Scans/SCAN0017.PDF remains unchanged, ignore for the update action
2015-09-29 12:00:04,986 [1] DEBUG CmisSync.StatusIcon [(null)] - setSyncItemState Idle
2015-09-29 12:00:04,987 [Threadpool worker] DEBUG CmisSync.StatusIconController [(null)] - StatusIconController OnSyncing
2015-09-29 12:00:04,987 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Created': /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/01 Klanten/DMLS/Le Cocq advocaten.
2015-09-29 12:00:05,155 [Threadpool worker] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Folder exists in Database /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/01 Klanten/DMLS/Le Cocq advocaten, ignore for the update action
2015-09-29 12:00:05,155 [1] DEBUG CmisSync.StatusIcon [(null)] - setSyncItemState Idle
2015-09-29 12:00:05,156 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Invoke a remote change log sync
2015-09-29 12:00:06,238 [Threadpool worker] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Server token:881538
2015-09-29 12:00:06,712 [Threadpool worker] INFO  CmisSync.Lib.RepoBase [(null)] - Sync Error: CmisSync.Lib.Cmis.BaseException, Unauthorized
2015-09-29 12:00:06,712 [Threadpool worker] ERROR CmisSync.StatusIconController [(null)] - Error syncing 'alfresco.espresso-gridpoint.net/Main Repository': Unauthorized
CmisSync.Lib.Cmis.BaseException: Unauthorized ---> DotCMIS.Exceptions.CmisRuntimeException: Unauthorized
  at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Read (DotCMIS.Binding.Impl.UrlBuilder url) [0x00000] in <filename unknown>:0 
  at DotCMIS.Binding.AtomPub.DiscoveryService.GetContentChanges (System.String repositoryId, System.String& changeLogToken, Nullable`1 includeProperties, System.String filter, Nullable`1 includePolicyIds, Nullable`1 includeAcl, Nullable`1 maxItems, IExtensionsData extension) [0x00000] in <filename unknown>:0 
  at DotCMIS.Client.Impl.Session.GetContentChanges (System.String changeLogToken, Boolean includeProperties, Int64 maxNumItems, IOperationContext context) [0x00000] in <filename unknown>:0 
  at DotCMIS.Client.Impl.Session.GetContentChanges (System.String changeLogToken, Boolean includeProperties, Int64 maxNumItems) [0x00000] in <filename unknown>:0 
  at CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder.ChangeLogThenCrawlSync (IFolder remoteFolder, System.String localFolder) [0x00000] in <filename unknown>:0 
  at CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder.Sync (Boolean syncFull) [0x00000] in <filename unknown>:0 
  at CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder.<SynchronizedFolder>m__0 (System.Object o, System.ComponentModel.DoWorkEventArgs args) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
2015-09-29 12:00:07,125 [Threadpool worker] INFO  CmisSync.Lib.RepoBase [(null)] - Full Sync Complete: /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository

Op dinsdag 29 september 2015 11:05:27 UTC+2 schreef Nicolas Raoul:

Nicolas Raoul

unread,
Oct 1, 2015, 1:12:48 AM10/1/15
to cmis...@googlegroups.com
Hello Piet,

Whenever CmisSync stops, the last lines of the log contain this "Unauthorized" message followed by "Full Sync Complete"?

Or are there other patterns to how the log file ends before getting stuck?

Is the CmisSync menu still usable even after the log gets stuck?

Thanks for your feedback!
Nicolas Raoul
Aegif

Piet Honkoop

unread,
Oct 2, 2015, 3:57:42 AM10/2/15
to CmisSync
Hi,

Below a different (more regular) scenario: log stops at the time of closing the laptop, after that, over 2 different periods of time, the laptop has been used (16:30 - 17:30 + 23:00 - 02:30) and sync just doesn't resume.

The app does not consume time (ps axM, no thread uses time).

The menu et al are responsive, if you enter the config of the sync folder and save it, everything starts again.
So it seems like a condition whereby cmissync thinks it cannot run / should not run (network timeout if the process was too quick testing connectivity?).

2015-10-01 15:55:52,504 [Threadpool worker] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - File /Users/piethonkoop/CmisSync/alfresco.espresso-gridpoint.net/Main Repository/01 Klanten/DDDDDDDDD/Mantelovereenkomst/MantelDDDDDDDDDDD. juli'13.pdf remains unchanged, ignore for the update action
2015-10-01 15:55:52,505 [1] DEBUG CmisSync.StatusIcon [(null)] - setSyncItemState Idle
2015-10-01 15:55:52,505 [Threadpool worker] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Invoke a remote change log sync

after that, nothing happens.

Hope you can shed some light on this :)

Regards,
Piet

Op donderdag 1 oktober 2015 07:12:48 UTC+2 schreef Nicolas Raoul:
Reply all
Reply to author
Forward
0 new messages