Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #4378

Closed
Open
Created 12 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

[stable-5.2] Missing template

Closed

[stable-5.2] Missing template

Created by: rshk

I'm experiencing a 500 on .../refs/master/logs_tree/ with this error:

Started GET "/xxxx/yyyy/refs/master/logs_tree/?_=1371828457149" for  at 2013-06-21 18:14:10 +0200
Processing by RefsController#logs_tree as HTML
  Parameters: {"_"=>"1371828457149", "project_id"=>"xxxx/yyyy", "id"=>"master"}
Completed 500 Internal Server Error in 65ms

ActionView::MissingTemplate (Missing template refs/logs_tree, project_resource/logs_tree, application/logs_tree with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :slim, :coffee, :haml]}. Searched in:
  * "/home/git/gitlab/app/views"
  * "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/kaminari-0.14.1/app/views"
  * "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views"
):

The problem was there with 5.1 too, tried to upgrade to 5.2 but nothing changed. I'm on debian.

Relevant system information:

System information
System:         Debian 6.0.7
Current User:   git
Using RVM:      no
Ruby Version:   1.9.3p327
Gem Version:    2.0.3
Bundler Version:1.3.5
Rake Version:   10.0.4

GitLab information
Version:        5.2.1
Revision:       6a868a4
Directory:      /home/git/gitlab
DB Adapter:     mysql2
Using LDAP:     no
Using Omniauth: no

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

All the checks green (a part from git version, but unluckily that's what squeeze offers, and don't think it's related anyways).

And I did a git reset --hard to make sure I actually have consistent files at the latest version.

Any thoughts? (I'm not experienced with ruby/rails, but it looks like the template is there..)

Linked issues
...


    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: felixhummel

      Had the same problem. I stopped gitlab and nginx, then precompiled all assets and restarted both services. Is fine now:

      service nginx stop
      service gitlab stop
      cd /home/git/gitlab
      sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
      service gitlab start
      service nginx start

      Hope it helps! :)

      By Administrator on 2013-06-25T20:49:24 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: bbodenmiller

      @rshk does the tip provided by @felixhummel help? If so @felixhummel can you make PR to add to upgrade guide?

      By Administrator on 2013-07-01T02:48:12 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: felixhummel

      Sorry, I am a bit busy at the moment. @rshk would you mind trying this and updating the upgrade guide?

      By Administrator on 2013-07-01T12:10:41 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: rshk

      Hi, sorry, I've been quite busy too. Anyways, I tried doing like @felixhummel suggested, but nothing changed.. By the way, isn't assets:precompile supposed to only rebuild assets? The problem here seems to be related to a missing template..

      I don't know how rails work, is there any command to rebuild templates or something like that?

      By Administrator on 2013-07-04T13:31:16 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      I can't reproduce it. How does the URL is generated in GitLab? I mean where have I click to get the URL?

      By Administrator on 2013-09-12T14:59:14 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: schwindelbub

      I have the same problem with gitlab 5.4.

      By Administrator on 2013-08-23T15:30:09 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      Does the error still persists in GitLab 6.0?

      By Administrator on 2013-09-12T14:59:44 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: rshk

      Haven't upgraded to 6 yet, I'll let you know once I upgrade..

      By Administrator on 2013-09-13T09:21:10 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      Thanks for the issue report but we only support issues for the latest stable version of GitLab. I'm closing this issue but if you still experience this problem in the latest stable version, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our contributing guidelines.

      By Administrator on 2013-10-12T11:03:57 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    2
    Labels
    Awaiting feedback Crashes - 500 errors
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help