Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4137 closed defect (fixed)

Trac doesn't recover from repository change

Reported by: amd@… Owned by: Christian Boos
Priority: normal Milestone: 0.10.3
Component: version control Version: 0.10
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I changed the repository of my application and after that trac gives an error message when trying to use use the timeline module:

Repository checkins event provider (ChangesetModule) failed:
NoSuchChangeset: No changeset 72 in the repository

IMHO, it should recover from this kind of error silently.

Attachments (0)

Change History (8)

comment:1 by Noah Kantrowitz (coderanger) <coderanger@…>, 18 years ago

Just run trac-admin /path/to/env resync to gather data from the new repo.

comment:2 by Christian Boos, 18 years ago

Trac already tries to detect this situation, by storing the repository UUID and the scope used. In your case, what exactly has changed, did you reuse the same UUID?

comment:3 by amd@…, 18 years ago

I just removed the old repo and created a new one. After the trac-admin resync, things were all ok again :)

comment:4 by Christian Boos, 18 years ago

Milestone: 0.11
Resolution: fixed
Status: newclosed

Yes, and with r4252, Trac will now tell you to do so ;)

comment:5 by Christian Boos, 18 years ago

Milestone: 0.110.10.3

Backported in r4300.

comment:6 by anonymous, 18 years ago

i have the same errors in 0.10.3 i already tried the resync but this doesn't solve the problem. i am just refreshing the windows several times and the error is gone. this seems to be sporadic.

in reply to:  6 comment:7 by anonymous, 18 years ago

Replying to anonymous:

i have the same errors in 0.10.3 i already tried the resync but this doesn't solve the problem. i am just refreshing the windows several times and the error is gone. this seems to be sporadic.

sry. meant 0.10.2

comment:8 by Christian Boos, 18 years ago

… so try with 0.10.3dev, source:branches/0.10-stable. Either do a checkout of the corresponding path (i.e. svn co http://svn.edgewall.org/repos/trac/branches/0.10-stable, useful for keeping up-to-date and eventually getting a follow-up fix if needed, or use the Zip archive link found at the bottom of the page linked above, for one time install.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.