Tips Upgrade Zextras Carbonio Community Edition

Posted by

Jika Anda menggunakan Zextras Carbonio Community Edition sebagai email server, upgrade menjadi langkah penting untuk mendapatkan fitur-fitur terbaru dan perbaikan keamanan. Saat tulisan ini dibuat, Versi Zextras Carbonio CE adalah 23.7.0. Beberapa update yang ada diantaranya

  • Board Resizing Enhancement
  • Attendee Availability Visualization
  • Enhanced Attachment Indicator for Printing and Saving
  • Enhanced File Display
  • Enhanced Selection Summary
  • Improved Certificate Management
  • AV/AS Configuration from Admin Panel
  • Domain Change Capability
  • Enhanced Certificate Display in Admin Panel

Sebelum proses upgrade, Versi Carbonio CE yang saya gunakan adalah versi 23.5.0. Zextras Carbonio CE ini saya install di atas sistem operasi Ubuntu 20.04

zextras@mail:~$ zmcontrol -v
Carbonio Release 23.5.0

Berikut adalah tips upgrade Zextras Carbonio CE

Jalankan perintah berikut sebagai ROOT

– Stop Service

su - zextras -c 'zmcontrol stop'

– Backup LDAP dan localconfig via slapcat

mkdir /srv/backup
su - zextras -c '/opt/zextras/libexec/zmslapcat /opt/zextras/backup'
cp /opt/zextras/conf/localconfig.xml /srv/backup/
cp /opt/zextras/backup/ldap.bak* /srv/backup/

– Clean cached package list

apt clean

– Update dan upgrade package

apt update && apt upgrade

Berikut adalah sample proses upgrade yang berlangsung

208 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
42 standard LTS security updates
Need to get 1293 MB of archives.
After this operation, 504 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
--- skip---
You must run pending-setups to configure it correctly.
======================================================
Setting up carbonio-directory-server (4.0.25-1ubuntu1~focal) ...
*Starting LDAP upgrade...
slapd 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...

– Register upgraded packages pada Carbonio Mesh
Setelah proses update dan upgrade selesai, registrasikan package pada Carbonio Mesh dengan menjalankan perintah berikut

pending-setups -a

Masukkan password cluster untuk melanjutkan proses setup.

Berikut adalah sample outputnya

root@mail:/home/ubuntu# pending-setups -a
Insert the cluster credential password:
--- skip ---
Executing /etc/zextras/pending-setups.d/carbonio-proxy-setup.sh
Insert the cluster credential password:
ID: dc1e57f4-5dfc-97c2-9237-0536e2628a3f
Name: carbonio-proxy-policy
Description: Carbonio proxy service policy for service and sidecar proxy
Datacenters:
Rules:
{
"key_prefix": [
{
"carbonio-proxy/": {
"policy": "read"
}
}
],
"node_prefix": [
{
"": {
"policy": "read"
}
}
],
"service": [
{
"carbonio-proxy": {
"policy": "write"
},
"carbonio-proxy-sidecar-proxy": {
"policy": "write"
}
}
]
}

Config entry written: service-defaults/carbonio-proxy
Configuration reload triggered
Setup successful, moving carbonio-proxy-setup.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!

Setelah proses register package pada Carbonio Mesh selesai, restart server untuk memastikan proses upgrade berjalan lancar

– Cek status service pasca boot up

Pastikan semua services dalam keadaan running pasca upgrade.

su - zextras
zmcontrol status
zextras@mail:~$ zmcontrol status
Host mail.imanudin.web.id
amavis Running
antispam Running
antivirus Running
directory-server Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
service-discover Running
stats Running
config service Running
zextras@mail:~$ zmcontrol -v
Carbonio Release 23.7.0

Silakan dicoba 🙂

Jika membutuhkan informasi terkait solusi Zextras (Instalasi dan Implementasi), dapat menghubungi Team Aktiva melalui form: https://www.aktiva.co.id/kontak/ atau email ke sales@aktiva.co.id

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.