Project

General

Profile

Repository View Throws Error 500

Added by Scott Dungan about 9 years ago

We are not sure when this started, but any project hosted on this server throws 500 when accessing the repository view. Below is our environment and output of production.log when selecting the repository view. Any help would be greatly appreciated. This site hosts non-profit software that is used by scientists and researchers who study earthquakes around the world, so extra special karma goes to those who can help!

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.8.24
Rack version 1.1.6
Rails version 2.3.18
Active Record version 2.3.18
Active Resource version 2.3.18
Action Mailer version 2.3.18
Active Support version 2.3.18
Application root /srv/redmine
Environment production
Database adapter mysql
Database schema version 20120301153455

About your Redmine plugins
Redmine Legal 0.0.1
Redmine Wiki HTML Util 0.0.1


Processing RepositoriesController#show (for xxx.xxx.xxx.xxx at 2015-10-14 07:58:30) [GET]
  Parameters: {"controller"=>"repositories", "id"=>"giant", "action"=>"show"}
  Setting Columns (0.7ms)   SHOW FIELDS FROM `settings`
  Setting Load (0.4ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'session_lifetime') LIMIT 1
  Setting Load (0.9ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'session_timeout') LIMIT 1
  SQL (0.2ms)   SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` 
  User Columns (4.1ms)   SHOW FIELDS FROM `users`
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  Project Columns (1.0ms)   SHOW FIELDS FROM `projects`
  Project Load (0.3ms)   SELECT * FROM `projects` WHERE (`projects`.`identifier` = 'giant') LIMIT 1
  Repository Load (0.3ms)   SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (is_default = 1)) LIMIT 1
  Repository Columns (0.8ms)   SHOW FIELDS FROM `repositories`
  EnabledModule Load (0.5ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 4) 
  EnabledModule Columns (0.6ms)   SHOW FIELDS FROM `enabled_modules`
  Setting Load (0.4ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'autofetch_changesets') LIMIT 1
  Repository::Subversion Columns (1.6ms)   SHOW FIELDS FROM `repositories`
Shelling out: 'svn' info --xml 'file:///srv/svn/repos/giant/' --no-auth-cache --non-interactive

Processing ActivitiesController#index (for 66.249.74.27 at 2015-10-14 07:58:30) [GET]
  Parameters: {"from"=>"1556-08-20", "controller"=>"activities", "user_id"=>"5", "id"=>"5", "action"=>"index"}
  Setting Columns (0.9ms)   SHOW FIELDS FROM `settings`
  SQL (0.3ms)   SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` 
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'rest_api_enabled') LIMIT 1
  AnonymousUser Columns (1.0ms)   SHOW FIELDS FROM `users`
  AnonymousUser Load (0.3ms)   SELECT * FROM `users` WHERE ( (`users`.`type` = 'AnonymousUser' ) ) LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'login_required') LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'default_language') LIMIT 1
  Project Columns (0.8ms)   SHOW FIELDS FROM `projects`
  Project Load (0.2ms)   SELECT * FROM `projects` WHERE (`projects`.`id` = 5) 
  EnabledModule Load (0.5ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  EnabledModule Columns (0.7ms)   SHOW FIELDS FROM `enabled_modules`
  Role Load (0.3ms)   SELECT * FROM `roles` WHERE (`roles`.`builtin` = 2) LIMIT 1
  Role Columns (0.6ms)   SHOW FIELDS FROM `roles`
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'activity_days_default') LIMIT 1
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'display_subprojects_issues') LIMIT 1
  User Columns (0.8ms)   SHOW FIELDS FROM `users`
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 5) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  Project Load (0.3ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `projects` WHERE (projects.`lft` >= 11 AND projects.`rgt` <= 12) ORDER BY projects.`lft`
  CACHE (0.0ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5) 
  CACHE (0.0ms)   SELECT * FROM `roles` WHERE (`roles`.`builtin` = 2) LIMIT 1
  Attachment Load (0.7ms)   SELECT attachments.* FROM `attachments` LEFT JOIN documents ON attachments.container_type='Document' AND documents.id = attachments.container_id LEFT JOIN projects ON documents.project_id = projects.id WHERE (((((projects.id = 5 OR (projects.lft > 11 AND projects.rgt < 12)) AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='documents'))) AND (projects.is_public = 1))) AND ((attachments.author_id = 5) AND (attachments.created_on BETWEEN '1556-07-22' AND '1556-08-21'))) 
  CACHE (0.0ms)   SELECT * FROM `roles` WHERE (`roles`.`builtin` = 2) LIMIT 1
  Attachment Load (0.5ms)   SELECT attachments.* FROM `attachments` LEFT JOIN versions ON attachments.container_type='Version' AND versions.id = attachments.container_id LEFT JOIN projects ON versions.project_id = projects.id OR ( attachments.container_type='Project' AND attachments.container_id = projects.id ) WHERE (((((projects.id = 5 OR (projects.lft > 11 AND projects.rgt < 12)) AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='files'))) AND (projects.is_public = 1))) AND ((attachments.author_id = 5) AND (attachments.created_on BETWEEN '1556-07-22' AND '1556-08-21'))) 
  CACHE (0.0ms)   SELECT * FROM `roles` WHERE (`roles`.`builtin` = 2) LIMIT 1
  Message Columns (0.8ms)   SHOW FIELDS FROM `messages`
  Board Columns (1.1ms)   SHOW FIELDS FROM `boards`
  Message Load Including Associations (0.8ms)   SELECT `messages`.`id` AS t0_r0, `messages`.`board_id` AS t0_r1, `messages`.`parent_id` AS t0_r2, `messages`.`subject` AS t0_r3, `messages`.`content` AS t0_r4, `messages`.`author_id` AS t0_r5, `messages`.`replies_count` AS t0_r6, `messages`.`last_reply_id` AS t0_r7, `messages`.`created_on` AS t0_r8, `messages`.`updated_on` AS t0_r9, `messages`.`locked` AS t0_r10, `messages`.`sticky` AS t0_r11, `boards`.`id` AS t1_r0, `boards`.`project_id` AS t1_r1, `boards`.`name` AS t1_r2, `boards`.`description` AS t1_r3, `boards`.`position` AS t1_r4, `boards`.`topics_count` AS t1_r5, `boards`.`messages_count` AS t1_r6, `boards`.`last_message_id` AS t1_r7, `projects`.`id` AS t2_r0, `projects`.`name` AS t2_r1, `projects`.`description` AS t2_r2, `projects`.`homepage` AS t2_r3, `projects`.`is_public` AS t2_r4, `projects`.`parent_id` AS t2_r5, `projects`.`created_on` AS t2_r6, `projects`.`updated_on` AS t2_r7, `projects`.`identifier` AS t2_r8, `projects`.`status` AS t2_r9, `projects`.`lft` AS t2_r10, `projects`.`rgt` AS t2_r11, `users`.`id` AS t3_r0, `users`.`login` AS t3_r1, `users`.`hashed_password` AS t3_r2, `users`.`firstname` AS t3_r3, `users`.`lastname` AS t3_r4, `users`.`mail` AS t3_r5, `users`.`admin` AS t3_r6, `users`.`status` AS t3_r7, `users`.`last_login_on` AS t3_r8, `users`.`language` AS t3_r9, `users`.`auth_source_id` AS t3_r10, `users`.`created_on` AS t3_r11, `users`.`updated_on` AS t3_r12, `users`.`type` AS t3_r13, `users`.`identity_url` AS t3_r14, `users`.`mail_notification` AS t3_r15, `users`.`salt` AS t3_r16 FROM `messages` LEFT OUTER JOIN `boards` ON `boards`.id = `messages`.board_id LEFT OUTER JOIN `projects` ON `projects`.id = `boards`.project_id LEFT OUTER JOIN `users` ON `users`.id = `messages`.author_id AND (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) WHERE ((((((projects.id = 5 OR (projects.lft > 11 AND projects.rgt < 12)) AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='boards'))) AND (projects.is_public = 1))) AND (messages.author_id = 5)) AND (messages.created_on BETWEEN '1556-07-22' AND '1556-08-21')) 
