Chats#

The Chats Component adds the chat functionality to Carbonio CE.

Requirements#

The WebSocket protocol must be explicitly allowed. Please see Websocket Protocol for details.

Install Packages#

First, we install packages.

# apt install carbonio-message-dispatcher-ce carbonio-ws-collaboration-ce
# apt install carbonio-message-dispatcher-ce carbonio-ws-collaboration-ce
# dnf install carbonio-message-dispatcher-ce carbonio-ws-collaboration-ce
# dnf install carbonio-message-dispatcher-ce carbonio-ws-collaboration-ce

Bootstrap Carbonio CE#

Execute:

# carbonio-bootstrap

The bootstrap command will execute a number of tasks and will set up the node. At the end, you will be prompted with a menu and, if you already configured all, you only need to click y for confirmation.

On RHEL 9 only, restart the node to ensure that Carbonio CE service management come under the control of systemd:

# reboot

During the process, you need to provide these values:

Pending setups#

To complete Carbonio Mesh installation, run

# pending-setups -a

Hint

The secret is stored in file /var/lib/service-discover/password, which is accessible only by the root user.

The command will ask for the password stored in the /var/lib/service-discover/password.

Enable the Chats UI#

The Chats Component is disabled by default, you can enable it either from the Carbonio Admin Panel at COS level (please refer to Section Features), or from the CLI at both COS and Account level by running as the zextras user the command

zextras$ carbonio prov mc default carbonioFeatureWscEnabled TRUE

This command enables the chat for the default COS, but you can enable it on selected COSes and Accounts.

Restart the service

# systemctl restart carbonio-ws-collaboration

Status Check#

After the installation, you can check the status of Chats and all its dependencies by running command

# curl -v http://127.78.0.4:10000/health | jq