Hi,
I've had to migrate my Trac setup from a shared server to a new VPS running Debian 5.10
I've got Trac working (in a virtualenv served by Gunicorn and nginx) and serving everything except my GIT repositories.
The trac.log has lots of entries like the following:
Trac[git_fs] ERROR: GitError: Could not retrieve GIT version (tried to execute/parse 'git --version' but got OSError(2, 'No such file or directory'))
Git is definitely installed and available to the user that my trac server is running under. The command "sudo -u www-data git --git-dir=/path/to/my/repos.git fsck" returns sensible results and no error.
Why is Git not working within Trac?
TIA,
Rob Hills
Waikiki, Western Australia