ZeXtras Suite Installation Guide

From ZeXtras Suite Wiki

Jump to: navigation, search
Language: English  • español • português
Warning.png Warning!

This wiki is outdated and not maintained anymore, please refer to the new Zextras Documentation Hub at https://docs.zextras.com

Zextras logo box.png
This documentation is outdated.
Please refer to https://docs.zextras.com

Basic informations


No additional software beyond what's required by a standard Zimbra deployment is necessary in order to install Zextras Suite.

Warning.png Warning!

All commands must be executed as the 'zimbra' user unless differently specified

Where to get the Zextras Suite package

Go to the download page on www.zextras.com or simply use wget directly from your server:

wget http://download.zextras.com/zextras_suite-latest.tgz

(this URL will always point at the latest release of Zextras Suite)


Zextras Suite is comprised of three major components:

  • Zextras Suite Core, abbreviated as Zextras Core or Core, which is a jar package extending Zimbra
  • Zextras Suite Administrative Zimlet, abbreviated as Zextras Suite Zimlet or just Zimlet, an administrative zimlet which accesses and manages the Core.
  • ZAL - An Open Source abstraction layer for Zimbra.

The installation script follows the aforementioned structure allowing you three installation targets: core, zimlet and all . The latter is equivalent of installing core and immediately afterwards zimlet .

Other Zextras Zimlets

While the Zextras Suite package includes the Zextras Administration Zimlet, the Zextras Chat Zimlet and the Zextras Client Zimlet must be deployed severaly. Check the respective Zextras Wiki entries for more information.

Quick Installation Guide

  • Download Zextras Suite on your server
  • As ROOT, unpack the file you just downloaded inside a directory (we suggest in /root/) in your Zimbra server.
  • Enter the directory created by the unpacking of the file.
  • Run the install.sh script with the "all" option (so ./install.sh all).
  • The installer will take care of downloading the latest available Core, ZAL and Zimlets for your Zimbra version.

Detailed Installation & Setup informations

ZAL - an abstraction layer for Zimbra

The ZAL is an Open Source abstraction layer created to allow any extension to easily communicate with Zimbra Collaboration Suite, regardless of the version in use.

It is released under the GPL license and thus cannot be included in the Zextras Suite package, but during the installation process the Zextras Installer will automatically detect the most appropriate library version and will download and install it autonomously.

Should the automatic download fail, a direct download link will be provided: the downloaded file must be renamed to "zal.jar" and copied into the "packages/" subdirectory of the Zextras Suite package. Restarting the installer will detect the new file and install it along with Zextras Suite.

Zimbra 8.x Zimbra Administration Console login issue (AjxError)

Zimbra 8.x users might experience slowness and AJAX errors when accessing the Zimbra Administration Console because of the Zimbra DOS Filter. In this case, raising the number of Maximum Requests per Second is suggested (see Zextras Suite and the Zimbra DoSFilter for further informations)

Zimbra Chat removal

Starting from version 2.6.1, the Zextras Installer removes the Zimbra Chat component to anyone who is using or wants to use Zextras Chat instead. In order for this to happen, the LDAP and Mailbox services must be up and running as the installer relies on the default `zmzimletctl` command to undeploy the Zimbra Chat zimlet.

Zimbra Upgrade

When Zimbra is upgraded the Zextras Core is removed from the server, so in case of a Zimbra upgrade Zextras Suite must be reinstalled. All the data and settings will be maintained, so after re-installing everything will be exactly as it was before the Zimbra upgrade.

Warning.png Warning!

Before upgrading your Zimbra server, please make sure that a compatible Zextras Suite version has been released. A Zextras Suite "compatibility" release is usually done within 48 hours since the release of a new Zimbra version.

Zimbra Patches

The information above only applies to "version upgrades": installing a Zimbra patch won't affect Zextras Suite in any way and thus reinstalling the package is not required.

Minimum requirements and tweaking

Zextras Suite's impact on system resources is neglectible, but we still strongly suggest a minimum RAM of 4GB even for small environments to greatly improve your Zimbra experience.

If you are interested in optimization and tweaking we suggest to read the following article on the Zimbra wiki, which despite the title applies to both large and small deployments: http://wiki.zimbra.com/wiki/Performance_Tuning_Guidelines_for_Large_Deployments

Zextras Suite on Multiserver infrastructures

Depending on the server roles in use, some additional precautions must be taken:

Installing Zextras Suite on a Single-store infrastructure

Installing Zextras Suite on a multiserver infrastructure including a single mailbox server is just as easy as installing it on a single-server infrastructure, as the software must only be installed on servers running the mailboxd service.

