diff --git a/build/packages-template/bbb-html5/after-install.sh b/build/packages-template/bbb-html5/after-install.sh index 738d90664e..2d2387cde5 100644 --- a/build/packages-template/bbb-html5/after-install.sh +++ b/build/packages-template/bbb-html5/after-install.sh @@ -115,7 +115,7 @@ if [ "$DISTRIB_RELEASE" == "16.04" ]; then fi if [ "$DISTRIB_RELEASE" == "18.04" ]; then - node_version="12.16.1" + node_version="14.17.6" if [[ ! -d /usr/share/node-v${node_version}-linux-x64 ]]; then cd /usr/share tar xfz "node-v${node_version}-linux-x64.tar.gz" diff --git a/build/packages-template/bbb-html5/bionic/systemd_start.sh b/build/packages-template/bbb-html5/bionic/systemd_start.sh index c9c0a671ba..9d4193c73e 100644 --- a/build/packages-template/bbb-html5/bionic/systemd_start.sh +++ b/build/packages-template/bbb-html5/bionic/systemd_start.sh @@ -45,7 +45,7 @@ export ROOT_URL=http://127.0.0.1/html5client export MONGO_OPLOG_URL=mongodb://127.0.1.1/local export MONGO_URL=mongodb://127.0.1.1/meteor export NODE_ENV=production -export NODE_VERSION=node-v12.16.1-linux-x64 +export NODE_VERSION=node-v14.17.6-linux-x64 export SERVER_WEBSOCKET_COMPRESSION=0 export BIND_IP=127.0.0.1 PORT=$PORT /usr/share/$NODE_VERSION/bin/node --max-old-space-size=2048 --max_semi_space_size=128 main.js NODEJS_BACKEND_INSTANCE_ID=$INSTANCE_ID diff --git a/build/packages-template/bbb-html5/bionic/systemd_start_frontend.sh b/build/packages-template/bbb-html5/bionic/systemd_start_frontend.sh index 1800b52af8..7da9a5fac0 100644 --- a/build/packages-template/bbb-html5/bionic/systemd_start_frontend.sh +++ b/build/packages-template/bbb-html5/bionic/systemd_start_frontend.sh @@ -45,7 +45,7 @@ export ROOT_URL=http://127.0.0.1/html5client export MONGO_OPLOG_URL=mongodb://127.0.1.1/local export MONGO_URL=mongodb://127.0.1.1/meteor export NODE_ENV=production -export NODE_VERSION=node-v12.16.1-linux-x64 +export NODE_VERSION=node-v14.17.6-linux-x64 export SERVER_WEBSOCKET_COMPRESSION=0 export BIND_IP=127.0.0.1 PORT=$PORT /usr/share/$NODE_VERSION/bin/node --max-old-space-size=2048 --max_semi_space_size=128 main.js diff --git a/build/packages-template/bbb-html5/build.sh b/build/packages-template/bbb-html5/build.sh index 5dec95ab80..9c1b0022f7 100755 --- a/build/packages-template/bbb-html5/build.sh +++ b/build/packages-template/bbb-html5/build.sh @@ -74,11 +74,11 @@ cp $DISTRO/bbb-html5-frontend@.service staging/usr/lib/systemd/system mkdir -p staging/usr/share -if [ ! -f node-v12.16.1-linux-x64.tar.gz ]; then - wget https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz +if [ ! -f node-v14.17.6-linux-x64.tar.gz ]; then + wget https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.gz fi -cp node-v12.16.1-linux-x64.tar.gz staging/usr/share +cp node-v14.17.6-linux-x64.tar.gz staging/usr/share if [ -f staging/usr/share/meteor/bundle/programs/web.browser/head.html ]; then sed -i "s/VERSION/$(($BUILD))/" staging/usr/share/meteor/bundle/programs/web.browser/head.html