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
  • #4752

Closed
Open
Created Aug 10, 2013 by Administrator@rootOwner

Can't load repository after adding gitlab-ci as a service

Created by: mkroman

After adding Gitlab CI as a service to my repository, and having no builds, I am unable to load my repository page.

    Started GET "/myname/myproject" for at 2013-08-10 21:08:13 +0200
    Processing by ProjectsController#show as HTML
    Parameters: {"id"=>"myname/myproject"}
    Rendered shared/_clone_panel.html.haml (0.4ms)
    Rendered projects/_clone_panel.html.haml (7.2ms)
    Rendered events/_event_last_push.html.haml (0.0ms)
    Rendered projects/show.html.haml within layouts/project_resource (15.1ms)
    Completed 500 Internal Server Error in 119ms
    ActionView::Template::Error (no implicit conversion of nil into String):
    48:
    49: - if @project.gitlab_ci?
    50: %hr
    51: = link_to @project.gitlab_ci_service.builds_path do
    52: = image_tag @project.gitlab_ci_service.status_img_path, alt: "build status"
    app/models/gitlab_ci_service.rb:51:in `+'
    app/models/gitlab_ci_service.rb:51:in `builds_path'
    app/views/projects/show.html.haml:51:in `_app_views_projects_show_html_haml__613199706371095069_48193640'
    app/controllers/projects_controller.rb:65:in `block (2 levels) in show'
    app/controllers/projects_controller.rb:59:in `show'

After adding the service, I did a git commit --amend, followed by a push force in order to trigger a build, I'm not sure if this is relevant.

Edit: After testing, I can confirm that the ammended commit is not relevant. Edit 2: Forgot to mention, this is GitLab 5.4. I don't know if this is present in latest HEAD.

Assignee
Assign to
Time tracking