Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7245

Closed
Open
Created Jul 02, 2014 by Administrator@rootOwner

500 error searching a specific repository

Created by: fearlsgroove

When trying to search a specific repository, or any forks of that repository, I get a 500 error. It appears to be when trying to pass search_files to the repository_raw in method_missing. I'm fairly certain it's something amiss in my repo. How can I find out what command it's trying to run? Thanks!

From production.log:

Started GET "/search?group_id=&project_id=9&repository_ref=&search=foo&search_code=true&utf8=%E2%9C%93" for 127.0.0.1 at 2014-07-02 10:57:55 -0400
Processing by SearchController#show as HTML
  Parameters: {"group_id"=>"", "project_id"=>"9", "repository_ref"=>"", "search"=>"foo", "search_code"=>"true", "utf8"=>"✓"}
Completed 500 Internal Server Error in 281ms

Grit::Git::GitTimeout (Grit::Git::GitTimeout):
  app/models/repository.rb:146:in `method_missing'
  app/services/search/project_service.rb:15:in `execute'
  app/controllers/search_controller.rb:11:in `show'

gitlab:env:info:

System information
System:     Ubuntu 14.04
Current User:   git
Using RVM:  no
Ruby Version:   2.0.0p481
Gem Version:    2.0.14
Bundler Version:1.6.3
Rake Version:   10.3.2
Sidekiq Version:2.17.0

GitLab information
Version:    7.0.0
Revision:   de9bf7d
Directory:  /home/git/gitlab
DB Adapter: postgresql
URL:        http://gitlab.moki.lan
HTTP Clone URL: http://gitlab.moki.lan/some-project.git
SSH Clone URL:  git@gitlab.moki.lan:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.9.6
Repositories:   /mnt/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git

Checks are all passing as well but I'd rather not include all my repository names.

Assignee
Assign to
Time tracking