bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.
GNU Lesser General Public License v3.0
617 stars 540 forks source link

Can't install on KVM Ubuntu 18.04 LTS for development #455

Open jannis6023 opened 2 years ago

jannis6023 commented 2 years ago

Hi, I am installing BBB on this VM with bbd-install and this command: wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-23 -s bbb.mydomain.de -d -g

I Have forwarded all necessary ports and have created LE Certificates using NginX Proxy Manager already. What's the problem here?

I get this error - then the setup ends without any message:

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
Creating network "greenlight_default" with the default driver
Pulling db (postgres:13.2-alpine)...
13.2-alpine: Pulling from library/postgres
540db60ca938: Pull complete
a3cb73039552: Pull complete
39855706e49a: Pull complete
74e3b91ca207: Pull complete
61c8cceb594b: Pull complete
a63418dfbd97: Pull complete
cb8adc73d3af: Pull complete
d6a2a57ca5f8: Pull complete
Digest: sha256:c4c7a1585974706b5f72b8ab595e47399b23b2e03d93bbf75c1b0904be1803dc
Status: Downloaded newer image for postgres:13.2-alpine
Creating greenlight_db_1 ... done
Creating greenlight-v2   ... done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Unit freeswitch.service could not be found.
main: line 401: bbb-conf: command not found
main: line 410: bbb-conf: command not found
jannis6023 commented 2 years ago

I am also getting these errors here:

failed to load external entity "/opt/freeswitch/conf/vars.xml"
failed to load external entity "/opt/freeswitch/conf/vars.xml"
failed to load external entity "/opt/freeswitch/conf/sip_profiles/external.xml"
failed to load external entity "/opt/freeswitch/conf/sip_profiles/external.xml"
Created symlink /etc/systemd/system/multi-user.target.wants/dummy-nic.service → /lib/systemd/system/dummy-nic.service.
main: line 819: bbb-conf: command not found

...

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
failed to load external entity "/opt/freeswitch/conf/sip_profiles/external.xml"
main: line 920: /etc/bigbluebutton/bigbluebutton-release: No such file or directory
failed to load external entity "/opt/freeswitch/conf/sip_profiles/external.xml"
Warning: apt-key output should not be parsed (stdout is not a terminal)
jannis6023 commented 2 years ago

After re-running the install command, I get this error:

Executing: /lib/systemd/systemd-sysv-install enable nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
dpkg: error processing package bbb-playback (--configure):
 installed bbb-playback package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of bbb-config:
 bbb-config depends on bbb-playback; however:
  Package bbb-playback is not configured yet.

dpkg: error processing package bbb-config (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bigbluebutton:
 bigbluebutton depends on bbb-config; however:
  Package bbb-config is not configured yet.

dpkg: error processing package bigbluebutton (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 bbb-playback
 bbb-config
 bigbluebutton
E: Sub-process /usr/bin/dpkg returned an error code (1)

# BigBlueButton does not appear to be installed.  Could not
# locate: /etc/bigbluebutton/bigbluebutton-release

# BigBlueButton does not appear to be installed.  Could not
# locate: /etc/bigbluebutton/bigbluebutton-release
ffdixon commented 2 years ago

Is it an option for you to install BigBlueButton on a new Ubuntu 18.04 server (not KVM)? We (the core developers) have not used KVM in a (long) while for installation/testing BigBlueButton.

The first problem is that nginx failed to install. You can see the error messages with systemctl status nginx.service.

prp-e commented 2 years ago

I have very same problem as well!

GhaziTriki commented 2 years ago

DigitalOcean is KVM based, the command is wrong you should use bionic-230 instead of bionic-23.

prp-e commented 2 years ago

@GhaziTriki I tried bionic-230 and got tons of errors. I guess the problem has something to do with dependencies and dependency resolution of BBB packages.