Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Oblation opened this issue Oct 20, 2023 · 1 comment
Open

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

Oblation opened this issue Oct 20, 2023 · 1 comment

Comments

@Oblation
Copy link

Oblation commented Oct 20, 2023

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.

@antobinary
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants