openvidu-deployment: Minor fixes. OV_CE_DEBUG_LEVEL works and move beats to rollback folder on update in openvidu pro server node

pull/542/head
cruizba 2020-11-09 19:35:25 +01:00
parent 43c5c4b4a5
commit da2973d28f
5 changed files with 25 additions and 0 deletions

View File

@ -39,6 +39,13 @@ LETSENCRYPT_EMAIL=user@example.com
# SDKs, REST clients and browsers will have to connect to this port
# HTTPS_PORT=443
# Old paths are considered now deprecated, but still supported by default.
# OpenVidu Server will log a WARN message every time a deprecated path is called, indicating
# the new path that should be used instead. You can set property SUPPORT_DEPRECATED_API=false
# to stop allowing the use of old paths.
# Default value is true
# SUPPORT_DEPRECATED_API=true
# If true request to with www will be redirected to non-www requests
# Default value is false
# REDIRECT_WWW=false

View File

@ -42,6 +42,13 @@ LETSENCRYPT_EMAIL=user@example.com
# SDKs, REST clients and browsers will have to connect to this port
# HTTPS_PORT=443
# Old paths are considered now deprecated, but still supported by default.
# OpenVidu Server will log a WARN message every time a deprecated path is called, indicating
# the new path that should be used instead. You can set property SUPPORT_DEPRECATED_API=false
# to stop allowing the use of old paths.
# Default value is true
# SUPPORT_DEPRECATED_API=true
# If true request to with www will be redirected to non-www requests
# Default value is false
# REDIRECT_WWW=false

View File

@ -259,6 +259,9 @@ upgrade_ov() {
mv "${OPENVIDU_PREVIOUS_FOLDER}/cluster/aws" "${ROLL_BACK_FOLDER}" || fatal_error "Error while moving previous 'cluster/aws'"
printf '\n - cluster/aws'
mv "${OPENVIDU_PREVIOUS_FOLDER}/beats" "${ROLL_BACK_FOLDER}" || fatal_error "Error while moving previous 'beats'"
printf '\n - beats'
cp "${OPENVIDU_PREVIOUS_FOLDER}/.env" "${ROLL_BACK_FOLDER}" || fatal_error "Error while moving previous '.env'"
printf '\n - .env'

View File

@ -31,6 +31,10 @@ elif [[ "${COTURN_IP}" == "auto-ipv6" ]]; then
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh --ipv6)
fi
if [[ "${OV_CE_DEBUG_LEVEL}" == "DEBUG" ]]; then
export LOGGING_LEVEL_IO_OPENVIDU_SERVER=DEBUG
fi
if [ ! -z "${JAVA_OPTIONS}" ]; then
printf "\n Using java options: %s" "${JAVA_OPTIONS}"
fi

View File

@ -14,6 +14,10 @@ elif [[ "${COTURN_IP}" == "auto-ipv6" ]]; then
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh --ipv6)
fi
if [[ "${OV_CE_DEBUG_LEVEL}" == "DEBUG" ]]; then
export LOGGING_LEVEL_IO_OPENVIDU_SERVER=DEBUG
fi
if [ ! -z "${JAVA_OPTIONS}" ]; then
printf "\n Using java options: %s" "${JAVA_OPTIONS}"
fi