Notifications
Clear all

Bug in installer : Updating global config and COS's with attributes introduced after 9.0.0_ZEXTRAS...failed.


niko
 niko
(@niko)
Joined: 9 years ago
Posts: 13
Topic starter  

Hello Zx Team,

 

I think there is a bug with the installer, well, in fact the installer seems not compatible with OSS by Zextras numbering :

Sat Nov 26 1346 2022 Updating zimbraLDAPSchemaVersion to version '1649766200'
Sat Nov 26 1346 2022 entering function: gcf zimbraLDAPSchemaVersion=1649766200
Sat Nov 26 1346 2022 Updating cached global config attribute zimbraLDAPSchemaVersion=1649766200
Sat Nov 26 1346 2022 * * * Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraLDAPSchemaVersion '1649766200'
Sat Nov 26 1348 2022 Updating global config and COS's with attributes introduced after 9.0.0_ZEXTRAS...
Sat Nov 26 1348 2022 * * * Running as zimbra user: zmjava com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 27075 -v 9.0.0_ZEXTRAS


--------------
com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 27075 -v 9.0.0_ZEXTRAS 
--------------
invalid version: 9.0.0_ZEXTRAS

usage: com.zimbra.cs.account.ldap.upgrade.LdapUpgrade  [args]
 -b,--bug     bug number this upgrade is for
 -d,--desc    describe this upgrade task 
 -da,--descAll     describe all upgrade tasks
 -h,--help         print usage
 -v,--verbose      be verbose

args for bug 27075:
    {since}  (e.g. 5.0.12)

Sat Nov 26 1350 2022 failed.

 

So questions are :

- How can we run LDAP Upgrade manually as a short term fix ?

- Any fix planned for future releases ?

 

Btw, thanks for the great help with your builds !!

 

Nicolas


Quote
phoenix
(@phoenix)
Joined: 8 years ago
Posts: 88
 

Unless I've missed it, I don't see the operating system mentioned.

Why don't you just run the installer again and only select the Install for:

Install zimbra-ldap [Y]

See what happens with that.


dominix liked
ReplyQuote
niko
 niko
(@niko)
Joined: 9 years ago
Posts: 13
Topic starter  

@phoenix indeed I didn't provide any detail, sorry. Here is the context :

OS : Ubuntu 18

Operation : upgrating from Release 9.0.0.ZEXTRAS.20211118.UBUNTU18.64 UBUNTU18_64 FOSS edition to Release 9.0.0.ZEXTRAS.20220713.UBUNTU18.64 UBUNTU18_64 FOSS edition.

BTW, I don't get the point of your suggestion, as this is an upgrade, I can't select only zimbra-ldap=Y, it's automatically selected :

Do you wish to upgrade? [Y]

[...]

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

What I understand from the error message invalid version: 9.0.0_ZEXTRAS is Zimbra doesn't understand this format "9.0.0_ZEXTRAS" for applying LDAP schema upgrades (probably because it doesn't have this version in its mapping table)

When I check the previous upgrade's log (1 year ago), it didn't failed because I was upgrading from Zimbra 8.6 to Zimbra 9, so the version was known by Zimbra :

Mon Nov  1 0953 2021 Updating global config and COS's with attributes introduced after 8.6.0_GA...
Mon Nov  1 0953 2021 * * * Running as zimbra user: zmjava com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 27075 -v 8.6.0_GA


--------------
com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 27075 -v 8.6.0_GA
--------------

 These version numbers are located in /opt/zimbra/libexec/zmupgrade.pm.

I worry some schema upgrades are not applied, but maybe there are simply no upgrade and this message is "normal" ?

 

Thanks

Nicolas 


ReplyQuote