Fresh install on a virtual machine fails with "Did not detect nodejs 8.x candidate for installation"
Hi.
I'm trying to install bbb on fresh ubuntu 16.04.6 LTS server on virtual machine (VMware) Using wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220 -a
Having a deprecation warning on nodejs 8.x and soon after that the following output (see screenshot):

What could be the problem?
Looks like #103 may help. The advice from @sandaliero seems to have gotten me over the issue.
Looks like #103 may help. The advice from @sandaliero seems to have gotten me over the issue.
Thanks, Cepster! I noticed and tried it out, but in my case there's no such file in /etc/apt/sources.list.d/ Besides, i have a fresh installation, and they seem to upgrade from 2.0 to 2.2
Ah, too bad. I also was going from a fresh install but their troubleshooting steps did get me past that hurdle. Now I'm stuck with a new error trying to fetch from ubuntu.bigbluebutton.org. But we soldier on.
Good luck!
What is the error that your seeing?
I don't remember what the exact error was, but it seems like it actually was network issues on my side. Once I got those figured out everything installed perfectly. I'm up and running. The Node fix from @sandaliero was necessary for me.
I don't remember what the exact error was, but it seems like it actually was network issues on my side. Once I got those figured out everything installed perfectly. I'm up and running. The Node fix from @sandaliero was necessary for me.
Please tell, what kind of ubuntu image did you install from?
Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial
Like you, it is installed on a VM (VMWare)
I'm experiencing the same issue when installing on ubuntu server 16.4 hostet through Hyper-V. The line in the script that fails seems to be this:
if ! apt-cache madison nodejs | grep -q node_8; then
err "Did not detect nodejs 8.x candidate for installation"
fi
running apt-cache madison nodejs returns
nodejs | 4.2.6~dfsg-1ubuntu4.2 | http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
nodejs | 4.2.6~dfsg-1ubuntu4.2 | http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
nodejs | 4.2.6~dfsg-1ubuntu4 | http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
on my machine.
I suspect this happens when the line before does not succeed:
if [ ! -f /etc/apt/sources.list.d/nodesource.list ]; then
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
fi
Manually running
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
as root fixed this issue for me.
After running the command there was a file /etc/apt/sources.list.d/nodesource.list.
$ cat /etc/apt/sources.list.d/nodesource.list
deb https://deb.nodesource.com/node_8.x xenial main
deb-src https://deb.nodesource.com/node_8.x xenial main
After that running the install script worked as expected.
Manually running
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -as root fixed this issue for me. After running the command there was a file
/etc/apt/sources.list.d/nodesource.list.$ cat /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x xenial main deb-src https://deb.nodesource.com/node_8.x xenial mainAfter that running the install script worked as expected.
I can't manually install nodejs too and after running that command, still there isn't such file or directory for me on /etc/apt/sources.list.d/nodesource.list
now show this error:
WARNING: The following packages cannot be authenticated!
nodejs
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
Manually running
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -as root fixed this issue for me. After running the command there was a file
/etc/apt/sources.list.d/nodesource.list.$ cat /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x xenial main deb-src https://deb.nodesource.com/node_8.x xenial mainAfter that running the install script worked as expected.
s root fixed this issue for me. After running the command there was a file
/etc/apt/sources.list.d/nodesource.list.
I solved the same problem with the same solution Thanks a lot for the Hint
Removing the nodesource file solved the issue for me.
rm -rf /etc/apt/sources.list.d/nodesource.list
This work for me too.