Tanner's picture

I'm having trouble backing up and restoring an instance of Trac. I receive the following error upon clicking my project:

Trac detected an internal error:

GitError: GIT control files not found, maybe wrong directory?

It's only been up for a couple days, and I've made relatively few changes:

  • Deleted default projects
  • Added new Git project
  • Installed AccountManager

It's not 'just working'. My backup size is 1.3MB, not sure if it's missing something.

 

Any ideas?

Forum: 
Tags: 
Tanner's picture

The symlink in /var/cache/git was not backed up/restored. Remedied with the following commands:

 

cd /var/cache/git

ln -s /srv/repos/git/foo/.git ./foo.git

Add new comment