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: 63
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: 149
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.6.0_GA_1153.RHEL6_64 Patch 14

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.
duplico.online
Posts: 4
Joined: Tue Jul 31, 2018 8:24 am

Re: Easy install of Z-Push

Postby duplico.online » Tue Feb 19, 2019 9:46 pm

Hello,

i followed tut to the last word and all went fine.
I am able to open https://my.server/Microsoft-Server-ActiveSync with no problem.
What i do not know is how to connect my mobile phone to this server?
I suppose for server hostname my.server is used, but after that do i need some port or?
Please help.
duplico.online
Posts: 4
Joined: Tue Jul 31, 2018 8:24 am

Re: Easy install of Z-Push

Postby duplico.online » Tue Feb 19, 2019 9:50 pm

Nevermind... used the wrong account password... LOL :)
WOrks like a charm.
crispy
Posts: 1
Joined: Mon Jul 08, 2019 1:21 am

Re: Easy install of Z-Push

Postby crispy » Mon Jul 08, 2019 1:24 am

jasggomes wrote:Hi, again,

The problem was because PHP-FPM was using file socket instead of IP.

Changed it on: /etc/php/7.0/fpm/pool.d/www.conf, and started to function, although I'm now having issue with Authentication

JG


Hi, to which IP port did you configured it?

Thanks
User avatar
alebeta
Posts: 11
Joined: Tue Jan 08, 2019 5:22 pm
Contact:

Re: Easy install of Z-Push

Postby alebeta » Wed Jul 17, 2019 6:59 pm

Scotter wrote: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



Hello,

Which method did you use to change jetty? I had been trying to edit jetty.xml but not luck so far. If you could share your experience would be great!

thanks
zrustam80
Posts: 5
Joined: Sun Sep 22, 2019 3:00 pm

Re: Easy install of Z-Push

Postby zrustam80 » Tue Oct 22, 2019 9:44 am


Return to “Mobility”

Who is online

Users browsing this forum: No registered users and 1 guest