Zimbra 9 - FOSS

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

Re: Zimbra 9 - FOSS

Postby phoenix » Thu Sep 23, 2021 8:38 am

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
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
ZCS/ZD Version: Zimbra OSE 8.8.15_GA_4059
Contact:

Re: Zimbra 9 - FOSS

Postby ianw1974 » Thu Sep 23, 2021 10:06 am

Builds for CentOS 7 and CentOS 8 are now up: https://github.com/ianw1974/zimbra-builds
User avatar
ianw1974
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
ZCS/ZD Version: Zimbra OSE 8.8.15_GA_4059
Contact:

Re: Zimbra 9 - FOSS

Postby ianw1974 » Thu Sep 23, 2021 11:40 am

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

Re: Zimbra 9 - FOSS

Postby L. Mark Stone » Thu Sep 23, 2021 12:23 pm

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/
Zeta Alliance http://www.zetalliance.org/
User avatar
ianw1974
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
ZCS/ZD Version: Zimbra OSE 8.8.15_GA_4059
Contact:

Re: Zimbra 9 - FOSS

Postby ianw1974 » Thu Sep 23, 2021 1:33 pm

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
Elite member
Elite member
Posts: 2299
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

Re: Zimbra 9 - FOSS

Postby L. Mark Stone » Fri Sep 24, 2021 5:28 pm

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/
Zeta Alliance http://www.zetalliance.org/
Twissell
Posts: 5
Joined: Sat Jul 17, 2021 5:55 am

Re: Zimbra 9 - FOSS

Postby Twissell » Sun Sep 26, 2021 9:01 am

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
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
ZCS/ZD Version: Zimbra OSE 8.8.15_GA_4059
Contact:

Re: Zimbra 9 - FOSS

Postby ianw1974 » Mon Sep 27, 2021 3:16 pm

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
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
ZCS/ZD Version: Zimbra OSE 8.8.15_GA_4059
Contact:

Re: Zimbra 9 - FOSS

Postby ianw1974 » Mon Sep 27, 2021 3:41 pm

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: 26894
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra 9 - FOSS

Postby phoenix » Mon Sep 27, 2021 7:16 pm

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 29 guests