heroku / discussion

(DEPRECATED) Heroku forums (public beta)
https://discussion.heroku.com
GNU General Public License v2.0
15 stars 9 forks source link

Redis config not found #6

Open zeke opened 11 years ago

zeke commented 11 years ago

Trying to get this puppy set up locally...

~/code/hero/discussion master → foreman start
13:23:53 web.1    | started with pid 66092
13:23:53 worker.1 | started with pid 66093
13:23:55 web.1    | I, [2013-10-16T13:23:55.575704 #66092]  INFO -- : Refreshing Gem list
13:23:58 worker.1 | 
13:23:58 worker.1 | Redis config for environment '-c' was not found in /Users/zeke/code/hero/discussion/config/redis.yml.
13:23:58 worker.1 | Did you forget to do RAILS_ENV=production?
13:23:58 worker.1 | Check your redis.yml and make sure it has configuration for the environment you're trying to use.
13:23:58 worker.1 | 
13:23:58 worker.1 | Redis config not found
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/lib/discourse_redis.rb:64:in `new_redis_store'
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/config/application.rb:112:in `<class:Application>'
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/config/application.rb:16:in `<module:Discourse>'
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/config/application.rb:15:in `<top (required)>'
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/config/environment.rb:2:in `require'
13:23:58 worker.1 | /Users/zeke/code/hero/discussion/config/environment.rb:2:in `<top (required)>'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:195:in `require'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:195:in `boot_system'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:39:in `parse'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/bin/sidekiq:7:in `<top (required)>'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/bin/sidekiq:23:in `load'
13:23:58 worker.1 | /Users/zeke/.rbenv/versions/2.0.0-p247/bin/sidekiq:23:in `<main>'
13:23:58 worker.1 | exited with code 1
13:23:58 system   | sending SIGTERM to all processes
13:23:59 web.1    | /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/application/configuration.rb:115:in `read': No such file or directory - /Users/zeke/code/hero/discussion/config/database.yml (Errno::ENOENT)
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/application/configuration.rb:115:in `database_configuration'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activerecord-3.2.12/lib/active_record/railtie.rb:78:in `block (2 levels) in <class:Railtie>'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:in `each'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:in `on_load'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activerecord-3.2.12/lib/active_record/railtie.rb:74:in `block in <class:Railtie>'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `instance_exec'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `run'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:55:in `block in run_initializers'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `each'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `run_initializers'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:136:in `initialize!'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
13:23:59 web.1    |   from /Users/zeke/code/hero/discussion/config/environment.rb:5:in `<top (required)>'
13:23:59 web.1    |   from config.ru:3:in `require'
13:23:59 web.1    |   from config.ru:3:in `block in <main>'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
13:23:59 web.1    |   from config.ru:1:in `new'
13:23:59 web.1    |   from config.ru:1:in `<main>'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `eval'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `block in builder'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `call'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `build_app!'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:140:in `start'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/unicorn-4.6.3/bin/unicorn:126:in `<top (required)>'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/bin/unicorn:23:in `load'
13:23:59 web.1    |   from /Users/zeke/.rbenv/versions/2.0.0-p247/bin/unicorn:23:in `<main>'
13:24:00 web.1    | exited with code 1
raul commented 11 years ago

Ah, yes, you need to start a local Redis server, the default config should work!