instructure/canvas-lms — Issue #127: First Startup
Author: proteo13
Created: 2011-12-06 17:05:57+00:00
State: open

Hi, I have problem with Canvas startup. It seems similar to Issue #118 and #119. Distro: ubuntu lucid, every dependencies solved. Some help will be appreciated. Mysql configuration is fine, password is set and ok as well :(

Web page output:
------------------------
Ruby (Rack) application could not be started
These are the possible causes:
There may be a syntax error in the application's code. Please check for such errors and fix them.
A required library may not installed. Please install all libraries that this application requires.
The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
Could not load the bundler gem. Install it with `gem install bundler`.
Exception class:
RuntimeError
Application root:
/var/inovamaster/canvas
Backtrace:
#	File	Line	Location
0	./config/../config/preinitializer.rb	5
1	./config/boot.rb	29	in `load'
2	./config/boot.rb	29	in `preinitialize'
3	./config/boot.rb	11	in `boot!'
4	./config/boot.rb	122
5	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `gem_original_require'
6	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `require'
7	./config/environment.rb	4
8	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `gem_original_require'
9	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `require'
10	config.ru	1
11	/usr/lib/ruby/1.8/rack/builder.rb	46	in `instance_eval'
12	/usr/lib/ruby/1.8/rack/builder.rb	46	in `initialize'
13	config.ru	1	in `new'
14	config.ru	1

MANUAL RUN OUTPUT
--------------------------------
root@moodle-ic:/var/inovamaster/canvas# script/server
=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3000
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /var/inovamaster/gems/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
Jammit Warning: Asset compression disabled -- Java unavailable.
FSSM -> An optimized backend is available for this platform!
FSSM -> gem install rb-inotify
Sass::Compiler#on_updating_stylesheet callback is deprecated and will be removed in a future release. Use Sass::Compiler#on_updated_stylesheet instead, which is run after stylesheet compilation.
/var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:620:in `real_connect': Access denied for user 'canvas'@'localhost' (using password: NO) (Mysql::Error)
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:620:in `connect'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:203:in `initialize'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `new'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `mysql_connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout'
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
from /var/inovamaster/gems/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
from /var/inovamaster/canvas/config/initializers/active_record.rb:271:in `rank_sql'
from /var/inovamaster/canvas/config/initializers/active_record.rb:271:in `map'
from /var/inovamaster/canvas/config/initializers/active_record.rb:271:in `rank_sql'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/memoizable.rb:61:in `inject'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/memoizable.rb:61:in `each'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/memoizable.rb:61:in `each_with_index'
from /var/inovamaster/canvas/config/initializers/active_record.rb:270:in `each'
from /var/inovamaster/canvas/config/initializers/active_record.rb:270:in `each_with_index'
from /var/inovamaster/canvas/config/initializers/active_record.rb:270:in `each'
from /var/inovamaster/canvas/config/initializers/active_record.rb:270:in `inject'
from /var/inovamaster/canvas/config/initializers/active_record.rb:270:in `rank_sql'
from /var/inovamaster/canvas/app/models/enrollment.rb:287
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:291:in `require_or_load'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:451:in `load_missing_constant'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:in `const_missing_not_from_s3_library'
from /var/inovamaster/gems/gems/aws-s3-instructure-0.6.2.1319643167/lib/aws/s3/extensions.rb:206:in `rake_original_const_missing'
from /var/inovamaster/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:118:in `const_missing'
from /var/inovamaster/canvas/app/models/designer_enrollment.rb:19
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:291:in `require_or_load'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:250:in `depend_on'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:162:in `require_dependency'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:414:in `load_application_classes'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:413:in `each'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:413:in `load_application_classes'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:411:in `each'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:411:in `load_application_classes'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:197:in `process'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:113:in `send'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
from /var/inovamaster/canvas/config/environment.rb:9
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /var/inovamaster/gems/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
from /var/inovamaster/canvas/config.ru:1
from /var/inovamaster/gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
from /var/inovamaster/gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
from /var/inovamaster/canvas/config.ru:1:in `new'
from /var/inovamaster/canvas/config.ru:1
from script/server:3:in `eval'
from /var/inovamaster/gems/gems/rails-2.3.14/lib/commands/server.rb:78
from script/server:3:in `require'
from script/server:3