Defect #18331
closed
500 error when accessing git repository
0%
Description
Hi,
I've added a git repository according to this guide:
http://www.redmine.org/projects/redmine/wiki/RedmineRepositories
Instead of
sudo chown rails:rails /var/redmine/git_repositories
I've changed the user to
sudo chown www-data:www-data /var/redmine/git_repositories
When trying to access it, I'll get these errors:
App 20605 stderr: DEPRECATION WARNING: Setting.commit_fix_keywords is deprecated and will be removed in Redmine 3. (called from commit_fix_keywords at /usr/share/redmine/redmine-2.6.0/app/models/setting.rb:198) App 20605 stderr: App 20605 stderr: NoMethodError (undefined method `downcase' for nil:NilClass): App 20605 stderr: app/models/changeset.rb:100:in `scan_for_issues' App 20605 stderr: app/models/repository/git.rb:218:in `save_revision' App 20605 stderr: app/models/repository/git.rb:207:in `block (2 levels) in save_revisions' App 20605 stderr: app/models/repository/git.rb:204:in `block in save_revisions' App 20605 stderr: app/models/repository/git.rb:203:in `each' App 20605 stderr: app/models/repository/git.rb:203:in `save_revisions' App 20605 stderr: app/models/repository/git.rb:153:in `fetch_changesets' App 20605 stderr: app/controllers/repositories_controller.rb:114:in `show' App 20605 stderr: App 20605 stderr:
Updated by Jean-Philippe Lang over 10 years ago
- Status changed from New to Closed
- Resolution set to Invalid
You're not using a fresh 2.6. Setting.commit_fix_keywords is deprecated and no longer called.
Updated by Anonymous over 10 years ago
I am using 2.6.0 with Ruby 2.1 and Rails 3.2. Also I hadn't installed any other redmine version before.
I've installed only plugins which aren't affecting SCM:
http://projects.andriylesyuk.com/project/redmine/issue-id
http://www.redmine.org/plugins/redmine_checklists
Updated by Jean-Philippe Lang over 10 years ago
The first plugin patches #scan_comment_for_issue_ids which raises this error. See:
http://projects.andriylesyuk.com/projects/issue-id/repository/entry/lib/issue_changeset_patch.rb
Updated by Jean-Philippe Lang over 10 years ago
This plugin cannot be used with 2.6.0.