2 device one user sync problem
-
on 1st device I create notification it syncs with server in one second, but in 2nd device it doesn’t appear I wait for 10 minutes no effect. all device iphone.
-
Hi @orlovnv,
I am afraid that you would need to provide more information if you are asking for actionable help. Stuff like versions, configuration, logging, etc.
For logging you can look at https://wiki.z-hub.io/display/ZP/Debugging.
-
z-push latest stable, combinedBackend Problem only with tasks when I create one on the nextcloud it doesn’t syncs to phone, I think the same problem when I create on one phone and it doesn’t sync to another
08/08/2020 14:46:57 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:46:57 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:15 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:17 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:24 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:24 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:26 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:26 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:44 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:46 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:53 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:53 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:55 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:55 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCalDAV->ChangesSink - Changes detected 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exitcode_text
so when I add task via web of next cloud task doesn’t sync to phone, but if I then add task in phone it sync to server and then appear task in phone which I add via web.
if I check task as done that one which I add via web appears again in phone and that which I add in phone disappear in server too.
sorry for my bad English -
HI @orlovnv,
@orlovnv said in 2 device one user sync problem:
z-push latest stable, combinedBackend Problem only with tasks when I create one on the nextcloud it doesn’t syncs to phone, I think the same problem when I create on one phone and it doesn’t sync to another
Please provide the exact version of Z-Push you are using. “latest stable” is not an exact version. In debian/Ubuntu repositories the latest stable is 2.4.5, in z-push.org repositories it’s 2.5.2, so if you just write “latest stable” it’s ambiguous. The version is logged in z-push.log at INFO level at the end of every request.
08/08/2020 14:46:57 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:46:57 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:05 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:07 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:15 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:17 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:24 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:24 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:26 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:26 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:34 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:47:36 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:44 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:46 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:47:53 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:53 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:47:55 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:47:55 [ 350] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:48:03 [17272] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink(30) 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendIMAP' with 10 08/08/2020 14:48:05 [ 350] [DEBUG] [tasks] BackendIMAP>ChangesSink - Not initialized ChangesSink, sleep and exit 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCalDAV' with 10 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCalDAV->ChangesSink - Changes detected 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCombined->ChangesSink - Calling in 'BackendCardDAV' with 10 08/08/2020 14:48:13 [17272] [DEBUG] [tasks] BackendCardDAV->ChangesSink - Not initialized ChangesSink, sleep and exitcode_text
This log is not helpful at all. Felix posted a link which explains how to enable WBXML log.
so when I add task via web of next cloud task doesn’t sync to phone, but if I then add task in phone it sync to server and then appear task in phone which I add via web.
if I check task as done that one which I add via web appears again in phone and that which I add in phone disappear in server too.
sorry for my bad EnglishIt looks like the backend doesn’t detect task changes in nextcloud. It’s not possible to tell why without logs and knowing your configuration.
Manfred