Hi liverpoolfcfan, last week I updated from Zpush 1.5 + backend v.52.1 to Zpush 2.0.7 + backend v.55, then today I upgraded to the new v.56 of the backend. Everything ran smoothly, and all the smartphones synced without problems with the new version.
However in z-push-error.log I found three similar errors, that I want to report for your interest:

And nothing related to the error on 26/04.

Please open Tickets on the Sourceforge site for any troubleshooting questions rather than use this (already lengthy) thread.

are related to the new loop detection code in z-push 2. I am pretty sure it is harmless if you only see it on a rare occasion - and may be related to downloading large attachments though I am not sure. You would need to open a ticket on the z-push forum to request for help on those.

The third one

Code:

[Thu Apr 25 21:20:36 2013] [error] [client ] PHP Fatal error: Call to a member function GetCachedMessageLists() on a non-object in /srv/www/htdocs/z-push/backend/zimbra/zimbra.php on line 1029

relates to an issue that was resolved in Release 56 - so you should not see that one again.

04-30-2013, 06:24 AM

liverpoolfcfan

Quote:

Originally Posted by heiko h.

Hi at all,

I have a Release 6.0.10_GA_2692.UBUNTU8_64 UBUNTU8_64 FOSS edition running and I do not get any z-push 2 release operationally.
I allways see the same error.

An issue was discovered in Release 56 by a couple of users with modifying an appointment on the device using z-push 2.0.7 - this issue does not exist in the latest z-push 2.1 beta or in the trunk version - so it had been missed during testing. As it is just a bug fix I have decided to release it as 56.1 rather than bump the version to 57.

Code:

NEW FOR RELEASE 56 - Use with z-push 2.0.7 or later

NEW FOR RELEASE 56 - An issue has been identified with the list sorting method utilized
by z-push in conjunction with zimbra. The basic sort method used in the diffstate.php
module (which Zimbra backend utilizes) is a numeric comparison. While this works fine
for a zimbra user with no shared folders - it does not work once the user has folder
shares in their sync floder list. Zimbra precedes the message IDs from shared folders with
the GUID of the sharing user. This GUID is non-numeric - so the sorting breaks down. This
can result in duplication of appointments/contacts/tasks when used in conjunction with
virtual folders on devices that need to virtually include all items into a single calendar/
contact list/task list. Devices that support multiple folders (such as iPxxx devices) are
not affected. Mail folders are unaffected as they all get synched individually. The
solution for this is to allow the sorting method to be overridden. I have requested a
change in z-push to allow this. In the meantime, a change is needed to the baseline
/lib/default/diffbackend/diffstate.php in the function RowCmp() to allow the sorting to
work correctly. The function should be changed as follows :-

Hopefully, z-push will adopt a suggested fix for this I have proposed, and this will not
be an issue in future. But until that time, this change will need to be reapplied after
every z-push upgrade.

Changes Made To Revision 56.1:

These changes are for the z-push-2 version ONLY
The z-push-1 and as12.1 versions are still at Revision 54

- In ChangeMessage for appointment - ensure contentParameters exists before
calling GetMessage()
- Check for existence of 'ms' and 'rev' fields in ModifyAppointmentResponse
as it seems zimbra 6.0.x does not report them

Changes Made To Revision 56:

These changes are for the z-push-2 version ONLY
The z-push-1 and as12.1 versions are still at Revision 54

- Added function fixMS to handle json_decode "floated" millisecond timestamps
- Added handling for native Multiple Task folders for Apple devices - a new
switch has been defined for config.php - ZIMBRA_DISABLE_MULTI_TASK_LISTS -
see INSTALL for details
- Fix output of Exceptions to Recurring Appointments by using the new z-push-2
SyncAppointmentException class and fixing the exceptionstarttime
- Added handling of incoming Appointment Exceptions, including attendees
- Fix iPxxx "preview" of HTML-only email showing "this message has no content"
- Output Exception DTstamp instead of overall Appt DTstamp for exceptions
- Implemented ResolveRecipients - but fix needed in z-push-2 to allow this
to function correctly. This has been reported upstream.
- CALDAV created appointments do not seem to set OrganizerName and
OrganizerEmail. Check for the contents of both before building SOAP message
when modifying an appointment.
- Output lastverbexecuted - zimbra does not save sequence of verbs - just flags
so replied is given precedence over forwarded (same as GUI)
- Code cleanup - use $zimbraFolderId instead of overwriting $folderid
- Only output exceptions array on appointment if not empty
- After InitializePermanentStorage - check that a valid StateObject is returned
and if not, delay and re-read, to allow for limited file contention between
threads from the same device
- After InitializePermanentStorage - make sure _cachedMessageLists is an array
- Change in GetFolder to prevent fully shared (linked) accounts/folders from
being considered as special Mail folders (Inbox/Trash/Drafts/Sent)
- Fix in MeetingResponse to return empty string for meeting decline
- Added CustomRowCmp function in hope that z-push might adopt suggestion

