Summary | Changes made in kronolith are not send to AS devices. |
Queue | Synchronization |
Queue Version | FRAMEWORK_5_2 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | horde (at) vdorst (dot) com |
Created | 02/18/2015 (3789 days ago) |
Due | |
Updated | 02/27/2015 (3780 days ago) |
Assigned | 02/19/2015 (3788 days ago) |
Resolved | 02/27/2015 (3780 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
modseq to be reset, please create a new ticket.
reset the FOREIGN KEY.
Now I know were to look if it happens again.
It is working again.
So every change in contacts, calender and tasks are logged in
"horde_histories" right?
can it reset? And when will it reset?
database layer.
history_modseq.
replaced in certain cases, but this still looks funky, especially
given the range of values.
lower picture of the table where history_ts is sorted min to max.
Where I can see that the highest history_ts is not allways the
lasted history_id. Is this correct?
data related to editing objects - such as who last modified a contact,
for example. If that data is important for you to maintain, you can
use the horde-db-migrate script to migrate the history library down to
the "2" migration and then back "up". This should reset the modseq
values for you.
Still, would be nice to figure out WHY the modseq value was reset.
Maybe it IS related to the other bug, though I thought that was only
pgsql...
New Attachment: horde_histories.png
So every change in contacts, calender and tasks are logged in
"horde_histories" right?
- I was wondering if "history_modseq" should allways increased or can
it reset? And when will it reset? See upper picture of the table where
history_id gets async with history_modseq.
- high "history_modseq" is related to the lasted modification? See
lower picture of the table where history_ts is sorted min to max.
Where I can see that the highest history_ts is not allways the lasted
history_id. Is this correct?
Can I empty horde_histories to start over without any consequence?
Bug: 13876he is also talked about contacts.I added 2 contacts, one on the device and one in turba.
But contacts don't sync to the device. Only device to server.
"history_modseq" incremented with 2, value is now "364"
I have also 2 new history entries. "turba......."
You need to see why the modseq increment is not being picked up by
activesync. This is probably because either it is not monitoring the
calendar/addressbooks you think it is, or because the value of modseq
cached by the activesync folder object is not correct.
Bug: 13876he is also talked about contacts.I added 2 contacts, one on the device and one in turba.
But contacts don't sync to the device. Only device to server.
"history_modseq" incremented with 2, value is now "364"
I have also 2 new history entries. "turba......."
2015-02-25T17:11:54+01:00 DEBUG: HORDE [kronolith] PHP ERROR:
Non-static method Date_Calc::dateDiff() should not be called
statically, assuming $this from incompatible context [pid 1164 on line
115 of "/data/webapps/horde/kronolith/lib/Day.php"]
2015-02-25T17:11:54+01:00 DEBUG: HORDE [kronolith] PHP ERROR:
Non-static method Date_Calc::isValidDate() should not be called
statically, assuming $this from incompatible context [pid 1164 on line
2061 of "/usr/share/php/Date/Calc.php"]
2015-02-25T17:11:54+01:00 DEBUG: HORDE [kronolith] PHP ERROR:
Non-static method Date_Calc::isValidDate() should not be called
statically, assuming $this from incompatible context [pid 1164 on line
2064 of "/usr/share/php/Date/Calc.php"]
2015-02-25T17:11:54+01:00 DEBUG: HORDE [kronolith] PHP ERROR:
Non-static method Date_Calc::dateToDays() should not be called
statically, assuming $this from incompatible context [pid 1164 on line
2067 of "/usr/share/php/Date/Calc.php"]
2015-02-25T17:11:54+01:00 DEBUG: HORDE [kronolith] PHP ERROR:
Non-static method Date_Calc::dateToDays() should not be called
statically, assuming $this from incompatible context [pid 1164 on line
2068 of "/usr/share/php/Date/Calc.php"]
Current entry for "horde_histories_modseq" is
"history_modseq" = "362"
"history_modseqempty" = "0"
I don't know how it is related to "horde_histories"
which has an entry with "history_id" = "955"
Bug: 13876?mysqld --version
150225 17:13:11 [Warning] Using unique option prefix key_buffer
instead of key_buffer_size is deprecated and will be removed in a
future release. Please use the full name instead.
mysqld Ver 5.5.41-0ubuntu0.14.10.1 for debian-linux-gnu on x86_64 ((Ubuntu))
created account on the client, only accounts that were created prior
to the modseq value being reset. So...back to square one. Cannot
reproduce.
Bug: 13876?I did a quick test.
- Caldav works both ways.
the history system is not detecting any changes. Check all logs
(Horde/webserver/sync) for errors as a start.
I did a quick test.
- Caldav works both ways.
- Activesync still one way (device to server).
New Attachment: horde.tar[2].xz
Here the appended logfiles.
- Readded caltest account to BB sim
- Added on the device appointment test`
- Synced
- Changed appointent in kronolith to test`1
- resync.
But doesn't pickup the changes.
New Attachment: horde.tar[1].xz
Double entries in Free/Busy URL list are tasks and calenders which has
the same name.
I did rename the task list from rene -> tasks rene and it changed the
list. So that mystery is solved.
=== Logs and events
I added horde debug log and activesync log of blackberry simulator.
- I added a user 'caltest' in openldap.
- Clear the horde debug log.
- Logged-in with caltest.
Some Events
- 2015-02-24T16:22:50+00:00: Added activesync Caltest account to bb simulator.
- 2015-02-24T17:07:37+00:00: Added appointment "test" on the device.
- 2015-02-24T17:17:15+00:00: Reset device for bb simulator
Note: BB simulator did sync so well at all.
Note 2: also see some error in the logs.
=== ldapuser layout
# caltest van Dorst, users, <mydomain>
dn: cn=caltest van Dorst,ou=users,dc=<mydomain>,dc=<mydomain>
mail: caltest@<mydomain>
givenName: caltest
mailEnabled: TRUE
objectClass: inetOrgPerson
objectClass: PostfixBookMailAccount
objectClass: top
objectClass: simpleSecurityObject
objectClass: person
objectClass: shadowAccount
userPassword: <mypasswd>
sn: van Dorst
uid: caltest
cn: caltest van Dorst
\> "Choose the calendars to include in the above Free/Busy URL" list is:
but checking in the wrong "version" of the calendar. You need to find
out why your calendars are doubled, but this has nothing to do with
ActiveSync.
I would start by reviewing your horde log for errors and/or find the
queries that created the double calendars. You can also create a fresh
account and try to get the calendars to double.
New Attachment: freebusy.png
Free/Busy Information.
But I don't know if that happens after "Reset all device state" as in
comment
#7"Choose the calendars to include in the above Free/Busy URL" list is:
rene
lisa [lisa]
samen [samen]
rene
lisa [lisa]
samen [samen]
Birthday in rene
Birthday in samen [samen]
Birthday in verjaardag [samen]
Anniversaries in rene
Anniversaries in samen [samen]
Anniversaries in verjaardag [samen]
I checked other accounts, they also have double entries.
New Attachment: Calendars.png
My BlackBerry Z10 10.3.1.2243 sees my all my calerders double after
"Reset all device state".
Reproduce:
- Do in menu preferances->Global Preferences->activesync and then
"Reset all device state".
- Sync Device.
After that I still don't get any new data.
Modification are send from device to server.
But no modifications are send to the device.
re-enable calender sync) I get all appointments.
- Blackberry 10.3.1.1565
- Moto G LTE, Android 4.4.4 with latest Nine.
Both don't get updates from the server.
But both devices can push items to the server. Which show up in kronolith.
all the appointments of all calenders.
But not the changes made after the full resync.
Could I made a configuration error?
I added my configuration in my first post.
If you are out of clues then I try to reinstall horde.
Assigned to Michael Rubinsky
re-enable calender sync) I get all appointments.
frame of what the client is configured to synchronize.
I still have not been able to reproduce this on any of my dozen+ test clients.
appointemt were missing on my devices. But I can't see what is wrong.
I did a fresh server install and used the old config.
Yes I can see all the calenders on my devices as a separate calender
with the names (rene, lisa and samen) and appointment.
If I do a full resync on my blackberry device (simply disable and
re-enable calender sync) I get all appointments.
time frame of what the client is configured to synchronize.
State ⇒ Feedback
Priority ⇒ 1. Low
expected. There was a minor issue with detecting changes in the
"filtertype" (the setting that determines how long back to sync
items), but this did not/does not affect the picking up of *new*
calendar entries.
I would check that:
1) Your client supports multiple calendar collections (I know that Nine does).
2) You have enabled multiple calendar sync support in Kronolith.
3) You actually have selected the calendar to synchronize in Kronolith.
4) Verify the calendars appear on the device.
5) Any events you are attempting to edit/create fall withing the time
frame of what the client is configured to synchronize.
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: horde.tar.xz
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Changes made in kronolith are not send to AS devices.
Type ⇒ Bug