Fossil SCM
problem serving fossil repos with old db schema from subdirectory
Closed
34cbc91257922ed…
· opened 15 years ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Severe
- Resolution
- Overcome_By_Events
- Subsystem
- —
- Created
- March 19, 2011 6:28 a.m.
While checking recent fossil ability to serve repos from subdirectory as implemented in [d04fa1e1438ec7] I encountered problem with serving repository with old db schema (repository test.fossil with config.aux-schema="2006-12-23" in my case served locally on win XP).
Steps to replicate:
- copy old fossil repository into some subdirectory of directory, where fossil repos are served ("_qqq" in my case)
2.attempt to see it on http://localhost:8080/_qqq/test/timeline show following error:
Server Configuration Error
The database schema on the server is out-of-date. Please ask the administrator to run fossil rebuild.
- rebuilding repo fails with test.fossil-journal file left in place:
c:\soft\bin\_qqq>fossil rebu -R .\test.fossil C:\soft\bin\fossil.exe: out of memory C:\soft\bin\fossil.exe: SQLITE_BUSY: statement aborts at 2: [ROLLBACK] cannot rollback transaction - SQL statements in progressServing repositories from "_qqq" subdir with uptodate db schema (config.aux-schema="2011-02-25 14:52") works fine. e.g.: http://localhost:8080/_qqq/myfossilclone/timeline Now, I am unable to rebuild my old repo with newest fossil executable even in its original location.
drh added on 2011-03-19 11:51:09 UTC:
Please do this: 1. Run "fossil sql -R old-repo.fossil" - followed by "vacuum" in order to clean up and recover the SQLite database which is the repository. 2. Send me instructions on how I can download the repository file so that I can debug the problem. [email protected]
Comments (1)
system
2 years, 2 months ago
Closing as part of periodic cleanup.