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

Post by Arulogic »

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

Post by Scotter »

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
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Easy install of Z-Push

Post by barrydegraaff »

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
Outstanding Member
Outstanding Member
Posts: 283
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_FOSS Patch38

Re: Easy install of Z-Push

Post by 7224jobe »

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

Post by duplico.online »

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

Post by duplico.online »

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

Post by crispy »

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: 12
Joined: Tue Jan 08, 2019 5:22 pm
Contact:

Re: Easy install of Z-Push

Post by alebeta »

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: 6
Joined: Sun Sep 22, 2019 3:00 pm

Re: Easy install of Z-Push

Post by zrustam80 »

Hi!
Follow all the instructions given and everything will work.

https://imanudin.net/2019/08/30/exchang ... e-edition/

Done after update https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15/P3
wobonfim
Posts: 2
Joined: Thu Nov 07, 2019 4:50 pm

Re: Easy install of Z-Push

Post by wobonfim »

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

I have the same problem here!!!! could you help me please
Post Reply