bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

Fresh install on a virtual machine fails with "Did not detect nodejs 8.x candidate for installation"

Open telesat158581 opened this issue 5 years ago • 14 comments

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):

bbb-error

What could be the problem?

telesat158581 avatar Mar 27 '20 11:03 telesat158581

Looks like #103 may help. The advice from @sandaliero seems to have gotten me over the issue.

ricmattj avatar Mar 28 '20 16:03 ricmattj

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

telesat158581 avatar Mar 28 '20 16:03 telesat158581

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!

ricmattj avatar Mar 28 '20 17:03 ricmattj

What is the error that your seeing?

ffdixon avatar Mar 28 '20 21:03 ffdixon

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.

ricmattj avatar Mar 29 '20 15:03 ricmattj

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?

telesat158581 avatar Mar 31 '20 22:03 telesat158581

Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial

Like you, it is installed on a VM (VMWare)

ricmattj avatar Mar 31 '20 23:03 ricmattj

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

ricffb avatar Apr 29 '20 14:04 ricffb

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.

ricffb avatar Apr 29 '20 14:04 ricffb

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.

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

ha3an-t avatar Jul 12 '20 07:07 ha3an-t

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 main

After that running the install script worked as expected.

voicerecordist avatar Sep 28 '20 15:09 voicerecordist

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

ccomincini avatar Jan 15 '21 20:01 ccomincini

Removing the nodesource file solved the issue for me.

rm -rf /etc/apt/sources.list.d/nodesource.list

lucaloiacono avatar Jul 12 '21 15:07 lucaloiacono

This work for me too.

ptrskowron avatar Dec 09 '21 11:12 ptrskowron