menatwork / syncCto

Contao Extension :: Synchronize multiple contao installations with each other
https://packagist.org/packages/menatwork/synccto
25 stars 14 forks source link

Synchronisation gets locked in purge temp folder step #272

Open serhio1798 opened 8 years ago

serhio1798 commented 8 years ago

Hello,

We have an installation of SyncCTO extension (installed via Composer Extension manager) and also syncCTO Pro (for comparison of changes on page level).

We have a TEST (Preview) system where editors should check and test their work, and have the possibility to push it on a LIVE system when everything is ready.

We have setup the client (Live) on the test machine, I did a change in a content element to see if it gets propagated to the live environment. I run the synchronization, and at some moment of time I opened the frontend part of the live machine, and I am seing the change being propagated. On TEST machine Synchronisation gets locked on Purge Temp Folder, and does not proceed further.

After clicking again on Clients and try to start a new Synchronize Client operation, this gets locked in Step 1 - Checking client and does nothing. Client is shown with green bullet so connection can be made successfully.

Is there a problem if I access the website during the sync? (This will always happen as regular users will access the site during sync operations).

Do you have any suggestion of how to proceed in debugging this kind of problem? What can I do?

serhio1798 commented 8 years ago

Contao Version: 3.5.9 SyncCTO version 3.0.5.0.

Next day Sync works again. is not locked anymore in Step 1. Can it be that Synchronisation gets locked if I log in Contao backend on both systems (Server and Client) ?

serhio1798 commented 8 years ago

new run - new lock. Now it gets locked in Step 3 and does nothing since 20 minutes.

davidmaack commented 8 years ago

Can you try to update for the newest version of syncCto (3.2.0-beta9)? If you don´t have the latest pro version (1.3.3) just send an e-mail to contao@men-at-work.de.

For debugging purposes, please activate the debugging mode in the synccto-settings. The extension should output more information and also write a logfile to files/syncCto_backups/debug

serhio1798 commented 7 years ago

We found the problem for these "Freeze" cases. I am adding it in case somebody experiences similar problems.

The problem is not a SyncCTO problem, but rather a "bad network connectivity" problem. This problem occurs for cases where Network problems appear, and some network packages get lost. If that happen, SyncCTO gets somehow locked in the sync process, and you have to Cancel the sync, otherwise it will remain in that state forever.