Hi,
I’ve installed Docker and a container with the image: instructure/canvas-lms.
it seems running but when I try to open the application from the browser, it fails and I saw the error log below.
Is there someone that tried it?
thanks
Domenico
/usr/src/nginx/nginx.conf: generated.
/usr/src/nginx/main.d/env.conf: generated.
[ N 2023-09-09 23:41:42.6882 13/T1 age/Wat/WatchdogMain.cpp:1366 ]: Starting Passenger watchdog…
[ N 2023-09-09 23:41:42.7121 16/T1 age/Cor/CoreMain.cpp:1339 ]: Starting Passenger core…
[ N 2023-09-09 23:41:42.7125 16/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ N 2023-09-09 23:41:42.7567 16/T1 age/Cor/CoreMain.cpp:1014 ]: Passenger core online, PID 16
[ E 2023-09-09 23:41:44.8082 16/T5 age/Cor/SecurityUpdateChecker.h:507 ]: Security update check failed: Peer certificate cannot be authenticated with given CA certificates while connecting to https://securitycheck.phusionpassenger.com/v1/check.json; check that your connection is secure and that the truststore is valid. If the problem persists, you can also try upgrading or reinstalling Phusion Passenger (next check in 24 hours)
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/soap4r-ruby1.9-2.0.5/lib/soap/mapping/encodedregistry.rb:150: warning: constant ::Fixnum is deprecated
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/soap4r-ruby1.9-2.0.5/lib/soap/mapping/encodedregistry.rb:216: warning: constant ::Fixnum is deprecated
App 53 output: Error: The application encountered the following error: Cannot load Rails.application.database_configuration
:
App 53 output: Could not load database configuration. No such file - [“config/database.yml”] (RuntimeError)
App 53 output:
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/configuration.rb:139:in database_configuration' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activerecord-5.1.6.2/lib/active_record/railtie.rb:121:in
block (2 levels) in class:Railtie’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:69:in instance_eval' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:69:in
block in execute_hook’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:60:in with_execution_control' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:65:in
execute_hook’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:41:in block in on_load' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:40:in
each’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:40:in on_load' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/activerecord-5.1.6.2/lib/active_record/railtie.rb:120:in
block in class:Railtie’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in instance_exec' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in
run’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:59:in block in run_initializers' App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:228:in
block in tsort_each’
App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:431:in
each_strongly_connected_component_from’
App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:349:in block in each_strongly_connected_component' App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in
each’
App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in call' App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in
each_strongly_connected_component’
App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:226:in tsort_each' App 53 output: /usr/lib/ruby/2.4.0/tsort.rb:205:in
tsort_each’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:58:in run_initializers' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application.rb:353:in
initialize!’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/railtie.rb:185:in public_send' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/railtie.rb:185:in
method_missing’
App 53 output: /usr/src/app/config/environment.rb:28:in <top (required)>' App 53 output: config.ru:3:in
require’
App 53 output: config.ru:3:in block in <main>' App 53 output: /home/docker/.gem/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in
instance_eval’
App 53 output: /home/docker/.gem/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in initialize' App 53 output: config.ru:1:in
new’
App 53 output: config.ru:1:in <main>' App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in
eval’
App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in preload_app' App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:189:in
block in module:App’
App 53 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:380:in run_block_and_record_step_progress' App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:188:in
module:App’
App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in <module:PhusionPassenger>' App 53 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
’
[ E 2023-09-09 23:41:53.9998 16/Tn age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /usr/src/app: The application encountered the following error: Cannot load Rails.application.database_configuration
:
Could not load database configuration. No such file - [“config/database.yml”] (RuntimeError)
Error ID: dab7a11b
Error details saved to: /tmp/passenger-error-QtFiHd.html
[ E 2023-09-09 23:41:54.0082 16/T8 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is dab7a11b. Please see earlier logs for details about the error.
127.0.0.1 - - [09/Sep/2023:23:41:54 +0000] “HEAD / HTTP/1.1” 500 0 “-” “-”
79.49.141.105 - - [09/Sep/2023:23:42:25 +0000] “GET /instructure/canvas-rce-api HTTP/1.1” 499 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36”
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/soap4r-ruby1.9-2.0.5/lib/soap/mapping/encodedregistry.rb:150: warning: constant ::Fixnum is deprecated
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/soap4r-ruby1.9-2.0.5/lib/soap/mapping/encodedregistry.rb:216: warning: constant ::Fixnum is deprecated
App 101 output: Error: The application encountered the following error: Cannot load Rails.application.database_configuration
:
App 101 output: Could not load database configuration. No such file - [“config/database.yml”] (RuntimeError)
App 101 output:
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/configuration.rb:139:in database_configuration' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activerecord-5.1.6.2/lib/active_record/railtie.rb:121:in
block (2 levels) in class:Railtie’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:69:in instance_eval' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:69:in
block in execute_hook’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:60:in with_execution_control' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:65:in
execute_hook’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:41:in block in on_load' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:40:in
each’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:40:in on_load' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/activerecord-5.1.6.2/lib/active_record/railtie.rb:120:in
block in class:Railtie’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in instance_exec' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in
run’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:59:in block in run_initializers' App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:228:in
block in tsort_each’
App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:431:in
each_strongly_connected_component_from’
App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:349:in block in each_strongly_connected_component' App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in
each’
App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in call' App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:347:in
each_strongly_connected_component’
App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:226:in tsort_each' App 101 output: /usr/lib/ruby/2.4.0/tsort.rb:205:in
tsort_each’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:58:in run_initializers' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application.rb:353:in
initialize!’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/railtie.rb:185:in public_send' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/railtie.rb:185:in
method_missing’
App 101 output: /usr/src/app/config/environment.rb:28:in <top (required)>' App 101 output: config.ru:3:in
require’
App 101 output: config.ru:3:in block in <main>' App 101 output: /home/docker/.gem/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in
instance_eval’
App 101 output: /home/docker/.gem/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in initialize' App 101 output: config.ru:1:in
new’
App 101 output: config.ru:1:in <main>' App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in
eval’
App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in preload_app' App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:189:in
block in module:App’
App 101 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:380:in run_block_and_record_step_progress' App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:188:in
module:App’
App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in <module:PhusionPassenger>' App 101 output: /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
’
[ E 2023-09-09 23:42:33.7187 16/Ts age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /usr/src/app: The application encountered the following error: Cannot load Rails.application.database_configuration
:
Could not load database configuration. No such file - [“config/database.yml”] (RuntimeError)
Error ID: 19b208cc
Error details saved to: /tmp/passenger-error-Ww1f8c.html