This list includes the changes for 56 and 56.1

As always please read the release notes for all updates since your current Release prior to updating.

05-04-2013, 06:00 PM

bofh

Ife upgraded vom an very old Version and Zpush1 now to 56 / today on 56.1

Here some notes
1. Use Zpush beta 2.1 Milstone 2 http://zarafa-deutschland.de/z-push-download/beta/2.1/
2. Provision is now built in in zpush and can be used with a commandline utility - no mysql needed - mysql doenst even work anymore
3. zpush now delivers a commandline live viewer where we can see whats going on - more than helpful - this is a eral awesome thing beside its poor use of bash echos to display text (if ife time ill adapt it to ncurses)
4. The load on the Zimbra server now is much much lower, but a little bit more load on apache on the zpush server - still its way faster and more effective than zpush 1 and absolutly worth the upgrade
5. i noticved in an old version of zimbra backend that android 4.1.2 kills phonenumbers if android dont knwo the datafield but zimbra does - i dont know how the latest zpush1 backend version do but 56 and 56.1 DONT kill numbers anymore.
6. 56.1 and ZP 2.1m2 seems pretty stable even ife it only running for 48 hours

Load on the zimbra almost none anymore - bevore zpush was about to kill my zimbra because of some wierd account (yea have some users who got several tousand calendar entries, and zimbra is fetching em very badly resulting in up to4 second mysql requests not funny at all)

Next test with outlook 2013 - even it does not reckognize zpush as an Activesync server you can sue outlook with AS on zpush with a trick - add the account - klick next an error apears it does not find an AS server - use tasktmanager to kill outlook.exe - with that trick the account is added and can sync - how well i dont know but im testing it right now :))

Somenote about the backend - liverpool is doing more than a great job, we should get him some tickets for some championsleage final IF liverpool makes it there xD
together with outlook 2013 his work might become more important than ever - maybe its the final door to get outlook running with zimbra OSS

Ad Point 1:
I would not recommend using zpush 2.0.7 because it seems 2.0.7 has a bug with the loop detection among other

07-30-2013, 05:49 AM

Yaroze

iOS 7 has Activesync Notes support, is this going to be added to the backend?

07-30-2013, 01:34 PM

liverpoolfcfan

Quote:

Originally Posted by Yaroze

iOS 7 has Activesync Notes support, is this going to be added to the backend?

Firstly, iOS7 is not available as yet to the general public. Until it is I would have no way to experiment.

Secondly, and more importantly, what would it sync to ? zimbra 7.2.4 is the latest I have run, and it has no Notes folder type. Perhaps one has been added in zimbra 8 but if it has I am not aware of it ?

07-30-2013, 01:57 PM

lytledd

Quote:

Originally Posted by liverpoolfcfan

Perhaps one has been added in zimbra 8 but if it has I am not aware of it ?

No,

I'm running 8.04 and the layout is pretty much the same as 7.x.

Doug

07-30-2013, 02:09 PM

Yaroze

Quote:

Originally Posted by liverpoolfcfan

Firstly, iOS7 is not available as yet to the general public. Until it is I would have no way to experiment.

Secondly, and more importantly, what would it sync to ? zimbra 7.2.4 is the latest I have run, and it has no Notes folder type. Perhaps one has been added in zimbra 8 but if it has I am not aware of it ?

The beta is available for download.. When using IMAP OSX and iOS creates a normal folder named Notes where it keeps them.

07-31-2013, 01:05 AM

liverpoolfcfan

Quote:

Originally Posted by Yaroze

The beta is available for download.. When using IMAP OSX and iOS creates a normal folder named Notes where it keeps them.

So, it puts notes you wrote on the phone into an email folder. What about creating new notes/editing notes on the zimbra side. That will not work in a mail folder.