Rendering template within layouts/base
Rendering activities/index
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'user_format') LIMIT 1
  TermsOfService Load (0.3ms)   SELECT * FROM `terms_of_services` WHERE (`terms_of_services`.user_id = 5) LIMIT 1
  Setting Load (0.8ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'date_format') LIMIT 1
  SQL (0.4ms)   SELECT count(*) AS count_all FROM `projects` WHERE (((projects.status = 1) AND (projects.id != 5)) AND (projects.`lft` >= 11 AND projects.`rgt` <= 12)) 
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'app_title') LIMIT 1
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'ui_theme') LIMIT 1
  UserPreference Load (0.3ms)   SELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 2) LIMIT 1
  UserPreference Columns (0.8ms)   SHOW FIELDS FROM `user_preferences`
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'self_registration') LIMIT 1
  Changeset Load (36.0ms)   SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 16) ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1
  Changeset Columns (0.9ms)   SHOW FIELDS FROM `changesets`
Shelling out: 'svn' list --xml 'file:///srv/svn/repos/giant/'@HEAD --no-auth-cache --non-interactive
Found 4 entries in the repository for 'file:///srv/svn/repos/giant/'
Shelling out: 'svn' log --xml -r HEAD:1 --no-auth-cache --non-interactive --limit 10 'file:///srv/svn/repos/giant/'
  Wiki Load (314.2ms)   SELECT * FROM `wikis` WHERE (`wikis`.project_id = 5) LIMIT 1
  Repository Load (41.5ms)   SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (is_default = 1)) LIMIT 1
  Repository Columns (77.0ms)   SHOW FIELDS FROM `repositories`
  Version Columns (30.1ms)   SHOW FIELDS FROM `versions`
  SQL (27.1ms)   SELECT count(DISTINCT `versions`.id) AS count_all FROM `versions` LEFT OUTER JOIN `projects` ON `projects`.id = `versions`.project_id WHERE (projects.id = 5 OR (projects.status = 1 AND ( versions.sharing = 'system' OR (projects.lft >= 11 AND projects.rgt <= 12 AND versions.sharing = 'tree') OR (projects.lft < 11 AND projects.rgt > 12 AND versions.sharing IN ('hierarchy', 'descendants')) OR (projects.lft > 11 AND projects.rgt < 12 AND versions.sharing = 'hierarchy')))) 
  SQL (21.6ms)   SELECT count(*) AS count_all FROM `boards` WHERE (`boards`.project_id = 5) 
