gitlabhq/gitlabhq — Issue #257: get 500 error on project page
Author: minjin
Created: 2012-01-01 18:43:32+00:00
State: open

I install gitlab followed wiki ubuntu easy install 2.0. but now i can create a new project, but when i give a first commit and push my code to server. I can't check project on web any more it will give me a 500 error.

here is the log

[2012-01-02 02:41:30] INFO WEBrick 1.3.1
[2012-01-02 02:41:30] INFO ruby 1.9.2 (2011-07-09) [i686-linux]
[2012-01-02 02:41:30] INFO WEBrick::HTTPServer#start: pid=2587 port=3000
cache: [GET /gitlabtest] miss

Started GET "/gitlabtest" for xxx.xxx.xxx.xxx at 2012-01-02 02:41:33 +0800
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"gitlabtest"}
Completed 500 Internal Server Error in 365ms

StandardError (could not find any magic files!):
config/initializers/gitlabhq/20_grit_ext.rb:19:in `transcoding'
config/initializers/gitlabhq/20_grit_ext.rb:13:in `content'
app/models/repository.rb:98:in `commit'
app/models/project.rb:73:in `commit'
app/models/project.rb:168:in `has_commits?'
app/controllers/projects_controller.rb:70:in `show'