Z-Push Updating

From Zarafa wiki

(Difference between revisions)
Jump to: navigation, search
m
(Replaced content with "'''Please refer to https://wiki.z-hub.io/display/ZP/Installation for updated installation instructions'''")
 
Line 1: Line 1:
-
In order to ''update'' z-push2 you can download the new .tar.gz from http://z-push.org The info on this page is '''NOT''' to be used to upgrade from version 1.x to version 2.x of z-push.
+
'''Please refer to https://wiki.z-hub.io/display/ZP/Installation for updated installation instructions'''
-
 
+
-
'''Required''': login as root or use sudo.
+
-
 
+
-
In this example x-yyyy is replaced for the version number.
+
-
 
+
-
We will assume that you installed Z-Push in /var/www/z-push but some documentation or distributions use /usr/share/z-push.
+
-
 
+
-
'''Important:''' The state folder should be kept when updating Z-Push.<br />
+
-
Read the release notes, as there could be special things which require attention!<br />
+
-
Make a backup of your installation inclusing config.php because new settings and defaults may change, please perform backup and upgrade using the following steps.
+
-
 
+
-
<pre>
+
-
wget http://zarafa-deutschland.de/z-push-download/final/2.0/z-push-2.0.x-yyyy.tar.gz
+
-
tar -zxf  z-push-2.0.x-yyyy.tar.gz
+
-
mv z-push-2.0.x-yyyy /var/www/
+
-
diff /var/www/z-push/config.php /var/www/z-push-2.0.x-yyyy/config.php
+
-
</pre>
+
-
 
+
-
Check your config.php and possible modified defaults and update the new config.php by hand in the /var/www/z-push-2.0.x-yyyy directory.
+
-
 
+
-
Then mv the old version and make a symbolic link to the new version:
+
-
<pre>
+
-
mv /var/www/z-push /var/www/z-push.old
+
-
ln -s /var/www/z-push-2.0.x-yyyy /var/www/z-push
+
-
</pre>
+
-
 
+
-
After completing these steps, your Z-Push will be up-to-date and all new connections will use the new z-push version.
+
-
 
+
-
To check the current version you can execute (where /var/www/z-push/ is where you installed Z-Push):
+
-
 
+
-
<pre>grep VERSION /var/www/z-push/version.php</pre>
+
-
 
+
-
Example output:
+
-
 
+
-
<pre>define("ZPUSH_VERSION", "2.0.x-yyyy");</pre>
+
-
 
+
-
After that open a browser and get this URL, press CANCEL when the browser asks for a login.
+
-
 
+
-
<pre>http://yourwebmail.yourdomain.com/Microsoft-Server-ActiveSync</pre>
+
-
or with SSL use https:
+
-
<pre>https://yourwebmail.yourdomain.com/Microsoft-Server-ActiveSync</pre>
+
-
 
+
-
That should output something like this:
+
-
 
+
-
[[File:Z-Push_ActiveSync_2013-01-02_17-43-26.png]]
+

Latest revision as of 12:38, 12 August 2016

Please refer to https://wiki.z-hub.io/display/ZP/Installation for updated installation instructions

Personal tools