Unfortunately, the appliance we installed was the Revision Control one for SVN. I am trying to add Trac on the same machine. Here are the commands that I ran:
1. sudo apt-get install trac : It appeared to install Trac and I could see it as installed from the Webmin UI)
3. Ran sudo trac-initproject svn TestRepo (TestRepo was already existing and it complained that svnadmin: '/srv/repos/svn/TestRepo' is a subdirectory of an existing repository rooted at '/srv/repos/svn/TestRepo'
4. Ran it again on a repo that didn't exist
sudo trac-initproject svn testtickets
initializing trac project: svn
Creating and Initializing Project
Initenv for '/var/local/lib/trac/svn-testtickets' failed.
Failed to create environment.
[Errno 2] No such file or directory: '/var/local/lib/trac/svn-testtickets'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/trac/admin/console.py", line 583, in do_initenv
options=options)
File "/usr/lib/python2.6/dist-packages/trac/env.py", line 207, in __init__
self.create(options)
File "/usr/lib/python2.6/dist-packages/trac/env.py", line 316, in create
os.mkdir(self.path)
OSError: [Errno 2] No such file or directory: '/var/local/lib/trac/svn-testtickets'
What am I doing wrong? Can't a trac system be installed as an addition to another appliance? Any help would be really appreciated.
Trying to add Trac to a Revision Control appliance - need help
Hi,
Unfortunately, the appliance we installed was the Revision Control one for SVN. I am trying to add Trac on the same machine. Here are the commands that I ran:
1. sudo apt-get install trac : It appeared to install Trac and I could see it as installed from the Webmin UI)
2. Created the script - http://www.turnkeylinux.org/docs/trac/trac-initproject
3. Ran sudo trac-initproject svn TestRepo (TestRepo was already existing and it complained that svnadmin: '/srv/repos/svn/TestRepo' is a subdirectory of an existing repository rooted at '/srv/repos/svn/TestRepo'
4. Ran it again on a repo that didn't exist
sudo trac-initproject svn testtickets