Giter VIP home page Giter VIP logo

discourse's People

Contributors

abbat avatar alxndr avatar chrishunt avatar coding-horror avatar danneu avatar einarj avatar eviltrout avatar goshacmd avatar hanzo55 avatar hindenbug avatar jamesaanderson avatar jbruni avatar jd-erreape avatar kubamracek avatar mattvanhorn avatar netzpirat avatar nlalonde avatar nverba avatar ofgeek avatar rwdaigle avatar samsaffron avatar stephankaag avatar supermathie avatar tangramor avatar thomasharper avatar tms avatar velesin avatar vipulnsward avatar wojciechka avatar zogstrip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

discourse's Issues

Precompiling Assets failing

Hi,

I can get discourse running fine in development, but deploying to heroku, I keep getting the:

Running: rake assets:precompile
       Booting in Rails 4 mode
       rake aborted!
       could not connect to server: Connection refused
       Is the server running on host "127.0.0.1" and accepting
       TCP/IP connections on port 5432?
       /tmp/build_03d26c19-3318-4f4a-91c2-c12d12767fcd/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `initialize'

error.

This is copying and pasting from the heroku instructions step by step, using all the recommended add ons (although new relic needed a different command to add).

Steps I've tried:

  • Disabled/re-enabled user-env-compile
  • Using eu region (just in case)
  • Editing redis.yml so the only ENV is OPENREDIS_URL and then removing it and adding redis to go and having that as the only option.

My heroku config is:

HEROKU_POSTGRESQL_GOLD_URL => postgres:// xxx
LIBRATO_PASSWORD           => xxx
LIBRATO_TOKEN              => xxx
LIBRATO_USER               => xxx
NEW_RELIC_APP_NAME         => Discourse
NEW_RELIC_LICENSE_KEY      => xxx
NEW_RELIC_LOG              => stdout
PAPERTRAIL_API_TOKEN       => xxx
RACK_ENV                   => production
REDISTOGO_URL              => xxx
RUBY_GC_MALLOC_LIMIT       => 90000000
SECRET_TOKEN               => xxx
SENDGRID_PASSWORD          => xxx
SENDGRID_USERNAME          => [email protected]
WEB_CONCURRENCY            => 2

I realise this is probably me being stupid and missing a config or something, but wanted to make sure. Thanks.

Credit card required to use

You need a card to use and verify your account because of add ons. Any chance of removing those? Or, if I fork it, can I remove them?

cannot start console

Are you seeing this @rwdaigle ?

heroku run rails c
Running `rails c` attached to terminal... up, run.1879
/app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'sprockets' (~> 2.2.1) among 131 total gem(s) (Gem::LoadError)
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1196:in `block in activate_dependencies'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `each'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `activate_dependencies'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1167:in `activate'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1199:in `block in activate_dependencies'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `each'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `activate_dependencies'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1167:in `activate'
    from /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:48:in `gem'
    from /app/vendor/bundle/ruby/2.0.0/bin/rails:22:in `<main>'

Note: I am based on master as of today - I suspect (but have not confirmed) that it's related to the newish plugin booting process.

`method_missing': undefined method `action_mailer'

I'm trying to set this up to run locally, but I keep getting this error:

/Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/railtie/configuration.rb:97:in `method_missing': undefined method `action_mailer' for #<Rails::Application::Configuration:0x000001088a8b90> (NoMethodError)
21:09:07 web.1    |     from /Users/jorgen/Dropbox/Design/discourse/discourse/config/environments/development.rb:40:in `block in <top (required)>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:24:in `class_eval'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:24:in `configure'
21:09:07 web.1    |     from /Users/jorgen/Dropbox/Design/discourse/discourse/config/environments/development.rb:1:in `<top (required)>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `block in require'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in `load_dependency'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/engine.rb:591:in `block (2 levels) in <class:Engine>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/engine.rb:590:in `each'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/engine.rb:590:in `block in <class:Engine>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `instance_exec'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `run'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:55:in `block in run_initializers'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `each'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `tsort_each_child'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:in `each'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
21:09:07 web.1    |     from /Users/jorgen/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/initializable.rb:54:in `run_initializers'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/application.rb:215:in `initialize!'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
21:09:07 web.1    |     from /Users/jorgen/Dropbox/Design/discourse/discourse/config/environment.rb:5:in `<top (required)>'
21:09:07 web.1    |     from config.ru:3:in `require'
21:09:07 web.1    |     from config.ru:3:in `block in <main>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
21:09:07 web.1    |     from config.ru:1:in `new'
21:09:07 web.1    |     from config.ru:1:in `<main>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/lib/unicorn.rb:48:in `eval'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/lib/unicorn.rb:48:in `block in builder'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:760:in `call'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:760:in `build_app!'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:137:in `start'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.2/bin/unicorn:126:in `<top (required)>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/bin/unicorn:23:in `load'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/bin/unicorn:23:in `<main>'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
21:09:07 web.1    |     from /Users/jorgen/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
21:09:07 web.1    | exited with code 1
21:09:07 system   | sending SIGTERM to all processes

Any ideas? :)

User uploads

In the setup guide it's probably worth reminding that people will have to set up some kind of persistent storage solution for user uploads, like an S3 bucket - by default they are saved in the "uploads" directory which is of course ephemeral.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.