Migrate from 23.11 ...
 
Notifications
Clear all

Migrate from 23.11 to 24.9 Ubuntu Server 20

1 Posts
1 Users
0 Reactions
157 Views
(@hobbitzxtra)
Joined: 3 months ago
Posts: 1
Topic starter  

Good day everyone,

I am on a single server installation of Carbonio 23.11 on an ubuntu server 20.4, I'd like to upgrade to the latest version but I am having some problems.

I upgraded the postgres to the version 16.

Following the guide:
https://docs.zextras.com/carbonio-ce/html/release/upgrade.html#carbonio-upgrade

The apt upgrade doesn't finish successfully

 

Here few error I get from the apt upgrade process

Removing linux-modules-5.4.0-169-generic (5.4.0-169.187) ...

Setting up carbonio-directory-server (4.17.6-1focal) ...

* Starting LDAP upgrade...

** Applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_flight//01_olcPidFile_path_update.pl...

 * Error applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_flight//01_olcPidFile_path_update.pl: Failed to connect to LDAP server using any of the provided LDPAI socket paths. at /opt/zextras/common/lib/perl5/Zextras/LdapMigrationUtils.pm line 63.

 

###############

Setting up snapd (2.63+20.04ubuntu0.1) ...

Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...

snapd.failure.service is a disabled or a static unit not running, not starting it.

snapd.snap-repair.service is a disabled or a static unit not running, not starting it.

Failed to restart snapd.mounts-pre.target: Operation refused, unit snapd.mounts-pre.target may be requested by dependency only (it is configured to refuse manual start/stop).

See system logs and 'systemctl status snapd.mounts-pre.target' for details.

Setting up systemd-sysv (245.4-4ubuntu3.24) ...

Setting up carbonio-prometheus-nginx-exporter (1.1.0-2focal) ...

Installing new version of config file /etc/zextras/service-discover/carbonio-prometheus-nginx-exporter.hcl ...

###############

Stopping openldap...openldap is not running.

Looking for LDAP installation...succeeded

Installing core schema...

Installing cosine schema...

Installing inetOrgPerson schema...

Installing zimbra schema...

Installing amavis schema...

Installing dyngroup schema...

Installing OpenDKIM schema...

Connection refused at /opt/zextras/libexec/zmldapupdateldif line 44, <DATA> line 960.

Connection refused at /opt/zextras/libexec/ldapattributeupdate line 56, <DATA> line 960.

Stopping openldap...openldap is not running.

Starting openldap...failed.

dpkg: error processing package carbonio-directory-server (--configure):

 installed carbonio-directory-server package post-installation script subprocess returned error exit status 1

Processing triggers for libc-bin (2.31-0ubuntu9.16) ...

Errors were encountered while processing:

 carbonio-directory-server

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

##############

keytool error: java.io.FileNotFoundException: /opt/zextras/.saveconfig/carbonio-openjdk-cacerts/tmp/openjdk-cacerts/staging/opt/zextras/common/etc/java/v_76rdb9bt/lukboa06aw.der (No such file or directory)

chown: cannot access '/opt/zextras/.saveconfig/carbonio-openjdk-cacerts//tmp/openjdk-cacerts/staging/opt/zextras/common/etc/java/v_76rdb9bt/lukboa06aw.der': No such file or directory

keytool error: java.io.FileNotFoundException:

 

#############

This is the upgrade packets list

apt list --upgradable | grep carbonio

 

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

 

carbonio-admin-console-ui/focal 0.9.53-1ubuntu all [upgradable from: 0.9.35-1ubuntu1~]

carbonio-admin-login-ui/focal 0.9.24-1ubuntu amd64 [upgradable from: 0.9.16-1ubuntu]

carbonio-admin-ui/focal 0.9.31-1ubuntu all [upgradable from: 0.9.22-1ubuntu1~]

carbonio-altermime/focal 0.3.10-5focal amd64 [upgradable from: 0.3.10-4focal]

carbonio-amavisd/focal 2.13.1-1focal amd64 [upgradable from: 2.12.2-2focal]

carbonio-appserver-conf/focal 4.17.6-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-appserver-service/focal 4.17.6-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-appserver-store-libs/focal 4.16.3-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-appserver-war/focal 4.16.3-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-appserver/focal 4.3.0-1focal amd64 [upgradable from: 4.0.32-1focal]

carbonio-auth-ui/focal 1.4.0-1ubuntu all [upgradable from: 1.1.5-1ubuntu1~]

carbonio-calendars-ui/focal 1.12.0-1ubuntu all [upgradable from: 1.6.3-1ubuntu1~]

carbonio-certbot/focal 2.7.2-2focal amd64 [upgradable from: 2.3.0-2ubuntu1~focal]

carbonio-clamav/focal 1.0.6-8focal amd64 [upgradable from: 1.0.4-1focal]

