Hi All,
I am new to Gitlab. We are getting 500 internal server error when we search anything in a specific repository. But search is working from the Dashboard.
We are using GitLab 7.13.2.
I am expecting your valuable troubleshooting tips
Regards
ilayaraja.
Kaaia
April 14, 2016, 7:59am
2
Dear community,
I am facing exactly same issue (GitLab CE 8.6.5).
I can find following related error message at production.log file:
Completed 500 Internal Server Error in 895ms (ActiveRecord: 20.2ms)
ActionView::Template::Error (wrong argument type nil (expected Regexp)):
1: - blob = @project.repository.parse_search_result(blob)
2: .blob-result
3: .file-holder
4: .file-title
app/models/repository.rb:813:in `sub'
app/models/repository.rb:813:in `block in parse_search_result'
app/models/repository.rb:812:in `each_line'
app/models/repository.rb:812:in `parse_search_result'
app/views/search/results/_blob.html.haml:1:in `_app_views_search_results__blob_html_haml___2720149635117916991_55326840'
app/views/search/_results.html.haml:20:in `_app_views_search__results_html_haml___436142064949030570_52976220'
app/views/search/show.html.haml:7:in `_app_views_search_show_html_haml___83911631310886645_17808420'
lib/gitlab/middleware/go.rb:16:in `call'
Any help would be appreciated.
Thank you,
K