Easy install of Z-Push

Take your Zimbra with you!
Arulogic
Posts: 1
Joined: Thu Dec 20, 2018 4:06 am

Re: Easy install of Z-Push

Postby Arulogic » Thu Dec 20, 2018 8:03 am

jasggomes wrote:
7224jobe wrote:It looks like you did not install php5-mbstring....taking a look to seidler guide, it suggests to install php-mbstring on CentOS, but not on Ubuntu. I'd try installing php5-mbstring.


Hello all, quick update

Again thank you all, for the TUT and the help that followed it.

In fact in ubuntu 16.04 I've installed the default PHP, which is ver 7, and the modules suggested, but as I mentioned that didn't work as per default.
So, after following the TUT I had to change some things for ubuntu 16.04 and Zimbra 8.8.6 OSE. Also Z-push is 2.3.9 (latest) and Zimbra backend is v67 latest.

PHP install:

apt-get install php-memcached php-cli php-soap php-fpm php-mbstring php-curl

Since PHP configures the socket to be by file instead of by IP, I had to change it in:

vi /etc/php/7.0/fpm/pool.d/www.conf

After is just following the rest of the TUT, so far, but I'll keep testing it on my test env.

I'm now reverting to a snap prior the PHP install to do it all again, but now I'm going to use the Z-push repo instead of the package itself.

Regards



To do this edit this file /etc/php/7.0/fpm/pool.d/www.conf like below

Code: Select all

[...]
;listen = /var/run/php5-fpm.sock
listen = 127.0.0.1:9000
[...]


Scotter
Posts: 1
Joined: Fri Feb 01, 2019 2:00 am

Re: Easy install of Z-Push

Postby Scotter » Fri Feb 01, 2019 2:09 am

seidler,

Thanks so much for the tutorial! It worked perfectly.

However there was one problem, and this is due to me being foolish and unfamiliar with my new Zimbra install, so I'll post it here for posterity.

I kept receiving the following error at https://zimbra.myserver.com/Microsoft-Server-ActiveSync ..

Code: Select all

HTTP ERROR 404
Problem accessing /service/extension/zimbrasync. Reason:

    Not Found


..for one simple reason: jetty is on one port, and nginx is on another. I thought nginx was acting as a proxy for everything.

I have my web interface set to run on 443, but I didn't realize nginx was on 4433. So I spent quite some time trying to figure out why, until I realized that /Microsoft-Server-ActiveSync is aliased in BOTH jetty.xml AND the various nginx conf files.

Hopefully this saves someone else from the same foolish fate as myself.

- Scott

CentOS 7.6.1810 / Zimbra 8.8.11 / PHP 5.4.16
User avatar
barrydegraaff
Advanced member
Advanced member
Posts: 61
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Easy install of Z-Push

Postby barrydegraaff » Fri Feb 01, 2019 9:33 am

Would it be an idea to have a docker version of Zimbra/Zpush? So that people can deploy that easy on a single server zimbra?
7224jobe
Advanced member
Advanced member
Posts: 120
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.6.0_GA_1237.RHEL6_64

Re: Easy install of Z-Push

Postby 7224jobe » Tue Feb 05, 2019 1:48 pm

barrydegraaff wrote:Would it be an idea to have a docker version of Zimbra/Zpush? So that people can deploy that easy on a single server zimbra?


It could be a good idea in my opinion, making z-push + zimbra backend installation more straightforward. Personally I install z-push + zimbra backend on a separate VM, since I do not like to mess with zimbra Nginx config files.

Return to “Mobility”

Who is online

Users browsing this forum: No registered users and 1 guest