> -----Original Message----- > From: trac-users@googlegroups.com On Behalf Of Sanjeeb Mohanta > Sent: 27 February 2013 07:07 > To: trac-users@googlegroups.com > Subject: [Trac] create new repository > > HI, > I am a new user. I configured TRAC on my local server. I am > unable to create repository. I am getting mgs. "You should > now run trac-admin $ENV repository resync "testrepo2" to > synchronize Trac with the repository." when I run this > command on server terminal , getting error.... > > #cd /var/local/trac > #trac-admin $ENV repository resync "testrepo2" > > Error: No Trac environment found at /var/local/trac/repository > [Errno 2] No such file or directory: > '/var/local/trac/repository/VERSION' > > Waiting for your reply. > > Thank You.
Are you expecting Trac to be able to actually _create_ a brand new subversion repository on your local filesystem? If so then this is not part of Trac's code, you need to create the subversion repo using subversion tools (svnadmin create ...). However, if your repo exists and you just want to connect Trac to it, the message is saying that you need to get trac to re-scan the repository (and you also need to setup the svn repository post-commit hook to keep trac updated). The error you report is because the command you show: > #cd /var/local/trac > #trac-admin $ENV repository resync "testrepo2" ...is wrong. You need to replace `$ENV` with the path to your trac environment folder. If that is `/var/local/trac` (i.e. you are not using a trac parent path) then you can just swap `.` for `$ENV`... I hope that helps. ~ Mark C -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.