TurnKey Linux Virtual Appliance Library

TKLBAM problems with Trac

robert.tanner.faulkner'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?

Tanner's picture

Found it

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

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)