Rendered shared/_terms_footer (5.4ms)
Completed in 1651ms (View: 1524, DB: 12) | 200 OK [http://earthdef.caltech.edu/projects/5/activity?from=1556-08-20&user_id=5]
  Changeset Load (27.0ms)   SELECT * FROM `changesets` WHERE (`changesets`.`revision` IN ('58','57','56','55','54','53','52','51','50','49')) AND (`changesets`.repository_id = 16) ORDER BY committed_on DESC, changesets.committed_on DESC, changesets.id DESC
  User Load (0.7ms)   SELECT * FROM `users` WHERE (`users`.`id` IN (5,4)) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
Shelling out: 'svn' --version
Shelling out: 'svn' proplist --verbose --xml 'file:///srv/svn/repos/giant/'@HEAD --no-auth-cache --non-interactive
Rendering template within layouts/base
Rendering repositories/show
Rendered repositories/_navigation (152.4ms)
Rendered repositories/_breadcrumbs (3.3ms)
  Changeset Load (5.8ms)   SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 16 AND (revision = '58')) ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1
  Repository Load (2.5ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  Project Load (0.2ms)   SELECT * FROM `projects` WHERE (`projects`.`id` = 4) 
  User Load (0.5ms)   SELECT * FROM `users` WHERE (`users`.`id` = 4) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'user_format') LIMIT 1
  Changeset Load (0.3ms)   SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 16 AND (revision = '38')) ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `users` WHERE (`users`.`id` = 4) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  Changeset Load (0.5ms)   SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 16 AND (revision = '37')) ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `users` WHERE (`users`.`id` = 4) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  Changeset Load (0.3ms)   SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 16 AND (revision = '41')) ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `users` WHERE (`users`.`id` = 4) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
