instructure/canvas-lms — Issue #133: Startup Issue - Permission denied-database.yml
Author: tbertoli
Created: 2012-01-12 20:18:11+00:00
State: open

I set Canvas up to run on a fresh Ubuntu 10.04.3 server, but when I try to load it in a browser, I get the following error:
Error message:
Permission denied - /var/rails/canvas/config/database.yml
Exception class:
Errno::EACCES
Application root:
/var/rails/canvas
Backtrace:
#	File	Line	Location
0	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	926	in `read'
1	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	926	in `database_configuration'
2	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	437	in `initialize_database'
3	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	141	in `process'
4	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	113	in `send'
5	/home/sysadmin/gems/gems/rails-2.3.14/lib/initializer.rb	113	in `run'
6	./config/environment.rb	9
7	/usr/lib/ruby/1.8/rubygems/custom_require.rb	31	in `gem_original_require'
8	/usr/lib/ruby/1.8/rubygems/custom_require.rb	31	in `require'
9	config.ru	1
10	/usr/lib/ruby/1.8/rack/builder.rb	46	in `instance_eval'
11	/usr/lib/ruby/1.8/rack/builder.rb	46	in `initialize'
12	config.ru	1	in `new'
13	config.ru	1

Any help on this would be greatly appreciated!