[6.1] Error 500 on Public Area, Admin Area, Notifications
Closed
[6.1] Error 500 on Public Area, Admin Area, Notifications
Created by: esparta
Upgraded from 6.0 few days ago.
System Information
6.1.0 e4ba934
$git --version
git version 1.7.10.4
$uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
Database: PostgreSQL
Checks
esparta@debian:/home/git/gitlab$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
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.0 ? ... 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: ...
Esparta / SMIR ... ok
nginx-config ... ok
scX ... ok
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
Esparta / SMIR ... yes
nginx-config ... yes
scX ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Checking GitLab ... Finished
Error logs
On Public Area
ActionView::Template::Error (undefined method `path' for nil:NilClass):
17: %li
18: .project-title
19: %i.icon-share.cgray
20: = link_to public_project_path(project) do
21: %strong= project.name_with_namespace
22: .pull-right
23: %pre.public-clone git clone #{project.http_url_to_repo}
app/models/project.rb:169:in `to_param'
app/views/public/projects/index.html.haml:20:in `block in _app_views_public_projects_index_html_haml___1054899164_113492410'
app/views/public/projects/index.html.haml:16:in `_app_views_public_projects_index_html_haml___1054899164_113492410'
Admin area
ActionView::Template::Error (undefined method `path' for nil:NilClass):
30: %hr
31: - @projects.each do |project|
32: %p
33: = link_to project.name_with_namespace, [:admin, project]
34: %span.light.pull-right
35: = time_ago_in_words project.created_at
36: ago
app/models/project.rb:169:in `to_param'
app/views/admin/dashboard/index.html.haml:33:in `block in _app_views_admin_dashboard_index_html_haml__857294761_85369210'
app/views/admin/dashboard/index.html.haml:31:in `_app_views_admin_dashboard_index_html_haml__857294761_85369210'
Notification Area
ActionView::Template::Error (undefined method `path' for nil:NilClass):
7: - if membership.kind_of? UsersGroup
8: = link_to membership.group.name, membership.group
9: - else
10: = link_to_project(membership.project)
11: .span7
12: = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
13: = hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type')
app/models/project.rb:169:in `to_param'
app/helpers/projects_helper.rb:7:in `link_to_project'
app/views/profiles/notifications/_settings.html.haml:10:in `_app_views_profiles_notifications__settings_html_haml___215537438_91495760'
app/views/profiles/notifications/show.html.haml:58:in `block in _app_views_profiles_notifications_show_html_haml___418247510_86098440'
app/views/profiles/notifications/show.html.haml:56:in `_app_views_profiles_notifications_show_html_haml___418247510_86098440'
Notes...
All was working fine on GItLab 6.0, didn't notice until today, when I tried to do some admin stuffs
Please register or sign in to reply