Rendered repositories/_dir_list_content (71.6ms)
Rendered repositories/_dir_list (75.1ms)
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  UserPreference Load (3.8ms)   SELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 1) LIMIT 1
  UserPreference Columns (11.9ms)   SHOW FIELDS FROM `user_preferences`
  Setting Load (0.5ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'date_format') LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'time_format') LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'text_formatting') LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'cache_formatted_text') LIMIT 1
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
  CACHE (0.0ms)   SELECT * FROM `repositories` WHERE (`repositories`.`id` = 16) 
Rendered repositories/_revisions (107.4ms)
  Token Load (0.4ms)   SELECT * FROM `tokens` WHERE (`tokens`.user_id = 1 AND (action='feeds')) LIMIT 1
  Token Columns (0.6ms)   SHOW FIELDS FROM `tokens`
  SQL (0.4ms)   SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.project_id = 4) 
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'ui_theme') LIMIT 1
  Setting Load (0.3ms)   SELECT * FROM `settings` WHERE (`settings`.`name` = 'app_title') LIMIT 1
  TermsOfService Load (7.0ms)   SELECT * FROM `terms_of_services` WHERE (terms_of_services.user_id IS NOT NULL) 
  TermsOfService Columns (0.7ms)   SHOW FIELDS FROM `terms_of_services`
  User Load (0.5ms)   SELECT * FROM `users` WHERE (`users`.`id` = 23) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 25) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 26) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 27) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 28) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 29) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 30) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 31) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 32) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 33) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.6ms)   SELECT * FROM `users` WHERE (`users`.`id` = 34) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 35) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 36) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.5ms)   SELECT * FROM `users` WHERE (`users`.`id` = 37) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 38) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 39) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 40) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.4ms)   SELECT * FROM `users` WHERE (`users`.`id` = 41) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 42) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 43) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 44) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 45) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 46) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 47) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 48) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 49) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 50) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 51) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 52) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 53) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.8ms)   SELECT * FROM `users` WHERE (`users`.`id` = 54) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 55) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 56) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 57) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 58) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 60) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 61) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 62) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 63) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 64) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 65) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 66) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 67) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 68) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 69) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 70) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 71) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 72) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 73) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 75) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 76) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 77) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 78) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 79) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 80) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 81) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 82) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 83) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 84) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 85) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 86) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 87) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 88) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 89) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 90) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 91) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 92) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 93) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 94) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 95) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 96) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 97) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 98) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 99) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 100) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 101) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 102) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 103) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 104) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 105) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 106) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 107) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 108) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 109) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 110) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 111) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 112) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 113) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 114) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (1.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 115) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 116) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 117) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 119) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 120) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 121) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 122) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 123) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.2ms)   SELECT * FROM `users` WHERE (`users`.`id` = 124) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 
  User Load (0.3ms)   SELECT * FROM `users` WHERE (`users`.`id` = 125) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) 

ActionView::TemplateError (undefined method `name' for nil:NilClass) on line #21 of app/views/layouts/base.html.erb:
18:       body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
19:     </style>
20: <![endif]-->
21: <%= call_hook :view_layouts_base_html_head %>
22: <!-- page specific tags -->
23: <%= yield :header_tags -%>
24: </head>

    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:146:in `call_hook'
    app/views/layouts/base.html.erb:21
    app/controllers/repositories_controller.rb:102:in `show'
    passenger (3.0.18) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
    passenger (3.0.18) lib/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
    passenger (3.0.18) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
    passenger (3.0.18) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
    passenger (3.0.18) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
    passenger (3.0.18) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
    passenger (3.0.18) lib/phusion_passenger/utils.rb:470:in `safe_fork'
    passenger (3.0.18) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:180:in `start'
    passenger (3.0.18) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
    passenger (3.0.18) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
    passenger (3.0.18) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
    passenger (3.0.18) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
    passenger (3.0.18) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
    passenger (3.0.18) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (3.0.18) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
    passenger (3.0.18) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
    passenger (3.0.18) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.18) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.18) helper-scripts/passenger-spawn-server:99

Rendering /srv/redmine/public/500.html (500 Internal Server Error)