Zimbra 9 - FOSS

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra 9 - FOSS

Post by phoenix »

ianw1974 wrote:If you want a generic build using the Zimbra build process, I have here currently for Ubuntu 18.04. When my CentOS7/CentOS8 finish building they will appear soon: https://github.com/ianw1974/zimbra-builds
Nice one, Ian. :D
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 229
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 9 - FOSS

Post by ianw1974 »

Builds for CentOS 7 and CentOS 8 are now up: https://github.com/ianw1974/zimbra-builds
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 229
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 9 - FOSS

Post by ianw1974 »

Oracle 8 builds ready, available on same link in previous post.
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Zimbra 9 - FOSS

Post by L. Mark Stone »

Hi Ian,

Thanks so much for all the work on this. Zimbra's Open Source heritage and availability is for many of Network Edition customers a key reason why they are on Zimbra and not M365/GWorkplace.

Is my understanding correct that using your build script will generate a 9.0.0 FOSS build updated to the Zimbra Patch level available at the time of the build?

And is it also correct then that the only way to install a later Patch level would be to rerun the build script and then do an in-place upgrade using the newly built Zimbra installer?

Thanks,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 229
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 9 - FOSS

Post by ianw1974 »

Hi Mark,

To be honest I'm not sure. My scripts utilise what the https://github.com/Zimbra/zm-build provides so assuming that the updates made there by Zimbra include their patches, then I guess so. Each of the packages that I build, do install dependencies from the Zimbra repositories as well - I know with Zimbra 8.x any updates that come through, come via the Zimbra repository. Whether that is the same or not for 9.x I've no idea, since I don't have that info, but there is also the potential that the updates won't come via the repositories.

Assuming that is the case, then yes, building the packages and running install.sh would get the existing installation upgraded. This is how it was done originally with Zimbra until the Zimbra repositories appeared, as the only way was to download each quarter the new version and upgrade by running install.sh.

Of course, there is also the potential, that if Zimbra don't make the patches available from zm-build, then it would be unpatched. I can't imagine that is the case though. That wouldn't be a responsible thing to do. It's one thing not providing the ZCS builds, another to actually do that without providing patches and security updates. That would make Zimbra look bad.

You can either build from my scripts, which simplifies the process, or I also have builds on the links above, which means it saves people having to do the build process who might not have the experience or want to do that.

Incidently, I've just had to pay Github for LFS storage space, since free only has 1GB, so I've had to purchase as I'd ran out of space. But I take that as a small cost for helping the community :)
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Zimbra 9 - FOSS

Post by L. Mark Stone »

Thanks Ian,

I'm asking around off-piste to find out about whether the zm-build script incorporates the latest Patch or not.

Also, as regards your comment about pre-repo Zimbra patches, the patches were installed after downloading an installer, but the install.sh for the Patch didn't do a complete reinstall of Zimbra; it just replaced a bunch of pieces after which you needed to restart some or all of the Zimbra services and/or flush one or more caches.

Doing an in-place upgrade by running the actual Zimbra installer is a violent process that among other things wipes your LDAP database, removes all the Zimbra rpm/deb packages and then reinstalls them, followed by restoring LDAP and running a bunch of zmprov and zmlocalconfig -e commands to restore all of your settings.

All the best,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Twissell
Posts: 5
Joined: Sat Jul 17, 2021 5:55 am

Re: Zimbra 9 - FOSS

Post by Twissell »

ianw1974 wrote:If you want a generic build using the Zimbra build process, I have here currently for Ubuntu 18.04. When my CentOS7/CentOS8 finish building they will appear soon: https://github.com/ianw1974/zimbra-builds
Great!

Much appreciated your work for Community, thanks!
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 229
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 9 - FOSS

Post by ianw1974 »

L. Mark Stone wrote:Thanks Ian,

I'm asking around off-piste to find out about whether the zm-build script incorporates the latest Patch or not.
From looking at the commits, tags, and releases being made on the zm-build github, it does seem to hint at the patches being applied for new builds to then be created. So in theory we should be all good.
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 229
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 9 - FOSS

Post by ianw1974 »

For anyone interested, a Rocky Linux build now exists. zm-build has a pr request awaiting, and utilised this to patch prior to building Zimbra. I have installed this on Rocky Linux to make sure it works. So far seems good, all services running and Zimbra configured as normal. Available here: https://github.com/ianw1974/zimbra-builds
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra 9 - FOSS

Post by phoenix »

A Rocky Linux build as well, you're too kind. Well done for that, I'll have to give that a spin sometime soon. :) Many thanks for all the work you're doing on these builds.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply