Project

General

Profile

Redmine 2.2.3.devel: "Scm command is not available"

Added by Ron Scott-Adams almost 12 years ago

Git 1.7.9.5 is installed and works fine, but I still receive this error from any project when attempting to add a repository and I see warning icon on the administration screen. I am using the default path for Git, which works fine on my server. What should I check?


Replies (8)

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by Ron Scott-Adams almost 12 years ago

Disregard; it started working after the nth Apache restart...

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by André Jonsson over 11 years ago

Have the same problem... I get this for all scm's I'm using (svn, hg and git).
Doesn't matter if I configure them in configuration.yml, with or w/o path (e.g. /usr/bin/svn).

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by Miroslav Zaťko over 11 years ago

same here with Redmine 2.3.0.stable.11670, when I


su www-data


and try both

git
cvs
svn


everything works without problem. However in redmine admin screen it is shown with warning("Scm command is not available")

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by André Jonsson over 11 years ago

I did get it working. Unfortunately I don't remember (yet) what the problem was. I think I wrote about in another thread here. Nope, that was something else.

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by Miroslav Zaťko over 11 years ago

can anybody help with the issue? still having the same problem

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by André Jonsson over 11 years ago

Have you configured the scm logging in configuration.yml?

I did it like so:

default:
  scm_stderr_log_file: /var/log/redmine/default/scm_stderr.log

If not, that's probably a good place to start.
(and make sure it is writable by the user that runs redmine, e.g. www-data on debian variants)

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by Miroslav Zaťko over 11 years ago

Hi André,
thank you very much. I didn't noticed this choice inconfiguration.yml
Surprisingly, changing this fixed my issue. Perhaps it had something with logging...

RE: Redmine 2.2.3.devel: "Scm command is not available" - Added by André Jonsson over 11 years ago

Ah, good to hear.
Strange though, and that's probably why I didn't remember what fixed it for me; the "solution" didn't make much sense.

    (1-8/8)