22.7.2 CE success o...
 
Notifications
Clear all

22.7.2 CE success on Ubuntu 20.04.5 LTS

3 Posts
3 Users
6 Likes
1,207 Views
Jim Dunphy
(@jdunphy)
Joined: 6 years ago
Posts: 25
Topic starter  

Didn't have any problems with installing latest version on ubuntu 20.04.5 LTS. 

# su - zextras
zextras@carbonio:~$ zmcontrol -v
Release 22.7.2 Community Edition.

I was slowed down however because I didn't realize support had been dropped for ubuntu 18 LTS which is what I initially had installed carbonio on. Additionally, the previous way I did updates is no longer valid and had changed from apt update;apt upgrade paradigm to a new instillation method first.  All documented but having followed these forums, I must have missed where this was mentioned. Another confusion for me was RHEL 8 support which is listed/inferred in the install documentation (see repositories tab) so I requested a new link for those repositories but only Ubuntu 20.04 LTS was in the email that came. Other than that, it was painless, quick, and easy;  and everything appears to be working. 

For others in a similar situation, I did do-release-upgrade to 20.04.5 LTS and then did did something like this since I am not using carbonio for my email other than rehearsing administration and how to manage it. There might be easier ways but I had this around given some past problems and updated it. I have a split-horizon configured with BIND so this instance thinks it is the MX for our domain and allows carbonio to proceed without complaining during domain MX checks. 

#!/bin/sh
# 4/1/2022 - jad
# script to uninstall/install carbonio-ce
#


# ref:  https://docs.zextras.com/carbonio-ce/html/installation.html#system-requirements 
apt purge "carbonio*"
systemctl disable carbonio
apt autoremove
crontab -u zextras -r
/bin/rm -rf /opt/zextras
# stuff still in /etc/zextras

# ref:  https://docs.zextras.com/carbonio-ce/html/installation.html#system-requirements 
apt update

#apt install carbonio-ce
#New method as of 8/25/2022
apt install service-discover-server \
carbonio-directory-server \
carbonio-proxy \
carbonio-webui carbonio-files-ui \
carbonio-admin-login-ui \
carbonio-mta  \
carbonio-appserver carbonio-logger  \
carbonio-user-management \
carbonio-files-ce carbonio-files-db \
carbonio-storages-ce \
carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-docs-editor \
postgresql-12

carbonio-bootstrap

cd /opt/zextras
tar xf ~/acme.sh.tar
su -  zextras -c "/opt/zextras/.acme.sh/acme.sh --deploy --deploy-hook carbonio -d carbonio.example.com"
su - zextras -c "zmprov setpassword zextras@example.com PASSWORD"

   
stefanodavid, stfr, Arman Khosravi and 3 people reacted
Quote
(@arman)
Admin
Joined: 3 years ago
Posts: 376
 

Thanks a lot for sharing the info with the community.


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 153
 

Hi @jdunphy, thanks for the report.

You're right, the "old" installation method (apt install carbonio-ce) was dropped, since it forced you to install everything, even if you don't want to. Carbonio CE now has a lot of features and perhaps not everyone wants to use them all, so with the "new" installation you can remove from the command all the packages/modules you don't want to use. Moreover, it should be now stable (AFAIK!), and will not change much, tough we probably will tweak it further for the Multi-Server (in the mid-term), so I take the chance to suggest to keep an eye on docs.zextras.com to those of you that plan to install Carbonio CE.


   
ReplyQuote