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

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

  • Report abuse

  • New issue

  • Report abuse

Files tab log+view problem

Closed

Files tab log+view problem

Created by: Mika56

Hi,

I'm having some problems with my GitLab installation. Indeed, the files tab is not working very well.

When I go on that tab, it says "Loading commit data" but never loads anything. Logs says an error, but I don't know how to deal with it:

Started GET "/vgn/blog/refs/master/logs_tree/?_=1368221705998" for 79... at 2013-05-10 23:34:35 +0200
Processing by RefsController#logs_tree as JS
  Parameters: {"_"=>"1368221705998", "project_id"=>"vgn/blog", "id"=>"master"}
  Rendered refs/logs_tree.js.haml (0.6ms)
Completed 500 Internal Server Error in 128ms

ActionView::Template::Error (undefined method `committed_date' for nil:NilClass):
    4:
    5:   :plain
    6:     var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
    7:     row.find("td.tree_time_ago").html('#{escape_javascript time_ago_in_words(commit.committed_date)} ago');
    8:     row.find("td.tree_commit").html('#{escape_javascript render("tree/tree_commit_column", commit: commit)}');
  app/views/refs/logs_tree.js.haml:7:in `block in _app_views_refs_logs_tree_js_haml__208013548118956428_31246880'
  app/views/refs/logs_tree.js.haml:1:in `each'
  app/views/refs/logs_tree.js.haml:1:in `_app_views_refs_logs_tree_js_haml__208013548118956428_31246880'

Also, when I click any file or folder, the page doesn't load, and I get these errors in logs:

Started GET "/vgn/blog/tree/master/app?_=1368221812959" for 79... at 2013-05-10 23:36:22 +0200
Processing by TreeController#show as JS
  Parameters: {"_"=>"1368221812959", "project_id"=>"vgn/blog", "id"=>"master/app"}
  Rendered errors/not_found.html.haml within layouts/errors (0.2ms)
  Rendered layouts/_head.html.haml (2.7ms)
  Rendered layouts/_search.html.haml (24.9ms)
  Rendered layouts/_init_auto_complete.html.haml (4.4ms)
  Rendered layouts/_head_panel.html.haml (35.0ms)
  Rendered layouts/_flash.html.haml (0.1ms)
Filter chain halted as :assign_ref_vars rendered or redirected
Completed 404 Not Found in 61ms (Views: 38.7ms | ActiveRecord: 2.5ms)

I'm using GitLab 5.1 and in sync with that branche (not master, sorry if it has been fixed in there)

I don't know if that problem is from my installation or GitLab related, so I posted it here since I'm not a Ruby developer

Mika.

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: hiroponz

      Please see https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide.

      By Administrator on 2013-05-11T00:18:02 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Mika56

      Thanks for your answer! So, sorry, the problem was on my side, using an older version of Git, I had to use Debian backports, as I'm still running Debian 6.

      You may want sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production to warn about the Git version.

      Mika.

      By Administrator on 2013-05-11T09:17:21 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: hiroponz

      gitlab:check warn about the Git version by #3880. Please close this issue.

      By Administrator on 2013-05-11T10:05:31 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Mika56

      Damn, that was only three days ago :)

      Mika.

      By Administrator on 2013-05-11T10:06:48 (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
    0
    Labels
    None
    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: