#4137 closed defect (fixed)
Trac doesn't recover from repository change
Reported by: | 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 , 18 years ago
comment:2 by , 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 , 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 , 18 years ago
Milestone: | → 0.11 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Yes, and with r4252, Trac will now tell you to do so ;)
follow-up: 7 comment:6 by , 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.
comment:7 by , 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 , 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.
Just run
trac-admin /path/to/env resync
to gather data from the new repo.