<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Upgrade_Z-Push_%28with_Zimbra_Backend%29</id>
	<title>Upgrade Z-Push (with Zimbra Backend) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Upgrade_Z-Push_%28with_Zimbra_Backend%29"/>
	<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Upgrade_Z-Push_(with_Zimbra_Backend)&amp;action=history"/>
	<updated>2026-06-03T19:17:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Upgrade_Z-Push_(with_Zimbra_Backend)&amp;diff=1951&amp;oldid=prev</id>
		<title>Sstrutt: /* Post Upgrade Testing */ Typo fix</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Upgrade_Z-Push_(with_Zimbra_Backend)&amp;diff=1951&amp;oldid=prev"/>
		<updated>2012-05-18T05:07:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Post Upgrade Testing: &lt;/span&gt; Typo fix&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:07, 18 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l101&quot;&gt;Line 101:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Post Upgrade Testing ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Post Upgrade Testing ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Confirm you can send and receive email through an account on a mobile device&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Confirm you can send and receive email through an account on a mobile device&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Confirm you can create and delete a task, calendat item and contact on a mobile device and on the server (changes should be  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Confirm you can create and delete a task, calendat item and contact on a mobile device and on the server (changes should be visible on counterpart)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;visible on counterpart)&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z-Push]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z-Push]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Zimbra]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Zimbra]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Upgrade_Z-Push_(with_Zimbra_Backend)&amp;diff=1950&amp;oldid=prev</id>
		<title>Sstrutt: Initial creation</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Upgrade_Z-Push_(with_Zimbra_Backend)&amp;diff=1950&amp;oldid=prev"/>
		<updated>2012-05-18T05:06:40Z</updated>

		<summary type="html">&lt;p&gt;Initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Upgrade Available? ==&lt;br /&gt;
To check that an upgrade is available, you need to compare the versions of what you have running against what&amp;#039;s available in the SVN repository.&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt; svn info &amp;lt;/code&amp;gt; against your installation path, and against the repo.  When running against your installation path you&amp;#039;ll be provided with repo URL. For example...&lt;br /&gt;
 root@web2:/var/www# svn info z-push/&lt;br /&gt;
 Path: z-push&lt;br /&gt;
 URL: svn://svn.berlios.de/z-push/branches/as12.1&lt;br /&gt;
 Repository Root: svn://svn.berlios.de/z-push&lt;br /&gt;
 Repository UUID: b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5&lt;br /&gt;
 Revision: 1120&lt;br /&gt;
 Node Kind: directory&lt;br /&gt;
 Schedule: normal&lt;br /&gt;
 Last Changed Author: dw2412&lt;br /&gt;
 Last Changed Rev: 1120&lt;br /&gt;
 Last Changed Date: 2012-02-07 06:21:29 +0000 (Tue, 07 Feb 2012)&lt;br /&gt;
 &lt;br /&gt;
 root@web2:/var/www# svn info svn://svn.berlios.de/z-push/branches/as12.1&lt;br /&gt;
 Path: as12.1&lt;br /&gt;
 URL: svn://svn.berlios.de/z-push/branches/as12.1&lt;br /&gt;
 Repository Root: svn://svn.berlios.de/z-push&lt;br /&gt;
 Repository UUID: b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5&lt;br /&gt;
 Revision: 1238&lt;br /&gt;
 Node Kind: directory&lt;br /&gt;
 Last Changed Author: dw2412&lt;br /&gt;
 Last Changed Rev: 1172&lt;br /&gt;
 Last Changed Date: 2012-03-05 18:19:03 +0000 (Mon, 05 Mar 2012)&lt;br /&gt;
&lt;br /&gt;
Note that you&amp;#039;ll need to have installed using SVN in the first place for there to be version tracking in place.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Create Testing Environment ===&lt;br /&gt;
Whether or not you have a large number of users to support it is always a good idea to test the upgrade procedure if at all possible.  If you&amp;#039;re running from on an Apache webserver this is most easily achieved by creating a copy of your existing Z-Push installation, and then using either a test account on your live Zimbra server, or if you have one, your backup or test server.  As a broad overview...&lt;br /&gt;
&lt;br /&gt;
# Create a copy of the Z-Push website&lt;br /&gt;
## Create a copy of the files&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; cp /var/www/z-push /var/www/z-push-test &amp;lt;/code&amp;gt;&lt;br /&gt;
## Clear-out any old data&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; echo &amp;gt; /var/www/z-push-test/debug.txt &amp;lt;/code&amp;gt;&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; rm -fr /var/www/z-push-test/state/* &amp;lt;/code&amp;gt;&lt;br /&gt;
## Create a copy of the site config&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; cp /etc/apache2/sites-available/z-push /etc/apache2/sites-available/z-push-test &amp;lt;/code&amp;gt;&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; cd /etc/apache2/sites-enabled &amp;lt;/code&amp;gt;&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; vi z-push-test &amp;lt;/code&amp;gt; and update site hostname and path (you&amp;#039;ll need to update DNS as well)&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; apache2ctl -k graceful &amp;lt;/code&amp;gt;&lt;br /&gt;
# Create a test account on your Zimbra server through the web admin interface&lt;br /&gt;
# Copy an account you have access to into the new test account&lt;br /&gt;
## Log in to your zimbra server via SSH, and su to the zimbra user&lt;br /&gt;
## Export an account to a file...&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; zmmailbox -z -m user@domain.com getRestURL &amp;quot;//?fmt=tgz&amp;quot; &amp;gt; /tmp/test-user.tgz &amp;lt;/code&amp;gt;&lt;br /&gt;
## Import the file into the test account&lt;br /&gt;
##* EG &amp;lt;code&amp;gt; zmmailbox -z -m test@domain.com postRestURL &amp;quot;//?fmt=tgz&amp;quot; /tmp/test-user.tgz &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Upgrade ===&lt;br /&gt;
This upgrade procedure assumes the following.&lt;br /&gt;
* Path to Z-Push installation: &amp;lt;code&amp;gt;/var/www/z-push&amp;lt;/code&amp;gt;&lt;br /&gt;
* Path to Z-Push website config: &amp;lt;code&amp;gt;etc/apache2/sites-available/z-push&amp;lt;/code&amp;gt;&lt;br /&gt;
** Which is enabled by a file link from &amp;lt;code&amp;gt;etc/apache2/sites-enabled/z-push&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Disable Z-Push&lt;br /&gt;
#* If Z-Push is the only website running on your server, just stop web service&lt;br /&gt;
#** EG &amp;lt;code&amp;gt; apache2ctl stop &amp;lt;/code&amp;gt;&lt;br /&gt;
#* If Z-Push is on a shared server, disable the site and gracefully restart the web service&lt;br /&gt;
#** EG &amp;lt;code&amp;gt; rm /etc/apache2/sites-enabled/z-push&amp;lt;/code&amp;gt;&lt;br /&gt;
#** EG &amp;lt;code&amp;gt;apache2ctl graceful&amp;lt;/code&amp;gt;&lt;br /&gt;
# Move the existing site to a backup folder&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mv /var/www/z-push /var/www/z-push-backup &amp;lt;/code&amp;gt;&lt;br /&gt;
# Recreate the directory for the site&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mkdir /var/www/z-push &amp;lt;/code&amp;gt;&lt;br /&gt;
# Download the new Z-Push installation&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; svn checkout svn://svn.berlios.de/z-push/branches/as12.1 /var/www/z-push &amp;lt;/code&amp;gt;&lt;br /&gt;
# Download the new Zimbra Active-Sync 12.1 backend branch into a &amp;lt;code&amp;gt;/zimbra&amp;lt;/code&amp;gt; folder&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mkdir /var/www/z-push/zimbra &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; svn checkout https://zimbrabackend.svn.sourceforge.net/svnroot/zimbrabackend/zimbra-backend/branches/as12.1 /var/www/z-push/zimbra&amp;lt;/code&amp;gt;&lt;br /&gt;
# Move unrequired files out of &amp;lt;code&amp;gt;backend&amp;lt;/code&amp;gt;, leaving only &amp;lt;code&amp;gt;backend.php&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;diffbackend.php&amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mkdir /var/www/z-push/backend-old &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mv /var/www/z-push/backend/* /var/www/z-push/backend-old &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mv /var/www/z-push/backend-old/backend.php /var/www/z-push/backend/ &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mv /var/www/z-push/backend-old/diffbackend.php /var/www/z-push/backend/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Move the &amp;lt;code&amp;gt; zimbra.php &amp;lt;/code&amp;gt; file into &amp;lt;code&amp;gt;backend&amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mv /var/www/z-push/zimbra/zimbra.php /var/www/z-push/backend/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Restore the config&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; cp /var/www/z-push-backup/config.php /var/www/z-push/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Restore the contents of the state folder&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; cp -r /var/www/z-push-backup/state/* /var/www/z-push/state/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Allow write access to the &amp;lt;code&amp;gt; state &amp;lt;/code&amp;gt; folder&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; chgrp -R www-data /var/www/z-push/state &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; chown -R www-data /var/www/z-push/state &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; chmod -R g+w /var/www/z-push/state &amp;lt;/code&amp;gt;&lt;br /&gt;
# Create file for debug to go to&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; touch /var/www/z-push/debug.txt &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; chgrp www-data /var/www/z-push/debug.txt &amp;lt;/code&amp;gt;&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; chmod g+w /var/www/z-push/debug.txt &amp;lt;/code&amp;gt;&lt;br /&gt;
# Re-enable Z-Push&lt;br /&gt;
#* If Z-Push is the only website running on your server, restart the web service&lt;br /&gt;
#** EG &amp;lt;code&amp;gt; apache2ctl start &amp;lt;/code&amp;gt;&lt;br /&gt;
#* If Z-Push is on a shared server, re-enable the site and gracefully restart the web service&lt;br /&gt;
#** EG &amp;lt;code&amp;gt; cd /etc/apache2/sites-enabled/ &amp;lt;/code&amp;gt;&lt;br /&gt;
#** EG &amp;lt;code&amp;gt; ln -s ../sites-available/z-push z-push &amp;lt;/code&amp;gt;&lt;br /&gt;
#** EG &amp;lt;code&amp;gt;apache2ctl graceful&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Post Upgrade Testing ===&lt;br /&gt;
* Confirm you can send and receive email through an account on a mobile device&lt;br /&gt;
* Confirm you can create and delete a task, calendat item and contact on a mobile device and on the server (changes should be &lt;br /&gt;
&lt;br /&gt;
visible on counterpart)&lt;br /&gt;
&lt;br /&gt;
[[Category:Z-Push]]&lt;br /&gt;
[[Category:Zimbra]]&lt;/div&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
</feed>