bigbluebutton / greenlight

A really simple end-user interface for your BigBlueButton server.
GNU Lesser General Public License v3.0
784 stars 3.8k forks source link

Fresh install - Greenlight error Caused by: Sprockets::Rails::Helper::AssetNotFound: The asset "bbb_logo.png" is not present in the asset pipeline. (Sprockets::Rails::Helper::AssetNotFound) #5699

Closed Bschalck closed 4 months ago

Bschalck commented 5 months ago

Hy !!

I made a new clean uinstalaltion of BigBluebutton & Greenlight. I am facing a strange issue . Greenlight seems starting , but is not reachable . The docker logs :

usr/src/app/bin/rails:4:in `<main>'
Tasks: TOP => assets:precompile => css:build => css:install
(See full trace by running task with --trace)
Database 'greenlight-v3-production' already exists
== Data =======================================================================
I, [2024-02-02T10:16:32.339894 #34]  INFO -- : Migrating to PopulateSiteSettings (20220713143528)
== 20220713143528 PopulateSiteSettings: migrating =============================
bin/rails aborted!
StandardError: An error has occurred, this and all later migrations canceled: (StandardError)

The asset "bbb_logo.png" is not present in the asset pipeline.

So even if the docker is started , it is not reachable :

Tasks: TOP => db:migrate:with_data
(See full trace by running task with --trace)
=> Booting Puma
=> Rails 7.1.1 application starting in production 
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 5.6.7 (ruby 3.2.2-p53) ("Birdie's Version")
*  Min threads: 5
*  Max threads: 5
*  Environment: production
*          PID: 1
* Listening on http://0.0.0.0:3000
Use Ctrl-C to stop

When I try to access , I got this error ( and a blank page )

I, [2024-02-02T10:17:48.629721 #1]  INFO -- : [13cbfb8e-358b-4283-a065-56c078beee06] method=GET path=/ format=html controller=ComponentsController action=index status=500 allocations=9153 duration=59.65 view=0.00 db=30.15 time=2024-02-02 10:17:48 UTC host=greenlight
F, [2024-02-02T10:17:48.630800 #1] FATAL -- : [13cbfb8e-358b-4283-a065-56c078beee06]   
[13cbfb8e-358b-4283-a065-56c078beee06] ActionView::Template::Error (nil is not a valid asset source):
[13cbfb8e-358b-4283-a065-56c078beee06]     22:     <!-- Open Graph Attributes -->
[13cbfb8e-358b-4283-a065-56c078beee06]     23:     <meta property="og:title" content="<%= page_title %>" />
[13cbfb8e-358b-4283-a065-56c078beee06]     24:     <meta property="og:description" content="<%= t('opengraph.description') %>" />
[13cbfb8e-358b-4283-a065-56c078beee06]     25:     <meta property="og:image" content="<%= branding_image %>" />
[13cbfb8e-358b-4283-a065-56c078beee06]     26: 
[13cbfb8e-358b-4283-a065-56c078beee06]     27:     <%= csrf_meta_tags %>
[13cbfb8e-358b-4283-a065-56c078beee06]     28:     <%= csp_meta_tag %>
[13cbfb8e-358b-4283-a065-56c078beee06]   
[13cbfb8e-358b-4283-a065-56c078beee06] app/helpers/application_helper.rb:22:in `branding_image'
[13cbfb8e-358b-4283-a065-56c078beee06] app/views/layouts/application.html.erb:25
nisutec commented 5 months ago

I have the same problem with a freshly installed standalone greenlight instance over the gl-install.sh script.

Dubs120 commented 5 months ago

I have the same configuration in two another attempts of installation through BigBlueButton installtion in a LXC unpriviledge container with Ubuntu 20.04 LXC Template. docker logs greenlight-v3 --> paste-bin = https://tools.immae.eu/paste/85a/text