.. _meetingrooms_install:
************************************
Meeting Rooms Installation & Upgrade
************************************
.. contents:: :local:
.. _meetingrooms_install_requirement:
Requirements
============
.. important:: The Meeting Rooms is an enterprise version feature. To enable it, please contact `XiVO team `_.
.. important:: The Meeting Rooms components works only if you have the :ref:`xivo_edge`
component installed and configured.
Server Requirements
-------------------
The Meeting Rooms components must be installed on a different server as the XiVO CC/UC server.
The minimal requirements would be:
* OS: **Debian 12** (Bookworm), 64 bits
* CPU: 4 CPU
* RAM: 8 Gb
See: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-scalable#machine-sizing
.. _meetingrooms_install_base:
Base installation
=================
1. Docker & Docker compose Installation
---------------------------------------
These commands will install docker and docker compose on the host.
.. code-block:: bash
# Install docker prerequisites
apt install wget dirmngr gnupg ca-certificates ntp curl
# Install docker
DOCKER_KEYRING_FILE="/etc/apt/trusted.gpg.d/download.docker.com.gpg"
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key --keyring ${DOCKER_KEYRING_FILE} add -
echo "deb https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list
cat > /etc/apt/preferences.d/docker-ce <> ~/.bashrc
source ~/.bashrc
3. Next step
------------
Congrats: You're done with the Meeting Rooms Installation.
* **Next step**: go to :ref:`meetingrooms_config`
.. _meetingrooms_upgrade:
Upgrade
=======
Currently there is no *automatic upgrade* process. Here is the manual process that you need to follow on the Meeting Room server.
* Make a backup of the Meeting Room launcher:
.. code-block:: bash
cp -aR /etc/docker/meetingrooms/ /var/tmp/meetingrooms-backup/
* Re-install the Meeting Room Launcher (it will override the :file:`.yml` files): follow the :ref:`meetingroom_install_launcher` steps to install new version
.. note:: This step overrides the current :file:`.yml` files. If you had made some customization in them you will have to backport them by comparing the new one with the backup you did at previous step.
* And then verify that the content of the :file:`.env` file is correct:
* Compare the old version and what is defined in the :ref:`meetingrooms_config` section.
* Verify that the ``XIVOCC_TAG`` and ``XIVOCC_DIST`` correspond to what you want to install (it should be `2024.05` and `latest`).
* Finally pull the new images and restart the containers:
.. warning:: it will stop all Meeting Room calls (and disconnect users from the application).
.. code-block:: bash
docker login -u xivoxc
(use the token provided by the XiVO team)
meetingrooms-dcomp pull && docker logout
meetingrooms-dcomp up -d