Actions
Defect #18331
closed
500 error when accessing git repository
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
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:
Actions