carbonio-common-appserver-conf/focal 4.17.6-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-common-appserver-native-lib/focal 4.17.6-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-common-core-jar/focal 4.16.3-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-common-core-libs/focal 4.16.3-1focal amd64 [upgradable from: 4.10.1-1focal]

carbonio-contacts-ui/focal 1.12.0-1ubuntu all [upgradable from: 1.4.1-1ubuntu1~]

carbonio-core/focal 4.2.7-1focal amd64 [upgradable from: 4.0.32-1focal]

carbonio-curl/focal 8.9.0-1focal amd64 [upgradable from: 7.79.1-1focal]

carbonio-cyrus-sasl/focal 2.1.28-5focal amd64 [upgradable from: 2.1.28-1focal]

carbonio-directory-server/focal 4.17.6-1focal amd64 [upgradable from: 4.0.32-1focal]

carbonio-docs-connector-ce/focal 0.4.2-1ubuntu amd64 [upgradable from: 0.3.1-1ubuntu1~]

carbonio-docs-core/focal 23.05.12-2focal amd64 [upgradable from: 23.05.1-1ubuntu1~focal]

carbonio-docs-editor/focal 23.05.12-1focal amd64 [upgradable from: 23.05.1-1ubuntu1~focal]

carbonio-files-ce/focal 0.13.2-1ubuntu amd64 [upgradable from: 0.10.1-1ubuntu1~]

carbonio-files-db/focal 0.1.7-1ubuntu amd64 [upgradable from: 0.1.4-1ubuntu1~]

carbonio-files-ui/focal 2.9.0-1ubuntu all [upgradable from: 2.3.5-1ubuntu1~]

carbonio-icu/focal 74.2-1focal amd64 [upgradable from: 69.1-1focal]

carbonio-krb5/focal 1.21.2-1focal amd64 [upgradable from: 1.19.2-1focal]

carbonio-libevent/focal 2.1.12-2focal amd64 [upgradable from: 2.1.12-1focal]

carbonio-libsodium/focal 1.0.19-1focal amd64 [upgradable from: 1.0.18-1focal]

carbonio-libxml2/focal 2.10.1-1focal amd64 [upgradable from: 2.9.12-2focal]

carbonio-login-ui/focal 0.9.27-1ubuntu amd64 [upgradable from: 0.9.16-1ubuntu]

carbonio-mails-ui/focal 1.18.1-1ubuntu all [upgradable from: 1.10.1-1ubuntu1~]

carbonio-mariadb/focal 10.5.26-2focal amd64 [upgradable from: 10.1.48-2focal]

carbonio-memcached/focal 1.6.14-3focal amd64 [upgradable from: 1.6.12-1focal]

carbonio-mta/focal 4.1.3-1focal amd64 [upgradable from: 4.0.32-1focal]

carbonio-nginx/focal 1.24.0-3focal amd64 [upgradable from: 1.20.2-4focal]

carbonio-opendkim/focal 2.11.0-3focal amd64 [upgradable from: 2.11.0-1focal]

carbonio-openjdk-cacerts/focal 3.98-2ubuntu amd64 [upgradable from: 1.0.6-3focal]

carbonio-openjdk/focal 17.0.12-1ubuntu amd64 [upgradable from: 17.0.8-1focal]

carbonio-openldap/focal 2.5.18-1focal amd64 [upgradable from: 2.4.59-3focal]

carbonio-openssl/focal 3.0.14-2focal amd64 [upgradable from: 1.1.1v-1focal]

carbonio-perl-berkeleydb/focal 0.65-1focal amd64 [upgradable from: 0.64-2focal]

carbonio-perl-cache-fastmmap/focal 1.57-1focal amd64 [upgradable from: 1.56-2focal]

carbonio-perl-compress-raw-bzip2/focal 2.206-1focal amd64 [upgradable from: 2.101-2focal]

carbonio-perl-compress-raw-zlib/focal 2.206-2focal amd64 [upgradable from: 2.101-2focal]

carbonio-perl-convert-asn1/focal 0.34-1focal amd64 [upgradable from: 0.31-2focal]

carbonio-perl-crypt-openssl-rsa/focal 0.33-1focal amd64 [upgradable from: 0.31-2focal]

carbonio-perl-date-manip/focal 6.92-1focal amd64 [upgradable from: 6.85-2focal]

carbonio-perl-dbd-mysql/focal 4.050-3focal amd64 [upgradable from: 4.050-2focal]

carbonio-perl-dbd-sqlite/focal 1.74-1focal amd64 [upgradable from: 1.66-2focal]

carbonio-perl-dbi/focal 1.644-1focal amd64 [upgradable from: 1.643-2focal]

carbonio-perl-file-listing/focal 6.16-1focal amd64 [upgradable from: 6.14-2focal]

carbonio-perl-html-parser/focal 3.81-1focal amd64 [upgradable from: 3.76-2focal]

carbonio-perl-http-daemon/focal 6.16-1focal amd64 [upgradable from: 6.12-2focal]

