Fresh installation ...
 
Notifications
Clear all

Fresh installation of Carbonio CE 24.7.1 on single server Ubuntu server 22.04

4 Posts
3 Users
0 Reactions
257 Views
(@bear38)
Joined: 4 months ago
Posts: 2
Topic starter  

Hi all,

I'm newby in carbonio and trying to install it on a single server using the "Automatic Script-based Installation".

I register to receive the email with repository information.

When i'm tried the installation script, it stop running at this point :

Bootstrap mode: new install
Installing LDAP configuration database...done.
Setting defaults...done.
Checking for port conflicts
Saving config in /opt/zextras/config.17968...done.
Operations logged to /tmp/zmsetup.20240902-130416.log
Setting local config values...done.
Setting up CA...failed.
service-discover: error: Carbonio is not correctly initialized, please run carbonio-bootstrap (missing required field 'zimbra_ldap_password' in localconfig)
gpg: can't open '/etc/zextras/service-discover/cluster-credentials.tar.gpg': No such file or directory
gpg: decrypt_message failed: No such file or directory
tar: This does not look like a tar archive
tar: consul-acl-secret.json: Not found in archive
tar: Exiting with failure status due to previous errors
Insert the cluster credential password:

Here is the content of the log file "/tmp/zmsetup.20240902-130416.log":

Mon Sep 2 13:04:41 2024 Running as zextras user: /opt/zextras/bin/zmlocalconfig -f -e zimbra_ldap_userdn='uid=zimbra,cn=admins,cn=zimbra' 2> /dev/null
Mon Sep 2 13:04:41 2024 done.
Mon Sep 2 13:04:41 2024 Setting up CA...
Mon Sep 2 13:04:41 2024
Running as zextras user: /opt/zextras/bin/zmcertmgr createca -new
unable to find/run '/opt/zextras/openssl/bin/openssl'
at /opt/zextras/bin/zmcertmgr line 2162.
CertMgr::verifyExe(CertMgr=HASH(0x55ae37bca480), "/opt/zextras/openssl/bin/openssl") called at /opt/zextras/bin/zmcertmgr line 2205
CertMgr::Openssl(CertMgr=HASH(0x55ae37bca480), "/opt/zextras/openssl/bin/openssl") called at /opt/zextras/bin/zmcertmgr line 511
CertMgr::new("CertMgr", "command", "createca", "new", 1) called at /opt/zextras/bin/zmcertmgr line 393
Mon Sep 2 13:04:42 2024 failed.

I check the /opt/zextras and there is no openssl directory.

Can you reproduce this error ?

How can i resolve that problem ?

Kind regards

Bear38

.

This topic was modified 4 months ago by Bear38

   
Quote
(@bear38)
Joined: 4 months ago
Posts: 2
Topic starter  

Hi,

FYI, here is my workaround :

Install required repositories and :

apt install carbonio-openssl
mkdir -p /opt/zextras/openssl/bin
ln -s /opt/zextras/common/bin/openssl /opt/zextras/openssl/bin/
bash install_carbonio_ce_singleserver_ubuntu.sh

 

 


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

@bear38 Thanks for your feedback, but we can not reproduce the problems. We installed both a 24.7.1 and an upcoming 24.9.0 and we could spot in the log the message:

root@ztd-03:~# grep openssl /tmp/zmsetup.*
/tmp/zmsetup.20240920-153024.log:Fri Sep 20 15:32:05 2024  Running as zextras user: /opt/zextras/common/bin/openssl dhparam -out /opt/zextras/conf/dhparam.pem.crb 2048 > /dev/null 2>&1
/tmp/zmsetup.log:Fri Sep 20 15:32:05 2024  Running as zextras user: /opt/zextras/common/bin/openssl dhparam -out /opt/zextras/conf/dhparam.pem.crb 2048 > /dev/null 2>&1

As you see, the path of openssl is correct (as it is the workaround you applied), so I am not sure what the root cause of your problem can be, I am sorry 🙁


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

@bear38 

I agree with @stefanodavid that we did not find anything like this. Also, I want to point to you something that carbonio-openssl is a dependency package. It should have been installed in your system during the installation of main packages (i.e. service-discover-server etc.). Therefore, we do not know what other dependency packages are missing. 

I would request/recommend you to do a fresh installation using manual steps from the documentation:

https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html

Regards,

Sharif


   
ReplyQuote