bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BBB 2.6, issue with node.js migration from v16 to v18

Oblation opened this issue · comments

Hi,

For information, I encountered difficulties with the migration of nodejs from v16 to v18 with the install script when updating a BBB 2.6.12 to 2.6.14.

The method described HERE by nodejs does not work for me.

Permissions on /etc/apt/keyrings/nodesource.gpg or /usr/share/keyring/nodesource.gpg are good (644). However, an apt update gives a GPG key error on the repository https://deb.nodesource.com/node_18.x nodistro main (GPG key is ok and up to date too)

I was able to get by replacing :
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR. x nodistro main" | sudo tee /etc/apt/sources.list. d/nodesource.list
with :
echo "deb https://deb.nodesource.com/node_$NODE_MAJOR. x nodistro main" | sudo tee /etc/apt/sources.list. d/nodesource.list

Perhaps you could indicate this in the BBB installation documentation if other people encounter the problem.

Hi! In our release notes of BBB 2.6.14 we link to the docs section https://docs.bigbluebutton.org/2.6/new-features#nodejs-upgrade-introduced-in-bigbluebutton-2614-backport-from-bbb-27
And specifically

if [ -f /etc/apt/sources.list.d/nodesource.list ] && grep -q 16 /etc/apt/sources.list.d/nodesource.list; then
# Node 16 might be installed, previously used in BigBlueButton
# Remove the repository config. This will cause the repository to get
# re-added using the current nodejs version, and nodejs will be upgraded.
sudo rm -r /etc/apt/sources.list.d/nodesource.list
fi
if [ ! -f /etc/apt/sources.list.d/nodesource.list ]; then
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=18
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

Is this the section that caused you troubles initially?