Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: justinesmithies on June 23, 2012, 11:44:59 pm
-
I have successfully updated Z-Push to the latest version from the Z-Push site. This allows me to get HTML emails pushed to my Android phone as the standard version that comes with Zentyal 2.2 doesn't allow for HTML push.
All i did was rename the folder /usr/share/z-push to /usr/share/z-push-orig
Then extract the latest Z-Push archive into /usr/share/z-push
The state directory is by default /var/lib/z-push, the log directory /var/log/z-push.
Please create these directories and make them writeable for apache or
change the configuration parameters to your needs.
And hopefully thats you upgraded to the latest Z-Push with HTML Push.
-
In case some wants updated d-push packages (z-push renamed to d-push for legal reasons), have a look here: https://launchpad.net/~bencer/+archive/zarafa
-
can someone post a installation guide please ?
-
Dear Project,
just so its verry clear, al he did was...
1 installing the zarafa module as described per zentyal isntallation guide.
2 stopping the zarafa service in the zentyal interface
3 moving the folder: #sudo mv /usr/share/z-push /usr/share/z-push-orig
4 download and unpack the new z-push or d-push files
and move the files to /usr/share/z-push. again with sudo mv /location/of/files /usr/share/z-push
5 start up the service again and test it...
if any of these tasks seam unclear to you - google or the installation manual from zpush WILL be very helpfull...
-
Ok it works, thx for the info. I will write it down for other people as well.
Please correct me if there is a better/safer way to do this. I'm still learning this stuff so.
# cd /usr/share
# service zarafa-server stop
# sudo mv /usr/share/z-push /usr/share/z-push-orig
# sudo wget https://launchpad.net/~bencer/+archive/zarafa/+files/d-push_2.0.1.orig.tar.gz
# sudo tar -zxvf d-push_2.0.1.orig.tar.gz
# sudo mv /usr/share/d-push-2.0.1/ /usr/share/z-push
# cd ..
# sudo mkdir /var/lib/z-push ( if not needed the server will say so )
# sudo mkdir /var/log/z-push ( if not needed the server will say so )
# cd /var/log
# sudo chmod 777 z-push
# cd /var/lib
# sudo chmod 777 z-push
# service zarafa-server start
That's it , works like a charm. You need to remove the accounts from your devices ( phone, pad ) and install them again.
This and the webapp made my week ;D
-
Is the chmod 777 absolutely necessary? I mean, does it need full control for the rest of the world? To me that seems a bit .... too open...
-
What is the user or group for apache2 on zentyal ? --> www-data ( found this, correct me if wrong )
i did the following :
# sudo chmod 755 z-push in both directories ( var/log & var/lib )
But shoudln't i just change the permissions for apache2 ? Being www-data ??
-
correct, you should ignore the part about chmode 777 ... NEVER do this on a production machine...
instead you can chown these directories to www-data
-
Guys, is much easier:
1.- Add my PPA
2.- sudo apt-get install d-push (rebranded version, but same software)
3.- cd /etc/apache2/sites-available ; sudo mv z-push z-push.orig
4.- new contents of z-push file:
# d-push default Apache configuration
<IfModule mod_alias.c>
Alias /Microsoft-Server-ActiveSync /usr/share/d-push/index.php
</IfModule>
5.- /etc/init.d/zentyal webserver restart
(this is working if we don't have Zarafa on a specific vhost but on the default)
-
jsalamero,
I have followed the steps to add the correct PPA.... atleast I think I did, but when I try to sudo apt-get install d-push I get a message saying can't find package d-push.
This leads me to believe I did not install the PPA correctly, but for the life of me I do not know what I did wrong:
I have added the following to my /etc/apt/sources.list
deb http://ppa.launchpad.net/bencer/zarafa/ubuntu lucid main
deb-src http://ppa.launchpad.net/bencer/zarafa/ubuntu lucid main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2A35DCE5
sudo apt-get update
sudo apt-get install d-push (but it can't find the package)
-
"d-push" is available for Ubuntu Precise only.
-
Going to have to give this a go...still playing with test runs of fully configuring everything out for use at our shop.
-
Hi there, I have tried this with both the latest version of z-push and v2.0.0-1346. Every time I get this error:
FatalMisconfigurationException
Not possible to write to the configured state directory.
Trace:
Array
(
[0] => Array
(
[file] => /usr/share/z-push/lib/core/zpush.php
[line] => 329
[function] => FileStateMachine
[class] => FileStateMachine
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /usr/share/z-push/lib/core/zpush.php
[line] => 302
[function] => GetStateMachine
[class] => ZPush
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /usr/share/z-push/index.php
[line] => 135
[function] => CheckAdvancedConfig
[class] => ZPush
[type] => ::
[args] => Array
(
)
)
)
even if I set the permissions to 777 on the /usr/share/z-push directory.
Any suggestions?
Thanks
-
Hi there, I have tried this with both the latest version of z-push and v2.0.0-1346. Every time I get this error:
FatalMisconfigurationException
Not possible to write to the configured state directory.
even if I set the permissions to 777 on the /usr/share/z-push directory.
Any suggestions?
Thanks
Hi Barry, did you use the following command: sudo chmod -R 777 /usr/share/z-push/
The "-R" makes sure that all subdirectories and files are also changed. Please note that this is VERY INSECURE and should not be done in a production environment. It would be safer to change the ownership of the directory so that apache can write to it. Before going into production with this, I would suggest hunting down the particular permissions issue and modifying the access accordingly.
-
Hooray, go it to work with the latest version of z-push! I just did the following as a root:
# cd /usr/share
# service zarafa-server stop
# sudo mv /usr/share/z-push /usr/share/z-push-orig
# wget http://zarafa-deutschland.de/z-push-download/final/2.0/z-push-2.0.7-1690.tar.gz
# sudo tar -zxvf z-push-2.0.7-1690.tar.gz
# sudo mv /usr/share/z-push-2.0.7-1690.tar.gz/ /usr/share/z-push
# cd ..
# sudo mkdir /var/lib/z-push ( if not needed the server will say so )
# sudo mkdir /var/log/z-push ( if not needed the server will say so )
# cd /var/log
# sudo chmod 777 z-push
# cd /var/lib
# sudo chmod 777 z-push
# service zarafa-server start
Actually, I think stopping the zarafa server before doing anything is the critical bit?
Now I just need to sort the permissions on the /var/lib/z-push and /var/log/z-push files :D