Installing Zextras Suite on a Multistore infrastructure

Zextras Suite installation in a Multistore infrastructure featuring multiple mailbox servers requires the following additional precautions:

  • Zextras Suite must be installed in ALL the store servers (the ones with the mailboxd service running).
  • Zextras Suite uses ports 8735 and 8736 for store-to-store communication, make sure your servers can reach each other on this port and that the same port is closed to outside traffic.

General instructions

Before installing Zextras Suite one will need to have downloaded the package, as explained in the appropriate section above, and exploded the archive in a directory of one's choice.

$ tar xfz zextras_suite-latest.tgz
$ ls
zextras_suite-latest.tgz zextras_suite/

Inside the directory zextras_suite one shall find an executable shell script named install.sh.

$ cd zextras_suite
$ ./install.sh -h

./install.sh -h | ./install.sh [ -u ] all|zimlet|core

-h         This very message
-u         Uninstall the target

The targets available for (un)installation are:
core   -- Zextras Core
zimlet -- Zextras Suite Zimlet
all    -- Zextras Core followed by Zextras Suite Zimlet

* In order to use Zextras Suite both
* core and zimlet need to be installed.

The output of ./install.sh -h will give the user a concise explanation regarding the usage of the installation script.

In order to successfully perform an installation one shall need to either become the root user or execute the script with root privileges (e.g. using sudo).

Once launched the script will perform a check of your system determining your Zimbra version and checking for any preexistent installation of either Zextras Suite or Zextras Migration Tool.

Warning.png Warning!

Were any component of Zextras Migration Tool detected, you will be prompted to uninstall them (as detailed here) and rerun the Zextras Suite installation script afterwards.

Proceeding with the installation requires for the EULA of Zextras to be accepted, after which the actual installation shall take place.

Zextras Suite full Installation

In order to install Zextras Suite you need for both Core and Zimlet to be correctly deployed and functional.
Choosing all as target will install Core and Zimlet, in that order, in one go.
Alternatively you can invoke the install.sh script with either core or zimlet as targets, installing each separately

Warning.png Warning!

Beware: Zextras Core and Zextras Zimlet MUST match versions, even when installed separately.

Full installation:

./install.sh all

Zextras Suite Core Installation

In order to install Zextras Core you need for Zimbra services to be stopped beforehand.
You can either stop them before running the script or having them stopped by the script when prompted.
Once that step is cleared the script will perform a series of checks regarding a potential previous installation of Zextras Core and eventually install the jar file among the Zimbra extensions.

Core-only installation:

./install.sh core

Deployed the Core, Zimbra will need to be restarted to verify the former's correct operation.
(If you are using the all target to install both Core and Zimlet the script itself will prompt to start Zimbra.)

Zextras Suite Zimlet Installation

In order to install the Zextras Suite Zimlet you need for Zimbra services to be running.
As above, you can either proceed manually beforehand or let the script start them when prompted to do so.
Once Zimbra is active the administrative zimlet will be deployed, provided the core is already installed and both Core and Zimlet versions match.

Zimlet-only installation:

./install.sh zimlet

Zextras Suite full Upgrade

In case of a preexistent instance of Zextras Suite on your system installing a newer version will automatically perform an upgrade.
See the instructions above for the installation procedure.

If you just upgraded your Zimbra install, please see the Zimbra Upgrade section above.

Upgrading Zextras Suite on a Multiserver infrastructure

  • Upgrading Zextras Suite to a different micro release (e.g. 2.16.1 to 2.16.2)
    • Each separate server can be upgraded independently, and Zextras Suite will be fully functional even in a mixed-version environment
  • Upgrading to a different major release (e.g. 2.14.x to 2.16.x)
    • All servers should be upgraded at the same time, as in this case backwards compatibility is not guaranteed and Zextras Suite will not be fully functional until all nodes have been upgraded to the same version.

Zextras Suite Uninstallation

The removal procedure is mostly similar to the installation one. Placing the -u switch before the target is all is needed.
The script will verify the presence of any Zextras Suite components and prompt for their removal.


./install.sh -u all

will uninstall both the Zextras Core and the Zextras Administration Zimlet


./install.sh -u core

will uninstall the Zextras Core


./install.sh -u zimlet

will uninstall the Zextras Administration Zimlet

Post-Install and Post-Uninstall

After either installing or uninstalling Zextras Suite, it's highly suggested to clear both your browser's and server's cache.

In order to clear your server's Zimlet cache, simply run

 zmprov fc zimlet

as the 'zimbra'user.

Personal tools