carbonio-perl-http-date/focal 6.06-1focal amd64 [upgradable from: 6.05-2focal]

carbonio-perl-http-message/focal 6.45-1focal amd64 [upgradable from: 6.32-2focal]

carbonio-perl-io-compress/focal 2.206-1focal amd64 [upgradable from: 2.102-2focal]

carbonio-perl-io-socket-ip/focal 0.42-1focal amd64 [upgradable from: 0.41-2focal]

carbonio-perl-io-socket-ssl/focal 2.083-1focal amd64 [upgradable from: 2.072-2focal]

carbonio-perl-json-pp/focal 4.16-1focal amd64 [upgradable from: 4.06-2focal]

carbonio-perl-libwww/focal 6.72-1focal amd64 [upgradable from: 6.67-1focal]

carbonio-perl-lwp-protocol-https/focal 6.11-1focal amd64 [upgradable from: 6.10-2focal]

carbonio-perl-mail-dkim/focal 1.20230911-1focal amd64 [upgradable from: 1.20200907-2focal]

carbonio-perl-mail-spamassassin/focal 4.0.1-2focal amd64 [upgradable from: 3.4.6-4focal]

carbonio-perl-math-bigint/focal 1.999842-1focal amd64 [upgradable from: 1.999818-2focal]

carbonio-perl-mime-tools/focal 5.510-1focal amd64 [upgradable from: 5.509-2focal]

carbonio-perl-net-dns/focal 1.45-1focal amd64 [upgradable from: 1.31-2focal]

carbonio-perl-net-http/focal 6.23-1focal amd64 [upgradable from: 6.21-2focal]

carbonio-perl-net-server/focal 2.014-1focal amd64 [upgradable from: 2.010-2focal]

carbonio-perl-net-ssleay/focal 1.94-1focal amd64 [upgradable from: 1.90-2focal]

carbonio-perl-parent/focal 0.241-1focal amd64 [upgradable from: 0.238-2focal]

carbonio-perl-socket/focal 2.037-1focal amd64 [upgradable from: 2.032-2focal]

carbonio-perl-term-readkey/focal 2.38-3focal amd64 [upgradable from: 2.38-2focal]

carbonio-perl-unix-syslog/focal 1.1-3focal amd64 [upgradable from: 1.1-2focal]

carbonio-perl-uri/focal 5.21-1focal amd64 [upgradable from: 5.09-2focal]

carbonio-poco/focal 1.13.3-1focal amd64 [upgradable from: 1.12.4-1ubuntu1~focal]

carbonio-policyd/focal 2.1.0.0-3focal amd64 [upgradable from: 2.1.0.0-1focal]

carbonio-postfix/focal 3.8.6-3focal amd64 [upgradable from: 3.8.3-1focal]

carbonio-preview-ce/focal 0.5.1-1focal amd64 [upgradable from: 0.3.5-1ubuntu1~]

carbonio-prometheus-mysqld-exporter/focal 0.15.1-3focal amd64 [upgradable from: 0.15.0-1focal]

carbonio-prometheus-nginx-exporter/focal 1.1.0-2focal amd64 [upgradable from: 0.11.0-1focal]

carbonio-prometheus-node-exporter/focal 1.7.0-1focal amd64 [upgradable from: 1.6.1-1focal]

carbonio-prometheus-openldap-exporter/focal 2.2.4-3focal amd64 [upgradable from: 2.2.2-1focal]

carbonio-prometheus/focal 2.51.0-1focal amd64 [upgradable from: 2.47.1-1focal]

carbonio-proxy/focal 4.7.6-1focal amd64 [upgradable from: 4.5.1-1ubuntu]

carbonio-shell-ui/focal 8.0.3-1ubuntu all [upgradable from: 4.0.1-1ubuntu1~]

carbonio-spamassassin-rules/focal 1.0-3focal amd64 [upgradable from: 1.0-2focal]

carbonio-storages-ce/focal 1.0.14-1ubuntu amd64 [upgradable from: 1.0.9-1ubuntu1~focal]

carbonio-tasks-ce/focal 0.4.1-1ubuntu amd64 [upgradable from: 0.2.0-1ubuntu1~]

carbonio-tasks-db/focal 0.0.4-1ubuntu amd64 [upgradable from: 0.0.1-1ubuntu1~]

carbonio-tasks-ui/focal 0.0.13-1ubuntu all [upgradable from: 0.0.7-1ubuntu1~]

carbonio-timezone-data/focal 4.0.9-1ubuntu amd64 [upgradable from: 4.0.8-1ubuntu]

carbonio-user-management/focal 0.7.1-1ubuntu amd64 [upgradable from: 0.4.0-1ubuntu1~]

carbonio-webui/focal 4.2.7-1focal amd64 [upgradable from: 4.0.32-1focal]

 

 

###########

Any idea what and where to look for more trouble shooting?

Thank you for your support

Have a great day


   
Quote