Page 3 of 4

Re: Easy install of Z-Push

Posted: Thu Dec 20, 2018 8:03 am
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
[...]

Re: Easy install of Z-Push

Posted: Fri Feb 01, 2019 2:09 am
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

Re: Easy install of Z-Push

Posted: Fri Feb 01, 2019 9:33 am
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?

Re: Easy install of Z-Push

Posted: Tue Feb 05, 2019 1:48 pm
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.

Re: Easy install of Z-Push

Posted: Tue Feb 19, 2019 9:46 pm
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.

Re: Easy install of Z-Push

Posted: Tue Feb 19, 2019 9:50 pm
by duplico.online
Nevermind... used the wrong account password... LOL :)
WOrks like a charm.

Re: Easy install of Z-Push

Posted: Mon Jul 08, 2019 1:24 am
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

Re: Easy install of Z-Push

Posted: Wed Jul 17, 2019 6:59 pm
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

Re: Easy install of Z-Push

Posted: Tue Oct 22, 2019 9:44 am
by zrustam80

Re: Easy install of Z-Push

Posted: Thu Nov 07, 2019 4:52 pm
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