On Nov 9, 2007 12:30 PM, Trac <[EMAIL PROTECTED]> wrote:
> Is there any way to create a real mirror of trac and svn ?
>
> I just copied our trac and svn to new server, but getting following errors:
>
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in 
> dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in 
> dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263, in 
> _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 
> 73, in pre_process_request
>     self.get_repository(req.authname).sync()
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 
> 104, in get_repository
>     repos = self._connector.get_repository(rtype, rdir, authname)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 
> 234, in get_repository
>     repos = SubversionRepository(dir, None, self.log)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 
> 267, in __init__
>     self.repos = repos.svn_repos_open(self.path, self.pool())
>   File "/usr/lib/python2.4/site-packages/libsvn/repos.py", line 47, in 
> svn_repos_open
>     return apply(_repos.svn_repos_open, args)
>

I'm not sure what you mean by "real mirror", but a simple copy is
probably not the best way of going about it.  You could use trac-admin
hotcopy and svnadmin hotcopy to to copy your Trac environments and SVN
repositories respectively.  But beyond that it can be more complicated
and really depends on what your exact needs are.

As for your traceback, you didn't post the last line showing the
actual exception, but it looks to me like you might just have a
problem with file permissions on your repository.

Erik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to