Ticket Change Details
Not logged in
Overview

Artifact ID: 4bde07c57ffe3271c112f62102f4c642a05e71e1
Ticket: 34cbc91257922ed6226714e29899dacd5017dd0d
problem serving fossil repos with old db schema from subdirectory
User & Date: anonymous 2011-03-19 06:28:02
Changes

  1. comment changed to:
    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:
    
    1. 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:
    <h1>Server Configuration Error</h1>
    <p>The database schema on the server is out-of-date.  Please ask
    the administrator to run <b>fossil rebuild</b>.</p>
    
    3. rebuilding repo fails with test.fossil-journal file left in place:
    <pre>
    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 progress
    <pre/>
    
    Serving 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.
    
  2. foundin changed to: "[d04fa1e1438ec7] and after"
  3. private_contact changed to: "24b67375dd2ec6c7381a5ad34cfcf006f0b9c260"
  4. severity changed to: "Severe"
  5. status changed to: "Open"
  6. title changed to:
    problem serving fossil repos with old db schema from subdirectory
    
  7. type changed to: "Code_Defect"