The greatest challenge to any thinker is stating the problem in a way that will allow a solution

Bertrand Russell

By

On 15 Oct 2012

Zimbra

Tags: , ,


The long awaited version 2 of the Free and Open Source Software (FOSS) Active-Sync package known as Z-Push became available earlier in the year.  Whilst I held out for the first few months, in case there were a few early release bugs, I recently took the plunge…

Version 2 feels a bit more professional than version 1 (not that I’m saying in any way that version 1 was amateur or not fit for purpose), its just matured a bit.  The logs and local state cache have been moved out of the web directory (defaulting to /var/log/z-push/ and /var/lib/z-push/), though otherwise the actual config stays pretty much the same.

In theory there’s no need to clear or reset downstream syncing devices following the upgrade.  Z-Push will force devices reconnecting after the upgrade to do a full fresh sync.  In my very limited experience this didn’t work properly and I ended up resetting client devices.  Judging by the forums, others haven’t experienced the same problems, so it might be something particular to my install.

Logging is improved.  It’s more readable than before, and be controlled through differing levels of verbosity.

I get the impression that the opportunity to re-factor the code from the ground up has brought new life to the project.  Hopefully in a future version (maybe v2.1), it will be possible to store state data in a MySQL database rather than the local filesystem (see ZP-230), which could improve sync’ing performance and scalability.

I have found that battery drain with Push enabled has dramatically reduced since the upgrade on my own device (Samsung Galaxy S2). I’m assuming that synchronisation is more efficient, or more in step with how my device expects Active-Sync to work.  It may just be a lucky coincidence though, I haven’t poured through the logs to be able to actually tell, or seen much to suggest that’s a universal experience.

It also works well with the latest Zimbra v8, when used with the latest backend, which is nice.


3 Comments to “Z-Push v2 upgrade”

  1. Chris A says:

    I have been trying to setup z-push using your posts but have been unsuccessful. Long story made short, i get:
    HTTP ERROR 500
    Problem accessing /service/extension/zimbrasync. Reason:

    system failure: Extension HTTP handler not found at /zimbrasync
    ——————————————————————————–
    Powered by Jetty://

    When accessing http://ip/Microsoft-Server-ActiveSync and am wondering if you would help me out on this? I have posted to the zimbra thread but i think it is a config problem and therefore, ppl are not helping. Nothing appears in my log file in regards to z-push. I would be willing to send you some money if you can help me get this working. I could do a teamviewer session so you can see exactly what is going on. Just let me know

    • Simon Strutt says:

      Hi Chris,

      Looks like there’s a problem with your webserver. It doesn’t know how to run the Z-Push PHP files. Do you have PHP installed? If so I think there might be a problem with it.

      Check your webserver logs for errors, though they may just repeat what you’ve reported above.

      Cheers
      Simon

    • Simon Strutt says:

      In case anybody stumbles across this page with the same error as shown above…

      The error above originates from the Zimbra server rather than the Z-Push server, and is to be expected if you browse to that path on the Zimbra server. The OP appeared to have an odd problem with his Apache proxy, redirecting requests direct to the Zimbra server, rather than allowing the Z-Push server to handle them.

Leave a Reply

XHTML: You can use these tags if you know what they are: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.