Update Url Working?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
CarlCox
Posts: 4
Joined: Tue Oct 16, 2018 9:51 am

Update Url Working?

Postby CarlCox » Mon Apr 15, 2019 9:10 am

Hy!

I don't get any Zimbra Updates.
Is this URL correct?

https://www.zimbra.com/aus/universal/update.php

Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-145-generic x86_64)
Zimbra 8.8.10_GA_3039.FOSS (build 21080928094617) 28. Sep 2018

Thank You!


User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Update Url Working?

Postby pup_seba » Mon Apr 15, 2019 10:05 am

Hi,

I'm sorry for the ignorance, but I did not know about the existance of that URL. When I want to upgrade/update Zimbra, I either:

- Update via Zimbra repositories
- Update by downloading the binaries for the new version and run an /.install.sh

What are you expecting to see in that url?
User avatar
DualBoot
Elite member
Elite member
Posts: 1090
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Update Url Working?

Postby DualBoot » Mon Apr 15, 2019 10:46 am

Hello,

this URL is used by Zimbra server to show if there is a new version of Zimbra and displays it into the admin web interface.

Regards,
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Update Url Working?

Postby pup_seba » Mon Apr 15, 2019 11:42 am

Ohh ok, thanks.

Right now I'm using 8.8.12 but now that you mention it, I don't remember when it was the last time I saw an update notification.

For what I can see in "zmprov gacf", everything seems to be allright at least from server and the response it gets, but again, i am using the last avaialble version so my tests are kind of not useful, sorry.

[zimbra@zimbrastore01 ~]$ zmprov gacf | grep -i versioncheck
zimbraReverseProxyExactServerVersionCheck: on
zimbraVersionCheckInterval: 1d
zimbraVersionCheckLastAttempt: 20190415113030.381Z
zimbraVersionCheckLastResponse: <?xml version="1.0"?>
<versionCheck status="0">
</versionCheck>

zimbraVersionCheckLastSuccess: 20190415113030.381Z
zimbraVersionCheckNotificationBody: ${BEGIN_PREFIX}The following updates were found:${NEWLINE}${NEWLINE}${END_PREFIX}${BEGIN_UPDATE}${UPDATE_COUNTER}. ${IS_CRITICAL}. Version: ${UPDATE_VERSION}, URL: ${UPDATE_URL}${NEWLINE}${NEWLINE}${END_UPDATE}${BEGIN_SIGNATURE}Zimbra Updater${NEWLINE}${END_SIGNATURE}
zimbraVersionCheckNotificationEmail: admin@domain.com
zimbraVersionCheckNotificationEmailFrom: admin@domain.com
zimbraVersionCheckNotificationSubject: ${IS_CRITICAL} updates are available for your Zimbra server
zimbraVersionCheckSendNotifications: TRUE
zimbraVersionCheckServer: cf1d47c5-2b49-4227-b093-794efcb3a10c
zimbraVersionCheckURL: https://www.zimbra.com/aus/universal/update.php
CarlCox
Posts: 4
Joined: Tue Oct 16, 2018 9:51 am

Re: Update Url Working?

Postby CarlCox » Mon Apr 15, 2019 12:02 pm

Thanks we download 8.8.12 and run the install.sh
It works now.

But in the Admincenter we dont get any notifications. is that normal?
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Update Url Working?

Postby pup_seba » Tue Apr 23, 2019 6:38 am

Hi,

In another post viewtopic.php?f=15&t=65932&start=30, user halfgaar reported (out of topic i think) that running this command does not work.
/opt/zimbra/libexec/zmcheckversion -c. As I did not see the "c" option in the help of the command (and have no willing to see the actual code to read what's in it), i also ran "-m", which shows the same result as with "-c". In both I have "too early".

So yeap, it seems from this and from what you say, that the checkversion is not working as expected?
halfgaar
Advanced member
Advanced member
Posts: 82
Joined: Sat Sep 13, 2014 12:54 am
Location: Netherlands
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU16.64

Re: Update Url Working?

Postby halfgaar » Tue Apr 23, 2019 6:57 pm

pup_seba, you mention repos. I have apt sources:

Code: Select all

deb     [arch=amd64] https://repo.zimbra.com/apt/87 trusty zimbra
deb-src [arch=amd64] https://repo.zimbra.com/apt/87 trusty zimbra


But I don't seem to get the application updates that way. I still have to run the monolithic installer. And even then, patches are sometimes an additional tarball, like for this critical cve-2019-9670 (which is being exploited!).

Anyway, I can't seem to find the official source code for it, but I found source of a fork of VersionCheckUtil.java. In it, you can see that you need '-c' to check the version.

You can also see that it says 'Too early' when the last check was too recent. So, I changed the check interval to one second and ran '/opt/zimbra/libexec/zmcheckversion -c'. No output, no e-mail. I tried '-r' and '-m' too, to no avail.
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Update Url Working?

Postby pup_seba » Wed Apr 24, 2019 6:39 am

Ohh ok. So the "too early" is meant to not overwhelm their servers with continous version check requests. Good to know, I wasn't aware of that! Thank you!!!

Regarding the repos, for upgrading versions (major or minor), they don't work as you will still need to deploy from binaries. For patching they do work or at least they should. They are indeed some times (i can only remember one) for which in the patch release notes a specific file should be deployed from outside the patch.
halfgaar
Advanced member
Advanced member
Posts: 82
Joined: Sat Sep 13, 2014 12:54 am
Location: Netherlands
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU16.64

Re: Update Url Working?

Postby halfgaar » Sun May 05, 2019 10:57 am

I submitted a bug report about the updater not working. No response so far.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests