Zimbra 9 Open Sourc...
 
Notifications
Clear all

Zimbra 9 Open Source is not updated

264 Posts
37 Users
101 Reactions
45.1 K Views
(@aynur-yilmaz)
Joined: 3 years ago
Posts: 12
 

Hi everyone,

When I want to update from Zextras Zimbra 9 to Lapiole, I get the following errors.

Zextras:

Release 9.0.0_ZEXTRAS_20221203.RHEL8_64_20221216110429 RHEL8_64 FOSS edition.

Oracle Linux Server release 8.7
NAME="Oracle Linux Server"
VERSION="8.7"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.7"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:7:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.7
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.7
Red Hat Enterprise Linux release 8.7 (Ootpa)
Oracle Linux Server release 8.7

Lapiole:

https://rpms.lapiole.org/Zimbra_OSE/9.0.0/p37/zcs-9.0.0_GA_20231019.RHEL8_64.20231019100311.tgz

Β 

Update Errors:

2023-08-21 20:01:09,715 [main] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : An error occurred while attempting to connect to server localhost:389:  java.
io.IOException: An error occurred while attempting to establish a connection to server localhost:389:  java.net.ConnectExcept
ion: Connection refused
    at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:90) ~[zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:74) ~[zimbrastore.jar:9.0
.0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:40) ~[zimbrastore.jar:9.0
.0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:117) ~[zimbrastore.jar:9.0.
0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnectionPool(LdapConnectionPool.java:63) ~[zimbrastore.jar
:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.init(UBIDLdapContext.java:111) ~[zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.unboundid.UBIDLdapClient.init(UBIDLdapClient.java:39) ~[zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.LdapClient.getInstanceIfLDAPavailable(LdapClient.java:62) ~[zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.LdapClient.getInstance(LdapClient.java:69) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.ldap.LdapClient.initialize(LdapClient.java:94) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:47) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:297) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:294) [zimbrastore.jar:9.0.0_GA_20230914]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [?:?]
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?
]
    at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [?:?]
    at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) [?:?]
    at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) [?:?]
    at java.lang.Class.newInstance(Class.java:645) [?:?]
    at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:354) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:310) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.ProvUtil.initProvisioning(ProvUtil.java:1032) [zimbrastore.jar:9.0.0_GA_20230914]
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:4156) [zimbrastore.jar:9.0.0_GA_20230914]
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to connect to server localhost:389:  java
.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:  java.net.ConnectExcep
tion: Connection refused
Tue Sep 19 00:54:19 2023 Updating zimbraLDAPSchemaVersion to version '1649766200'
Tue Sep 19 00:54:19 2023 entering function: gcf zimbraLDAPSchemaVersion=1649766200
Tue Sep 19 00:54:19 2023 Updating cached global config attribute zimbraLDAPSchemaVersion=1649766200
Tue Sep 19 00:54:19 2023  Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraLDAPSchemaVersion '1649766200'
Tue Sep 19 00:54:20 2023 Updating global config and COS's with attributes introduced after 9.0.0_ZEXTRAS...
Tue Sep 19 00:54:20 2023  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 <options> [args]
 -b,--bug <arg>    bug number this upgrade is for
 -d,--desc <arg>   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)

Tue Sep 19 00:54:21 2023 failed.
Tue Sep 19 00:54:21 2023 entering function: gcf zimbraVersionCheckLastResponse=
Tue Sep 19 00:54:21 2023 Updating cached global config attribute zimbraVersionCheckLastResponse=
Tue Sep 19 00:54:21 2023  Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraVersionCheckLastResponse ''
Tue Sep 19 00:54:23 2023 Stopping ldap...
Tue Sep 19 00:54:23 2023  Running as zimbra user: /opt/zimbra/bin/ldap stop
Killing slapd with pid 283892. done.
Tue Sep 19 00:54:24 2023 done.
Tue Sep 19 00:54:29 2023 Upgrade complete.

Is there a way to upgrade Zextras Zimbra 9 servers safely?

Thanks.


   
ReplyQuote
(@john_doe)
Joined: 3 years ago
Posts: 61
 

I am using this Git repository to compile Zimbra 9: https://github.com/ianw1974/zimbra-build-scripts

Β 


   
ReplyQuote
(@aynur-yilmaz)
Joined: 3 years ago
Posts: 12
 

@john_doe , We also tried the version, compiled from the Github link you provided, but it does not work properly either.


   
ReplyQuote
(@john_doe)
Joined: 3 years ago
Posts: 61
 

Maybe you should then raise your issue additional at the Zimbra forum https://forums.zimbra.org/


   
ReplyQuote
(@martinwiertz)
Joined: 4 years ago
Posts: 63
 

@aynur-yilmaz Hello Aynur, Yesterday I installed the Zextras package Ubuntu20.04. It went well apart from the Openssl error which needs the "-nomac" entry in a file.

Previously I installed package and it was mandatory to install the ldap-patch also. I don't know if this applies to your situation.

In general I am looking for a solution to periodically patch my server. First I need to migrate from v9 to v10. Also OS-update. Things are complicated and often does not work as expected. I am looking to apply Intalio or Techfiles releases. Zextras is losing focus on FOSS releases. Also Zextas suite does not work on Zimbra V10.


   
ReplyQuote
(@martinwiertz)
Joined: 4 years ago
Posts: 63
 

@arman Hi Arman, any news on the ETA for a new release?


   
ReplyQuote
(@arman)
Admin
Joined: 4 years ago
Posts: 395
 

@martinwiertz Hi, yes it's next week Monday if all tests go well.


   
dominix reacted
ReplyQuote
 mik
(@mik)
Joined: 4 years ago
Posts: 46
 

Seems there is a new build available: zcs-9.0.0_ZEXTRAS_20231104.UBUNTU18_64.20231124122956
Anyone tried it yet?


   
ReplyQuote
(@martinwiertz)
Joined: 4 years ago
Posts: 63
 

@mik Nope, I would have tried but decided to migrate to V10 FOSS.


   
ReplyQuote
 mik
(@mik)
Joined: 4 years ago
Posts: 46
 

Posted by: @martinwiertz

@mik Nope, I would have tried but decided to migrate to V10 FOSS.

The V10 build supply situation is too risky for me at the moment, so I will keep V9 for now. Also ZEXTRAS Suite is not available for V10, or?

Β 


   
ReplyQuote
(@martinwiertz)
Joined: 4 years ago
Posts: 63
 

@mik oke, I can imagine. Possibly create a test environment and try it. There are several ways available on the web.

Suite is not available on V10. The Zextras (NG) software is no longer part of Zimbra in V10.

I have always gratefully used Suite and the FOSS-builds. (thank you) Unfortunately, you can now purchase Suite per bundle of 10 licenses. Historically I need 2.... πŸ™‚Β  I need to find a good backup script to V10.

Currently I create an image after changes to the machine. Periodically export mailbox via zmmailbox command. (small server)

This post was modified 1 year ago by Martin Wiertz

   
ReplyQuote
 mik
(@mik)
Joined: 4 years ago
Posts: 46
 

Posted by: @martinwiertz

Currently I create an image after changes to the machine. Periodically export mailbox via zmmailbox command. (small server)

For backup: Before Zextras I did use Veeam Endpoint which did also trigger a pre-bash script (Basically zmcontrol stop) and a post-script (zmcontrol start). This will give you a full, consistent and - depending on your machine - fast backup at the cost of downtime of your ZCS.

Β 


   
ReplyQuote
(@martinwiertz)
Joined: 4 years ago
Posts: 63
 

@mik aha, Veeam Agent for Linux free is a solution to checkout. Currently fsarchiver is sufficient.

Thanks!


   
ReplyQuote
(@arman)
Admin
Joined: 4 years ago
Posts: 395
 

Hello everyone,

I'm glad to inform you the newΒ Zimbra 9.0.0 OSE built by ZextrasΒ based onΒ patch 41Β is now available for download.

Important: If you're upgrading from Zimbra 9 built by Zextras, run this command as the Zimbra user before updatingΒ (do not run if upgrading from other third-party builds)

mysql -e 'update zimbra.config set value = 111 where name = "db.version";'

Have a nice one!


   
ReplyQuote
(@vedat-kamer)
Joined: 3 years ago
Posts: 2
 

@arman when I tried to upgrade

From: Release 9.0.0_ZEXTRAS_20231104.RHEL8_64_20231124123142 RHEL8_64 FOSS edition.

To: Release 9.0.0_ZEXTRAS_20240927.RHEL8_64_20240927112615 RHEL8_64 FOSS edition.

I received this error.

What's the possible solution for that?

I already run db.version=111 update query before install.sh.

Sat Oct 19 12:10:41 2024 Updating zimbraLDAPSchemaVersion to version '1649766200'
Sat Oct 19 12:10:41 2024 entering function: gcf zimbraLDAPSchemaVersion=1649766200
Sat Oct 19 12:10:41 2024 Updating cached global config attribute zimbraLDAPSchemaVersion=1649766200
Sat Oct 19 12:10:41 2024  Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraLDAPSchemaVersion '1649766200'
Sat Oct 19 12:10:43 2024 Updating global config and COS's with attributes introduced after 9.0.0_ZEXTRAS...
Sat Oct 19 12:10:43 2024  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 <options> [args]
 -b,--bug <arg>    bug number this upgrade is for
 -d,--desc <arg>   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 Oct 19 12:10:45 2024 failed.
Sat Oct 19 12:10:45 2024 entering function: gcf zimbraVersionCheckLastResponse=
Sat Oct 19 12:10:45 2024 Updating cached global config attribute zimbraVersionCheckLastResponse=
Sat Oct 19 12:10:45 2024  Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraVersionCheckLastResponse ''
Sat Oct 19 12:10:47 2024 Stopping ldap...
Sat Oct 19 12:10:47 2024  Running as zimbra user: /opt/zimbra/bin/ldap stop
Killing slapd with pid 42133. done.
Sat Oct 19 12:10:48 2024 done.
Sat Oct 19 12:10:53 2024 Upgrade complete.

   
ReplyQuote
Page 17 / 18