[sync] ActiveSync stopped working after upgrade to Horde-5.1.0

Arjen de Korte arjen+horde at de-korte.org
Wed Jun 5 17:44:09 UTC 2013


Citeren Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Arjen de Korte <arjen+horde at de-korte.org>:
>
>> After upgrading to the latest stable versions from PEAR, my  
>> ActiveSync clients (Moxier Mail on Android) could no longer sync  
>> e-mail (calendar, contacts and tasks were fine). Worse, they even  
>> proceeded removing all messages that were already synchronized.
>>
>> It turned out that somehow the activesync database scheme had not  
>> been migrated.
>
> How did you attempt to run the migration when it was "somehow" not migrated?

As usual, 'pear upgrade -c horde'. No errors, just the usual messages  
about optional packages that I don't need.

>> After running horde-db-migrate from the console, the database  
>> scheme was migrated up from version 16 to 17 and things started  
>> working again. The only thing that remained, was that the lists of  
>> folders to sync needed to be configured again on the clients. And  
>> of course, messages needed to be sync'ed again from the server.
>
> The 17 migration simply forces the sync state to be refreshed for  
> all devices. This was necessary because of a required change in the  
> way the folder hierarchy is maintained. Non-broken clients will then  
> automatically initiate a new FOLDERSYNC that will repopulate the  
> folder hierarchy on the client.

The folder hierarchy was sync'ed alright, it was just that the client  
would give up all existing subscriptions to folders and hence the  
messages it already had were removed from the phone (all 2000+ or so).

> Unfortunately though, if the user has selected any email folders for  
> PUSH that are not pushed by default on that client these will have  
> to be re-selected by the user on the client since the internal  
> identifiers for the folders have changed.

Which is indeed the case. So far, the Android ActiveSync clients that  
I tried will only sync INBOX by default (and some will not even allow  
you to select additional ones either). All other folders need to be  
selected manually. So that I had to re-select them again was a bit  
unexpected, but given the changes I understand this is unavoidable.

Note this was not intended as a bug report, just a heads-up for others  
that may run into the same issues. Luckily, my ActiveSync userbase is  
small, so the load for a dozen or so people re-syncing their mail is  
not that bad. If you have many more, it may be more significant and  
one might want to stage this, so that not all clients will attempt to  
re-sync at the same time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: PGP digitale ondertekening
URL: <http://lists.horde.org/archives/sync/attachments/20130605/b76d11c1/attachment.bin>


More information about the sync mailing list