Forum: 

GIT install assistance : redmine

Tony Melaragno's picture

I am very new at this - so please be patient - I have been trying to get - git - working to no avail i did the following:

On the redmine project page

  1. created a new project (went through the project creation steps)
  2. went to setup->repositories
  3. selected git
  4. did not fill in the path to .git -> moved on to On my redmine side

On my redmine side:

  1. cd /src/repos/git
  2. git init cspjello
  3. touch /srv/repos/git/cspjello/.git/git-daemon-export-ok
  4. ln -s /srv/repos/git/cspjello/.git /var/cache/git/cspjello.git

    5. git update-server-info

    All of the commands executed with no errors - then I tried one more:

    ruby script/runner "Repository.fetch_changesets" -e production

    and received an error: fatal: Not a git repository: '/srv/repos/git/cspjello/'

    I then went back to the redmine project page and filled in the path to git (/srv/repos/git/cspjello)

    I restarted TK Redmine and viola - I receive : 

    The entry or revision was not found in the repository.

    Not sure what to do - I believe I am missing a configuration step which will point the git to the proper directory - but not sure what... any - assistance suggestions would be greatly appreciated.

Jeremy Davis's picture

I have used git a bit, but never Redmine, so I haven't got anything to offer... Perhaps Redmine have a forum of mailing list?

KamBho's picture

Hey,

I'm stuck in the same loop too. Did you manage to solve this? If so, how?

Post new comment