content:en_us:7_ug_kopano_webmeetings

This is an old revision of the document!


Kopano Webmeetings

This document is currently under construction

Installation

You must have a valid kopano licence then you can install it from the command line with:

yum install app-kopano-webmeetings

You can find this feature in the menu system at the following location:

<navigation>Server|Communication and Collaboration|Kopano Web Meetings</navigation>

Fix the installation bug

There is currently an installation bug which stops Webmeetings from running. Until a fix can be pushed, please run the following:

<code> PREFIX='0000'

# Set sessionSecret #——————

CHECK=`grep -i “^sessionSecretspace*=space*$PREFIX$” /etc/kopano/webmeetings.cfg` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting session secret"
  sed -i -e "s/^sessionSecret[[:space:]]*=.*/sessionSecret = $random/" /etc/kopano/webmeetings.cfg

fi

# Set encryptionSecret #———————

CHECK=`grep -i “^encryptionSecretspace*=space*$PREFIX$” /etc/kopano/webmeetings.cfg` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting encryption secret"
  sed -i -e "s/^encryptionSecret[[:space:]]*=.*/encryptionSecret = $random/" /etc/kopano/webmeetings.cfg

fi

# Set sharedsecret_secret #————————

CHECK=`grep -i “^sharedsecret_secretspace*=space*$PREFIX$” /etc/kopano/webmeetings.cfg` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting sharedsecret secret"
  sed -i -e "s/^sharedsecret_secret[[:space:]]*=.*/sharedsecret_secret = $random/" /etc/kopano/webmeetings.cfg
  sed -i -e "s/^DEFINE('PLUGIN_SPREEDWEBRTC_WEBMEETINGS_SHARED_SECRET.*/DEFINE('PLUGIN_SPREEDWEBRTC_WEBMEETINGS_SHARED_SECRET', '$random');/" /etc/kopano/webapp/config-meetings.php

fi

# Set server_secret_key #———————-

CHECK=`grep -i “^server_secret_keyspace*=space*$PREFIX$” /etc/kopano/presence.cfg` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting server_secret_key"
  sed -i -e "s/^server_secret_key[[:space:]]*=.*/server_secret_key = $random/" /etc/kopano/presence.cfg
  sed -i -e "s/^DEFINE('PLUGIN_SPREEDWEBRTC_PRESENCE_SHARED_SECRET.*/DEFINE('PLUGIN_SPREEDWEBRTC_PRESENCE_SHARED_SECRET', '$random');/" /etc/kopano/webapp/config-meetings.php

fi

# Set PLUGIN_SPREEDWEBRTC_WEBAUTH_CODE_TOKEN_SECRET #————————————————–

CHECK=`grep -i “^DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_CODE_TOKEN_SECRET', '$PREFIX” /etc/kopano/webapp/config-meetings.php` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting PLUGIN_SPREEDWEBRTC_WEBAUTH_CODE_TOKEN_SECRET"
  sed -i -e "s/^DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_CODE_TOKEN_SECRET.*/DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_CODE_TOKEN_SECRET', '$random');/" /etc/kopano/webapp/config-meetings.php

fi

# Set PLUGIN_SPREEDWEBRTC_WEBAUTH_ACCESS_TOKEN_SECRET #—————————————————–

CHECK=`grep -i “^DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_ACCESS_TOKEN_SECRET', '$PREFIX” /etc/kopano/webapp/config-meetings.php` if [ -n “$CHECK” ]; then

  random=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32)
  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting PLUGIN_SPREEDWEBRTC_WEBAUTH_ACCESS_TOKEN_SECRET"
  sed -i -e "s/^DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_ACCESS_TOKEN_SECRET.*/DEFINE('PLUGIN_SPREEDWEBRTC_WEBAUTH_ACCESS_TOKEN_SECRET', '$random');/" /etc/kopano/webapp/config-meetings.php

fi

# Set PLUGIN_SPREEDWEBRTC_TURN_USE_KOPANO_SERVICE #————————————————

CHECK=`grep -i “^('PLUGIN_SPREEDWEBRTC_TURN_USE_KOPANO_SERVICE', true);” /etc/kopano/webapp/config-meetings.php` if [ -z “$CHECK” ]; then

  logger -p local6.notice -t installer "app-kopano-webmeetings-core - setting PLUGIN_SPREEDWEBRTC_TURN_USE_KOPANO_SERVICE"
  sed -i -e "s/^DEFINE('PLUGIN_SPREEDWEBRTC_TURN_USE_KOPANO_SERVICE.*/DEFINE('PLUGIN_SPREEDWEBRTC_TURN_USE_KOPANO_SERVICE', true);/" /etc/kopano/webapp/config-meetings.php

fi

# Start kopano-webmeetings if it is in a failed state #—————————————————-

logger -p local6.notice -t installer “app-kopano-webmeetings-core - starting kopano-webmeetings” systemctl is-failed kopano-webmeetings –quiet && systemctl start kopano-webmeetings

# Start restart kopano-presence #——————————

logger -p local6.notice -t installer “app-kopano-webmeetings-core - starting kopano-presence” systemctl condrestart kopano-presence

Configuration

Links

content/en_us/7_ug_kopano_webmeetings.1564151818.txt.gz · Last modified: 2019/07/26 14:36 by nickh