Easy install of Z-Push
Easy install of Z-Push
Hi,
I wrote a small tutorial for installing Z-Push on Zimbra here: https://www.stefanseidel.info/Z-Push_on_Zimbra_8
I hope you find this helpful.
Looking forward to feedback, constructive criticism is encouraged
Stefan
I wrote a small tutorial for installing Z-Push on Zimbra here: https://www.stefanseidel.info/Z-Push_on_Zimbra_8
I hope you find this helpful.
Looking forward to feedback, constructive criticism is encouraged
Stefan
Re: Easy install of Z-Push
Thanks for sharing this, it's always good to have tutorials
Justa s a note I installed it from repo following the instructions at https://wiki.z-hub.io/display/ZP/Installation
It install apache and there is also a module that configure Apache virtual server for you, same for the zimbra backend install instructions posted on sourceforge
Cheers
Justa s a note I installed it from repo following the instructions at https://wiki.z-hub.io/display/ZP/Installation
It install apache and there is also a module that configure Apache virtual server for you, same for the zimbra backend install instructions posted on sourceforge
Cheers
Re: Easy install of Z-Push
Yes, and I wanted to avoid having yet another thing running. Apache is already running for Zimbra Spell, but I didn't want to misuse it and also didn't want to have two Aapche running. Besides, I find php-fpm better than mod_php in every regardmilauria wrote:Thanks for sharing this, it's always good to have tutorials
Justa s a note I installed it from repo following the instructions at https://wiki.z-hub.io/display/ZP/Installation
It install apache and there is also a module that configure Apache virtual server for you, same for the zimbra backend install instructions posted on sourceforge
Cheers
Stefan
-
- Outstanding Member
- Posts: 284
- Joined: Sat Sep 13, 2014 1:55 am
- ZCS/ZD Version: 8.8.15_FOSS Patch38
Re: Easy install of Z-Push
Thanks for sharing, I have never thought about using Zimbra Nginx, I always installed Z-Push on a separate server. I'll try your method on the next install!
- jasggomes
- Advanced member
- Posts: 90
- Joined: Sat Sep 13, 2014 12:59 am
- Location: Lisbon, PT
- ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
- Contact:
Re: Easy install of Z-Push
Hi Stefan, thank you for you tutorial, any good idea for deploying this on Zimbra 8.8.6 OSE and Ubuntu 16.04?seidler wrote:Hi,
I wrote a small tutorial for installing Z-Push on Zimbra here: https://www.stefanseidel.info/Z-Push_on_Zimbra_8
I hope you find this helpful.
Looking forward to feedback, constructive criticism is encouraged
Stefan
Having issues witj the PHP modules::
root@mail:~# apt-get install php5-memcached php5-cli php-soap php5-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
php7.0-cli:i386 php7.0-cli
E: Unable to locate package php5-memcached
E: Package 'php5-cli' has no installation candidate
E: Package 'php5-fpm' has no installation candidate
I'll keep checking, but it is a good idea to have some input from you.
Regards.
JG
- jasggomes
- Advanced member
- Posts: 90
- Joined: Sat Sep 13, 2014 12:59 am
- Location: Lisbon, PT
- ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
- Contact:
Re: Easy install of Z-Push
Him installed the PHP 7 modules
configured the system as per your configs, but keep having this:
HTTP ERROR 502
Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Any ideas?
OS ubuntu 16.04 and Zimbra 8.8.6
I think that we can keep the same ports for webmail for 443 right?
Regards
JG
configured the system as per your configs, but keep having this:
HTTP ERROR 502
Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Any ideas?
OS ubuntu 16.04 and Zimbra 8.8.6
I think that we can keep the same ports for webmail for 443 right?
Regards
JG
- jasggomes
- Advanced member
- Posts: 90
- Joined: Sat Sep 13, 2014 12:59 am
- Location: Lisbon, PT
- ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
- Contact:
Re: Easy install of Z-Push
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
Seeing this in LOGS:
08/02/2018 18:15:05 [12136] [FATAL] [admin@xxxx] Fatal error: /var/www/z-push/lib/utils/utils.php:1144 - Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/z-push/lib/utils/utils.php:1144
Stack trace:
#0 /var/www/z-push/lib/request/request.php(251): Utils::ConvertAuthorizationToUTF8('admin@xxxxxx')
#1 /var/www/z-push/index.php(61): Request::ProcessHeaders()
#2 {main}
thrown (1)
Again, any ideas?
Thanks and regards.
JG
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
Seeing this in LOGS:
08/02/2018 18:15:05 [12136] [FATAL] [admin@xxxx] Fatal error: /var/www/z-push/lib/utils/utils.php:1144 - Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/z-push/lib/utils/utils.php:1144
Stack trace:
#0 /var/www/z-push/lib/request/request.php(251): Utils::ConvertAuthorizationToUTF8('admin@xxxxxx')
#1 /var/www/z-push/index.php(61): Request::ProcessHeaders()
#2 {main}
thrown (1)
Again, any ideas?
Thanks and regards.
JG
-
- Outstanding Member
- Posts: 284
- Joined: Sat Sep 13, 2014 1:55 am
- ZCS/ZD Version: 8.8.15_FOSS Patch38
Re: Easy install of Z-Push
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.
- jasggomes
- Advanced member
- Posts: 90
- Joined: Sat Sep 13, 2014 12:59 am
- Location: Lisbon, PT
- ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
- Contact:
Re: Easy install of Z-Push
Thnaks for the reply .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.
Going to have a look into it now.
Thanks
- jasggomes
- Advanced member
- Posts: 90
- Joined: Sat Sep 13, 2014 12:59 am
- Location: Lisbon, PT
- ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
- Contact:
Re: Easy install of Z-Push
Hello all, quick update7224jobe 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.
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