Ubuntu upgrade to 2...
 
Notifications
Clear all

Ubuntu upgrade to 22.04

13 Posts
6 Users
4 Reactions
974 Views
(@anahuac)
Joined: 2 years ago
Posts: 326
Topic starter  

So, now that Carbonio CE 24.03 is out I would like to know:

1 - Does it works fine in Ubuntu 22.04?

2 -If so, is there a guide how to upgrade from Ubuntu 20.04 to 22.04 without breaking Carbonio CE in the way?

 


   
Quote
(@stefanodavid)
Joined: 3 years ago
Posts: 227

   
anahuac reacted
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@anahuac

Hi,

Yes, so far, I found CE 24.3.0 works smoothly on Ubuntu 22.04LTS

Upgrading the OS from 20.04LTS to 22.04LTS is complex and tricky. So I guess until any verified method is found, we need to migrate CE from Ubuntu 20.04LTS to Ubuntu 22.04TS.

That's all I can sat for now!

Take care

Regards,

Sharif


   
anahuac reacted
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 326
Topic starter  

Well.... 

https://docs.zextras.com/carbonio-ce/html/release/upgrade-ubuntu.html

🤣


   
ReplyQuote
 rick
(@rick)
Joined: 2 years ago
Posts: 7
 

I have a question, is it possible to continue using Ubuntu 20.04 and update to version CE 24.3.0?


   
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 326
Topic starter  

I'll be very surprised if not... I'm sure it is =)


   
ReplyQuote
 rick
(@rick)
Joined: 2 years ago
Posts: 7
 

@anahuac We are going to do the tests, let's hope nothing has broken 😀


   
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 326
Topic starter  

So... just to give you the first impression of upgrade to Ubuntu 22.04... it's not working as described. I get this error

Socket.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xeb00080)

when I run essentially any "zm" command like "zmcontrol status"

Any tips?

 


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@anahuac 

Hi,

😊

The upstream documentation is very generic. But real challenge is maintaining the package compatibility while upgrading from Ubuntu 20.04LTS to Ubuntu 22.04LTS. That's why I personally recommend to install Ubuntu 22.04 and then migrate the data.

And rightfully, you have showed the error, I found it too. 

So we have take a look at it.

🙂

Regards,

Sharif


   
anahuac reacted
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 227
 

Posted by: @rick

I have a question, is it possible to continue using Ubuntu 20.04 and update to version CE 24.3.0?

Yes, simply upgrade like you did until now, following the "upgrade from 24.1 to 24.3" instructions.

 


   
ReplyQuote
(@max_s)
Joined: 1 year ago
Posts: 81
 

For me I got a lot of errors while upgrading. I was running 24.1 version on Ubunut 20.04 LTS

I executed all that was documented and explained here https://docs.zextras.com/carbonio-ce/html/release/upgrade-ubuntu.html every single step and got stuck with some serious upgrade problems. Just before going live on the server this Sunday... 

 

Installing OpenDKIM schema...
Connection refused at /opt/zextras/libexec/zmldapupdateldif line 45, <DATA> line 960.
Connection refused at /opt/zextras/libexec/ldapattributeupdate line 56, <DATA> line 960.
slapd not running
Failed to start slapd. Attempting debug start to determine error.
65fc10e4 daemon: bind(7) failed errno=13 (Permission denied)
65fc10e4 slap_open_listener: failed on ldap://xxxx.xxxx.com:389

dpkg: error processing package carbonio-directory-server (--configure):
installed carbonio-directory-server package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
carbonio-directory-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

 


   
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 326
Topic starter  

So I did a tutorial explaining step-by-step how to upgrade Ubuntu Server 20.04 LTS to 22.04 LTS

https://www.anahuac.eu/carbonio-upgrade-ubuntu-from-20-04-to-22-04/

Enjoy!

You can also find us in Telegram: https://t.me/CarbonioMail


   
ReplyQuote
(@avolkov)
Joined: 9 months ago
Posts: 11
 

@max_s Hi! The following steps may help me too.
I can say for sure if carbonio-directory-server cannot be updated when updating in the ldap, it will help to perform the correction earlier with the command:

/opt/zextras/libexec/zmfixperms

and make sure of this with the:

apt upgrade

command and run the components with the command:

su - zextras -c "zmcontrol start"

   
raystinger reacted
ReplyQuote