Edgewall Software

Opened 17 years ago

Closed 17 years ago

#6327 closed defect (invalid)

TracError: The 'repository_dir' has changed, a 'trac-admin resync' operation is needed. — at Version 1

Reported by: javabuk@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: version control Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

This problem occurs when i try to upload a file to subversion, more detailed error:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 82, in sync
    raise TracError("The 'repository_dir' has changed, "
TracError: The 'repository_dir' has changed, a 'trac-admin resync' operation is needed.

Thanks

Jorge

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Component: generalversion control
Description: modified (diff)
Resolution: invalid
Status: newclosed

It's all in the title: you need to run trac-admin resync on your Trac repository.

Note: See TracTickets for help on using tickets.