Database format changed?

Thursday, 30 June 2011 · 3 messages
HV
Huib Verweij30 Jun 2011 10:44 #
Hi, we're getting this error [FODC0004] from our BaseX database out of the blue on our test machine. 14:25:38.236 [127.0.0.1:39513] QUERY(0) declare namespace lexus="http://www.mpi.nl/lat/lexus"; declare function lexus:lexicon($lexus as node()) as node()* { element lexicon { $lexus/lexicon/@*, $lexus/meta } }; let $id := 'uuid:0190305e-730b-4a39-b4c0-2962f09bc01d' let $lexus := collection('lexus')/lexus[@id eq $id] let $schema := $lexus/meta/schema return element result { $schema, lexus:lexicon($lexus) } OK 14:25:38.236 [127.0.0.1:39513] QUERY(0) OK 14:25:38.300 [127.0.0.1:39510] INIT(0) Error: Stopped at line 5, column 48: [FODC0004] The database format has changed; please create a new database. 14:25:38.300 [127.0.0.1:39510] CLOSE(0) OK AFAICT nothing has changed, nobody copied over database files or accessed the database through another interface or something like that. Any ideas on what can cause such a message? When was the last time the format did change? What can we do about it (other than do as it says, assuming it's not actually a feature)? Thanks, Huib Verweij.
CG
Christian Grün30 Jun 2011 10:54 #
Dear Huib,
Quoted text · Huib Verweij · 1 line
> Any ideas on what can cause such a message? When was the last time the format did change? What can we do about it (other than do as it says, assuming it's not actually a feature)?
Hm, the database version hasn't been changed since Version 5.91 (which was released more than 18 months ago): https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/data/DataText.java What happens if you try to open your database with the latest official version of BaseX? Have you done backups on your database, which you could try? If the problem persists, feel free to send me the inf.basex file of your database, which might give us some hints. Best, Christian
HV
Huib Verwey30 Jun 2011 12:53 #
Hi Christian, I copied the datafiles over to my machine which uses the latest and the greatest from git. Same result. At the test machine we used the latest official release. I have deleted the database, upgraded the server to the latest from Git and then restored from original XML files, it is working again. I'll send you inf.basex file. Thanks for your swift response. Huib.
-- Drs. Huib Verweij Senior software developer - The Language Archive Max Planck Institute for Psycholinguistics P.O. Box 310 6500 AH Nijmegen The Netherlands t +31-24-3521911 e huib.verwey at mpi.nl<mailto:huib.verwey at mpi.nl> w http://www.mpi.nl/ Op 30 jun 2011, om 10:54 heeft Christian Grün het volgende geschreven: Dear Huib, Any ideas on what can cause such a message? When was the last time the format did change? What can we do about it (other than do as it says, assuming it's not actually a feature)? Hm, the database version hasn't been changed since Version 5.91 (which was released more than 18 months ago): https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/data/DataText.java What happens if you try to open your database with the latest official version of BaseX? Have you done backups on your database, which you could try? If the problem persists, feel free to send me the inf.basex file of your database, which might give us some hints. Best, Christian

⚡Generated with XQuery