sudo docker run --rm --env-file env bigbluebutton/greenlight:v2 bundle exec rake conf:check rake 中止!ArgumentError:secret_key_base
对于生产环境必须是 String
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:583:in
validate_secret_key_base' /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:432:in secret_key_base'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:176:in
key_generator 类型' /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:205:in message_verifier'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/activestorage-5.2.3/lib/active_storage/engine.rb:81:in
block (2 levels) in ' /usr/src/app /vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:69:in block in execute_hook'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:62:in
with_execution_control' /usr/src/app/vendor/bundle/ruby/2.5.0/gems /activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:67:inexecute_hook'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:52:in
块在 run_load_hooks' /usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in each'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in
run_load_hooks' /usr/src/app/vendor /bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:75:in block in <module:Finisher>'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in
instance_exec' /usr/src/app/vendor/bundle/ruby/2.5.0/gems /railties-5.2.3/lib/rails/initializable.rb:32:inrun'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in
块在 run_initializers' /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails /initializable.rb:60:inrun_initializers'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in
初始化!/usr/src/app/config/environment.rb:23:in<top (required)>'
/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
需要'/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:inblock in require_with_bootsn
ap_lfi'
/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
注册'/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'
/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'/usr/src/app /vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in block in require'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in
load_dependency' /usr/src/app/vendor/bundle/ruby/2.5.0/gems /activesupport-5.2.3/lib/active_support/dependencies.rb:291:in require'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:337:in
require_environment!' /usr/src/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:520:in block in run_tasks_blocks'
/usr/src/app/vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/exe/rake:27:in
' /usr/local/bin/bundle:23:in load'
/usr/local/bin/bundle:23:in
'任务:TOP => conf:check => environment(通过使用 --trace 运行任务查看完整跟踪)
问问题
852 次
1 回答
0
我假设您正在尝试运行绿灯。您需要在 .ENV 文件中设置 BIGBLUEBUTTON_SECRET 变量
您可以在此处查看 BBB 文档(绿灯部分):https ://docs.bigbluebutton.org/greenlight/gl-install.html
于 2020-05-03T14:20:44.470 回答