antirez / lamernews

Lamer News -- an HN style social news site written in Ruby/Sinatra/Redis/JQuery
http://lamernews.com
Other
1.35k stars 199 forks source link

Internal Server Error when deploying to Heroku #156

Closed danielflopes closed 8 years ago

danielflopes commented 10 years ago

Hi,

I've deployed Lamer News to Heroku using these instructions: https://github.com/antirez/lamernews/wiki/Deployment

Anyhow, I receive this message when accessing the app via browser. "Internal Server Error"

Can you tell me where the problem is?

Last lines of Heroku log:

2014-02-11T16:41:00.757351+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in call' 2014-02-11T16:41:00.757351+00:00 app[web.1]: /app/vendor/ruby-1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:inblock in start_thread' 2014-02-11T16:41:00.760162+00:00 app[web.1]: 188.81.72.69 - - [11/Feb/2014 16:41:00] "GET / HTTP/1.1" 500 30 0.0058 2014-02-11T16:41:01.551577+00:00 app[web.1]: 188.81.72.69 - - [11/Feb/2014 16:41:01] "GET /favicon.ico HTTP/1.1" 200 414 0.0006 2014-02-11T16:41:08.022164+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL 2014-02-11T16:41:08.021801+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM 2014-02-11T16:41:10.044530+00:00 heroku[web.1]: Process exited with status 137'

danielflopes commented 10 years ago

Any thoughts?

fcambus commented 10 years ago

Possibly relevant issue : https://github.com/antirez/lamernews/issues/148

I have no experience with Heroku so I cannot look into this issue, but people reported that they got it working successfully using Ruby 1.9.3.

rissyrussell commented 10 years ago

Did you ever get this to work? I keep running into the same problem.

danielflopes commented 10 years ago

No. =/

On Wed, May 7, 2014 at 5:09 AM, rissyrussell notifications@github.comwrote:

Did you ever get this to work? I keep running into the same problem.

— Reply to this email directly or view it on GitHubhttps://github.com/antirez/lamernews/issues/156#issuecomment-42387794 .

Daniel F Lopes LinkedIn http://pt.linkedin.com/in/danielflopes/ * Website http://danielflopes.com ** Twitter http://twitter.com/danflopes*

rissyrussell commented 10 years ago

I figured it out... For me it had to do with committing the app_config.rb file after I modified it with the redistogo url.

fcambus commented 8 years ago

Closing this as it's likely a configuration issue not related to the project.