Find out what version of Zimbra you are running
Knowing the exact Zimbra release matters before an upgrade, a migration, or when you look up a bug or patch. Here’s the two ways that seem to be the most common ways to find the present zimbra version: asking the running server with zmcontrol, or reading the install history file, which also works on a backup.
Prerequisites
- Shell access to the Zimbra server as root, or a copy of its
/opt/zimbradirectory.
Method 1: zmcontrol -v
Login as root

Zimbra’s tools are meant to be run as the zimbra user, which has the right environment and PATH set up, so switch to it:
su - zimbra

from here run zmcontrol -v
zmcontrol -v

in this case, it looks as though we have 8.0.6_GA on a Redhat/CentOS system, running the Free/Open Source edition.

The output is read like this: 8.0.6_GA is the release, 5922 the build number, RHEL6_64 the platform the package was built for, and the last word is the edition. FOSS means the free Open Source edition, while NETWORK means the commercial Network Edition.
Method 2: the install history file
if all you have is a backup, you can look at the following file:
cat /opt/zimbra/.install_history | tail

this should show you something like the following:

The file records each package installed or upgraded, with a timestamp, so the last lines show the most recent version.
This shows the 8.0.6_GA, but does not really say if it’s the network edition or OpenSource.
Troubleshooting
- zmcontrol: command not found: you are still root, or you used
su zimbrawithout the dash. Usesu - zimbraso the zimbra user’s environment is loaded. - Edition unclear from a backup: look at the package names in the history; Network Edition installs include packages that the Open Source edition does not.
Newer releases
On Zimbra 9 and 10, zmcontrol -v works the same way. You can also ask the package manager, for example rpm -qa | grep zimbra on RHEL-family systems or dpkg -l | grep zimbra on Ubuntu. If you are checking the version before moving servers, see Migrate Zimbra Community to New Server.
That’s it!
Hosted Linux servers at www.zwiegnet.com/go
Related guides: Upgrade Zimbra Community Version CentOS 6 | Get member of Zimbra Distribution group command line
