[6.1] 500 when accessing "/admin/projects"
Created by: amok
Info below
production.log
Started GET "/admin/projects" for X.X.X.X at 2013-10-02 00:54:57 +0300
Processing by Admin::ProjectsController#index as HTML
Rendered admin/projects/index.html.haml within layouts/admin (7.6ms)
Completed 500 Internal Server Error in 12ms
ActionView::Template::Error (undefined method `path' for nil:NilClass):
46: = public_icon
47: - else
48: = private_icon
49: = link_to project.name_with_namespace, [:admin, project]
50: .pull-right
51: = link_to 'Edit', edit_project_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small"
52: = link_to 'Destroy', [project], confirm: remove_project_message(project), method: :delete, class: "btn btn-small btn-remove"
app/models/project.rb:170:in `to_param'
app/views/admin/projects/index.html.haml:49:in `block in _app_views_admin_projects_index_html_haml___764782093_107535490'
app/views/admin/projects/index.html.haml:43:in `_app_views_admin_projects_index_html_haml___764782093_107535490'
check
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.1 ? ... OK (1.7.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
..........
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.3)
Checking GitLab ... Finished
env
System information
System: Ubuntu 12.04
Current User: git
Using RVM: no
Ruby Version: 1.9.3p194
Gem Version: 1.8.23
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.1.0
Revision: 82f3446
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://gitlab.xxxxxxxx.com
HTTP Clone URL: http://gitlab.xxxxxx.com/some-project.git
SSH Clone URL: [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.1
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git