Jason's picture

TRAC 1.0.2 Migration to v14 - Error (No Trac environment found)

TKLBAM is backing up the old TRAC host. I've built a new host and the restore on it completes, but when I navigate to the TRAC project page the three links have errors;

  1. Clicking git-helloworld returns an internal server error
  2. hg-helloworld isn't a link, and has the error text;
    1. hg-helloworld: Error
      (No Trac environment found at /var/local/lib/trac/hg-helloworld [Errno 2] No such file or directory: '/var/local/lib/trac/hg-helloworld/VERSION')
  3. svn-helloworld isn't a link, and has the error text;
    1. svn-helloworld: Error
      (The Trac Environment needs to be upgraded. Run: trac-admin "/var/local/lib/trac/svn-helloworld" upgrade

On the new host, 

  • /var/www/projects/hg-helloworld/ contains 
    • conf db files
  • /var/www/projects/svn-helloworld/ contains
    • README  VERSION  conf  db  htdocs  log  plugins  templates
  • /var/www/projects/git-helloworld/ contains
    • README  VERSION  conf  db  htdocs  log  plugins  templates

How do I fix this?

Forum: 
Tags: