Defect #13032
openGit: Fetch changelogs throws errors -> no rev. and changesets in activities
0%
Description
Hi,
after upgrading a redmine installation from 1.2.2 to 2.2.2 (security related) everything is fine with the exception of the git integration.
The repository view shows new files and the correct ages, but no author and revision. Also there are no new changesets in the project activities.
Here are some infos about the installation:
Environment: Redmine version 2.2.2.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.11 Environment production Database adapter MySQL Redmine plugins: redmine_backlogs v0.9.35
Here is the console output from the fetch_changesets call:
$:/opt/redmine# ruby script/rails runner "Repository.fetch_changesets" -e production (eval):108: warning: multiple values for a block parameter (0 for 1) from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:992 fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin fatal: unrecognized argument: --stdin
And here the corresponding output from the production logfile:
Connecting to database specified by database.yml OpenIdAuthentication.store is nil. Using in-memory store. DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from /opt/redmine/plugins/redmine_backlogs/app/models/rb_issue_history.rb:4) DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from /opt/redmine/plugins/redmine_backlogs/app/models/rb_sprint_burndown.rb:5) git log error: git exited with non-zero status: 128 git log error: git exited with non-zero status: 128 git log error: git exited with non-zero status: 128 git log error: git exited with non-zero status: 128 git log error: git exited with non-zero status: 128 git log error: git exited with non-zero status: 128
Any ideas?
Best regards!
Updated by Toshi MARUYAMA almost 12 years ago
fatal: unrecognized argument: --stdin
What version is your git?
Updated by Toshi MARUYAMA almost 12 years ago
- Subject changed from Fetch changelogs throws errors -> no rev. and changesets in activities to Git: Fetch changelogs throws errors -> no rev. and changesets in activities
Updated by Tobias Joch almost 12 years ago
Toshi MARUYAMA wrote:
fatal: unrecognized argument: --stdin
What version is your git?
git version 1.5.6.5
thx!
Updated by Toshi MARUYAMA almost 12 years ago
Tobias Joch wrote:
git version 1.5.6.5
Redmine uses "git log --stdin".
source:tags/2.2.2/lib/redmine/scm/adapters/git_adapter.rb#L200
Please upgrade git to recent version.
Updated by Daniel Felix almost 12 years ago
- Status changed from New to Needs feedback
@ Tobias
Is this resolved for you?
Can you confirm, that Redmine works as expected after upgrade?
Updated by Tobias Joch almost 12 years ago
Daniel Felix wrote:
@ Tobias
Is this resolved for you?
Can you confirm, that Redmine works as expected after upgrade?
After upgrading git to version 1.7.2 everything is fine. I think the wiki page http://www.redmine.org/projects/redmine/wiki/RedmineRepositories should be updated, right?
Thx for your support!
Updated by Gabriel Mazetto almost 12 years ago
#6566 may help solve this type of problem in the future