On 03/10/2014 10:45 AM, [email protected] wrote: > Hi devs, > > Some users are making the following mistake: > - download the zip/exe and install our standalone distribution (jetty/hsqldb) > - then they configure xwiki to point to another DB (mysql or postgresql > typically) > - then they start XWiki and they get an empty page and no DW > > The problem is that they don’t/can’t understand that in the standalone > distribution the data/ directory already has a DW status.xml file that says > the DW has already been executed and thus do not need to be executed again… > > We need to find some strategy to avoid this potential error. > > Any idea? > > Some ideas: > - Idea 1: Improve documentation to explain the need to remove the data/ > directory if you change DB > - Idea 2: In the status.xml, store the DW status along with the DB id so that > if the DB changes, the DW can kick in again. > - other? > > I personally like idea 2. WDYT?
Idea 3: Store a bit of information in the database itself, maybe just the artifact coordinates of the installed main UI package. Not sure what to do if it doesn't match the expected value mentioned in the status.xml file (or there's no such info at all)... Could be added next to the database (migration) version. -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

