Internal server error / Nginx Not Found

347 views
Skip to first unread message

Giacomo Trovato

unread,
Mar 23, 2020, 6:23:40 PM3/23/20
to BigBlueButton-Setup
Hi All,

I had a well running BBB installation, and I think to have discovered a bug.
As always it's happened casually, with the system managed by not expert people...

My daughter tried to change the logo, and put on the logo field not an URL but a filename with extension.
From such moment the welcome page reports first "Internal server Error", and then Nginx Not Found page.
I've discovered that demo page and demo conference (https://puck983.startdedicated.net/demo/demo1.jsp) works properly.

Any help?

Thank you!


Ahmad Farhat

unread,
Mar 24, 2020, 9:39:26 AM3/24/20
to BigBlueButton-Setup
I'm guessing this is Greenlight? Yeah the logo url has to be a url and not a path.

Can you send some error logs from ~/greenlight/log/production.log?

Giacomo Trovato

unread,
Mar 24, 2020, 11:03:33 AM3/24/20
to BigBlueButton-Setup
Hi Ahmad,

thanks for answering.
The error appeared after to have put this on URL logo: Coludeducation.it logo.xcf

See here...

INFO: [fe1d97d6-adb4-4ce5-869c-c010c1206a61] method=POST path=/b/admins/update_settings format=*/* controller=AdminsController action=update_settings status=200 duration=448.47 view=0.00 db=70.35 location=https://puck983.startdedicated.net/b/admins/site_settings host=greenlight
INFO: [329e1ad6-4c86-46c6-a48e-01bf09924636] method=GET path=/b/admins/site_settings format=html controller=AdminsController action=site_settings status=500 error='ActionView::Template::Error: The asset "Coludeducation.it logo.xcf" is not present in the asset pipeline.' duration=393.60 view=0.00 db=5.44 host=greenlight
FATAL: [329e1ad6-4c86-46c6-a48e-01bf09924636]   
FATAL: [329e1ad6-4c86-46c6-a48e-01bf09924636] ActionView::Template::Error (The asset "Coludeducation.it logo.xcf" is not present in the asset pipeline.):
FATAL: [329e1ad6-4c86-46c6-a48e-01bf09924636]     17:   <div class="container">
[329e1ad6-4c86-46c6-a48e-01bf09924636]     18:     <div class="d-flex">
[329e1ad6-4c86-46c6-a48e-01bf09924636]     19:       <%= link_to (current_user ? home_page : root_path), class: "header-brand" do %>
[329e1ad6-4c86-46c6-a48e-01bf09924636]     20:         <%= image_tag(logo_image, class: "header-brand-img", alt:"") %>
[329e1ad6-4c86-46c6-a48e-01bf09924636]     21:       <% end %>
[329e1ad6-4c86-46c6-a48e-01bf09924636]     22:
[329e1ad6-4c86-46c6-a48e-01bf09924636]     23:       <div class="d-flex ml-auto">
FATAL: [329e1ad6-4c86-46c6-a48e-01bf09924636]   
FATAL: [329e1ad6-4c86-46c6-a48e-01bf09924636] app/views/shared/_header.html.erb:20:in `block in _app_views_shared__header_html_erb___3432946151727664333_46970735254140'
[329e1ad6-4c86-46c6-a48e-01bf09924636] app/views/shared/_header.html.erb:19:in `_app_views_shared__header_html_erb___3432946151727664333_46970735254140'
[329e1ad6-4c86-46c6-a48e-01bf09924636] app/views/layouts/application.html.erb:62:in `_app_views_layouts_application_html_erb___1774388277670338322_46970746643020'
INFO: [329e1ad6-4c86-46c6-a48e-01bf09924636] method=GET path=/b/500 format=html controller=ErrorsController action=internal_error status=500 error='ActionView::Template::Error: The asset "Coludeducation.it logo.xcf" is not present in the asset pipeline.' duration=363.18 view=0.00 db=0.11 host=greenlight
INFO: [99875b6a-642a-4979-bf6a-a1d15b5e2aee] method=GET path=/b/admins format=html controller=AdminsController action=index status=500 error='ActionView::Template::Error: The asset "Coludeducation.it logo.xcf" is not present in the asset pipeline.' duration=437.45 view=0.00 db=26.22 host=greenlight
FATAL: [99875b6a-642a-4979-bf6a-a1d15b5e2aee]   
FATAL: [99875b6a-642a-4979-bf6a-a1d15b5e2aee] ActionView::Template::Error (The asset "Coludeducation.it logo.xcf" is not present in the asset pipeline.):
FATAL: [99875b6a-642a-4979-bf6a-a1d15b5e2aee]     17:   <div class="container">
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     18:     <div class="d-flex">
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     19:       <%= link_to (current_user ? home_page : root_path), class: "header-brand" do %>
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     20:         <%= image_tag(logo_image, class: "header-brand-img", alt:"") %>
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     21:       <% end %>
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     22:
[99875b6a-642a-4979-bf6a-a1d15b5e2aee]     23:       <div class="d-flex ml-auto">
FATAL: [99875b6a-642a-4979-bf6a-a1d15b5e2aee]   
FATAL: [99875b6a-642a-4979-bf6a-a1d15b5e2aee] app/

Ahmad Farhat

unread,
Mar 24, 2020, 11:19:04 AM3/24/20
to BigBlueButton-Setup
Yeah this is a bug in the latest version. You can manually fix it by running the following commands:

docker exec -it greenlight-v2 bash
bundle exec rails c
Setting.find_by(provider: "greenlight").update_value("Branding Image","IMAGE_URL")

Make sure you replace IMAGE_URL with the url of the image you want

Giacomo Trovato

unread,
Mar 24, 2020, 11:30:32 AM3/24/20
to BigBlueButton-Setup
Hi Ahmad,

I've some errors, see below (at the end):

puck983:~# docker exec -it greenlight-v2 bash
bash-4.4# bundle exec rails c
Traceback (most recent call last):
    100: from bin/rails:11:in `<main>'
     99: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
     98: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
     97: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
     96: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
     95: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
     94: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
     93: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
     92: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
     91: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<top (required)>'
     90: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
     89: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
     88: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
     87: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
     86: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
     85: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/commands/console/console_command.rb:95:in `perform'
     84: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
     83: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/command/actions.rb:28:in `require_environment!'
     82: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:337:in `require_environment!'
     81: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
     80: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
     79: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
     78: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
     77: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
     76: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
     75: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
     74: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
     73: from /usr/src/app/config/environment.rb:23:in `<top (required)>'
     72: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
     71: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
     70: from /usr/local/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
     69: from /usr/local/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
     68: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
     67: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `call'
     66: from /usr/local/lib/ruby/2.5.0/tsort.rb:347:in `each'
     65: from /usr/local/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
     64: from /usr/local/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
     63: from /usr/local/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
     62: from /usr/local/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
     61: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
     60: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
     59: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
     58: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
     57: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each'
     56: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!'
     55: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!'
     54: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each'
     53: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!'
     52: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each'
     51: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
     50: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
     49: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:85:in `depend_on'
     48: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
     47: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:47:in `require_or_load'
     46: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
     45: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in `block in require_or_load'
     44: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
     43: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
     42: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
     41: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
     40: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
     39: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
     38: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load'
     37: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
     36: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
     35: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
     34: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
     33: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
     32: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
     31: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
     30: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
     29: from /usr/src/app/app/models/room.rb:21:in `<top (required)>'
     28: from /usr/src/app/app/models/room.rb:22:in `<class:Room>'
     27: from /usr/src/app/app/models/room.rb:22:in `include'
     26: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concern.rb:122:in `append_features'
     25: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concern.rb:122:in `class_eval'
     24: from /usr/src/app/app/models/concerns/deleteable.rb:24:in `block in <module:Deleteable>'
     23: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/model_schema.rb:388:in `column_names'
     22: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/model_schema.rb:341:in `columns'
     21: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/model_schema.rb:456:in `load_schema'
     20: from /usr/local/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
     19: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/model_schema.rb:459:in `block in load_schema'
     18: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/attribute_decorators.rb:51:in `load_schema!'
     17: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/attributes.rb:234:in `load_schema!'
     16: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/model_schema.rb:466:in `load_schema!'
     15: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_handling.rb:90:in `connection'
     14: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_handling.rb:118:in `retrieve_connection'
     13: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:1014:in `retrieve_connection'
     12: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection'
     11: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in `checkout'
     10: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in `acquire_connection'
      9: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in `try_to_checkout_new_connection'
      8: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in `checkout_new_connection'
      7: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in `new_connection'
      6: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:48:in `postgresql_connection'
      5: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:48:in `new'
      4: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:223:in `initialize'
      3: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:692:in `connect'
      2: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
      1: from /usr/src/app/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize': could not translate host name "db" to address: Name does not resolve (PG::ConnectionBad)
bash-4.4# Setting.find_by(provider: "greenlight").update_value("Branding Image","http://imtyn.com")
bash: syntax error near unexpected token `provider:'
bash-4.4#

Ahmad Farhat

unread,
Mar 24, 2020, 11:37:46 AM3/24/20
to BigBlueButton-Setup
Your postgres container seems down.

Whats the output of
docker ps
docker logs greenlight_db_1

Giacomo Trovato

unread,
Mar 24, 2020, 12:32:52 PM3/24/20
to BigBlueButton-Setup
Hi Ahmad,

see below.
If you've an email or Skype I can send to you the credentials for ssh.
My Skype ID is gtrovato.

Thanks!

puck983:~# docker ps
CONTAINER ID        IMAGE                         COMMAND             CREATED             STATUS              PORTS                    NAMES
95a90cc5ef0e        bigbluebutton/greenlight:v2   "bin/start"         21 hours ago        Up 36 minutes       127.0.0.1:5000->80/tcp   greenlight-v2
puck983:~# docker logs greenlight_db_1

PostgreSQL Database directory appears to contain a database; Skipping initialization

LOG:  database system was shut down at 2020-03-23 19:22:29 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
LOG:  invalid length of startup packet
ERROR:  database "greenlight_production" already exists
STATEMENT:  CREATE DATABASE "greenlight_production" ENCODING = 'utf8'
LOG:  received smart shutdown request
LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
puck983:~#

Ahmad Farhat

unread,
Mar 24, 2020, 1:45:14 PM3/24/20
to BigBlueButton-Setup
Sorry I'm abit swamped at the moment, which is why I won't be able able to ssh,

Try restarting Greenlight
- cd ~/greenlight
- docker-compose down
- docker-compose up -d

Waiting abit for the containers to spin up and then running the commands
docker exec -it greenlight-v2 bash
bundle exec rails c
Setting.find_by(provider: "greenlight").update_value("Branding Image","IMAGE_URL")


Giacomo Trovato

unread,
Mar 24, 2020, 2:17:01 PM3/24/20
to BigBlueButton-Setup
Hi Ahmad,

now I had no errors with the commands!

But still not working ( Nginx 400 Not Found page).
I think I've now this error because I had tried something yesterday.
Here from the Nginx error log:

2020/03/24 18:58:14 [error] 1710#1710: *1 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net"
2020/03/24 19:01:52 [error] 1414#1414: *1 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net"
2020/03/24 19:01:54 [error] 1414#1414: *1 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net"
2020/03/24 19:02:05 [error] 1414#1414: *1 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net"
2020/03/24 19:02:28 [error] 1414#1414: *4 open() "/var/www/bigbluebutton-default/remote/login" failed (2: No such file or directory), client: 169.197.108.42, server: puck983.startdedicated.net, request: "GET /remote/login HTTP/1.1", host: "62.75.216.143"
2020/03/24 19:03:25 [error] 1414#1414: *15 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net", referrer: "https://puck983.startdedicated.net/html5client/join?sessionToken=ucbpmplq97wdztgy"
2020/03/24 19:03:28 [error] 1414#1414: *53 open() "/var/www/bigbluebutton-default/index.php" failed (2: No such file or directory), client: 5.101.0.209, server: puck983.startdedicated.net, request: "GET /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP HTTP/1.1", host: "62.75.216.143:443"
2020/03/24 19:06:53 [error] 1414#1414: *55 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 5.101.0.209, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "62.75.216.143", referrer: "https://62.75.216.143:443/?XDEBUG_SESSION_START=phpstorm"
2020/03/24 19:10:51 [error] 1414#1414: *56 open() "/var/www/bigbluebutton-default/b" failed (2: No such file or directory), client: 95.244.62.135, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", host: "puck983.startdedicated.net"

Ahmad Farhat

unread,
Mar 24, 2020, 3:22:22 PM3/24/20
to BigBlueButton-Setup
What changes did you make to your nginx?

Does the greenlight nginx file still exists? (/etc/bigbluebutton/nginx/greenlight.nginx)

Giacomo Trovato

unread,
Mar 24, 2020, 6:11:45 PM3/24/20
to BigBlueButton-Setup
There is the file but it's empty.

Ahmad Farhat

unread,
Mar 25, 2020, 10:11:09 AM3/25/20
to BigBlueButton-Setup
Try running these again:

docker run --rm bigbluebutton/greenlight:v2 cat ./greenlight.nginx | sudo tee /etc/bigbluebutton/nginx/greenlight.nginx
sudo systemctl restart nginx

Giacomo Trovato

unread,
Mar 25, 2020, 10:31:44 AM3/25/20
to BigBlueButton-Setup
Hi Ahmad,

I had no errors with such commands, but still it's not working.
Now there is a different error on Nginx log.

puck983.startdedicated.net, request: "GET /b HTTP/1.1", upstream: "http://127.0.0.1:5000/b", host: "puck983.startdedicated.net"
2020/03/25 15:27:16 [error] 1283#1283: *1 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 87.19.121.6, server: puck983.startdedicated.net, request: "GET /b HTTP/1.1", upstream: "http://127.0.0.1:5000/b", host: "puck983.startdedicated.net"

Ahmad Farhat

unread,
Mar 25, 2020, 10:39:47 AM3/25/20
to BigBlueButton-Setup
Can you send the output of "docker logs greenlight-v2" and "docker logs greenlight_db_1"

Giacomo Trovato

unread,
Mar 25, 2020, 10:44:31 AM3/25/20
to BigBlueButton-Setup
Here.

puck983:~# docker logs greenlight-v2
Waiting for postgres to start up ...
Waiting for postgres to start up ...
Waiting for postgres to start up ...
Waiting for postgres to start up ...
Waiting for postgres to start up ...
Waiting for postgres to start up ...
Waiting for postgres to start up ...

puck983:~# docker logs greenlight_db_1

PostgreSQL Database directory appears to contain a database; Skipping initialization

LOG:  database system was shut down at 2020-03-23 19:23:08 UTC

LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
LOG:  invalid length of startup packet
ERROR:  database "greenlight_production" already exists
STATEMENT:  CREATE DATABASE "greenlight_production" ENCODING = 'utf8'
LOG:  received smart shutdown request
LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
puck983:~#

Giacomo Trovato

unread,
Mar 26, 2020, 12:19:44 PM3/26/20
to BigBlueButton-Setup
Hi Ahmad,

after entered in demo page, also the normal page has started to work!
So... I've solved!
Thank you very much!

And.. coluld you please help me also about the topic below?

My BBB is installed on a dedicated server dirrectly on Internet (public IP with no port forwording).
I've used the bbb-install script:

wget -qO- https://github.com/bigbluebutton/bbb-install/raw/master/bbb-install.sh | bash -s -- -v xenial-220 -s xxxxxx.dddddd.net -e xx...@ddddddd.com -g

Now I wish to install on a VM under firewall, with port forwarding.
Can I use the same option after to have set port forwarding?

Giacomo (Italy)
Reply all
Reply to author
Forward
0 new messages