The other param you are looking for is: <param name="autoRepair" value="true" /> in the past those parameters were also called, so depending on which version of JR you are using you might need to set the other params <param name="consistencyCheck" value="true" /> <param name="consistencyFix" value="true" />
Either way, those parameters will do consistency checks and fix only the search index, not the repository. If you are using EE version of Magnolia you should be able to use magnolia-tools to repair the repo (don't hesitate to open a support issue for it if you need help). If you are using the CE version, your best bet is to comment out the search index to have your repo startup, then export all the content that is not corrupted, create new repo and re-import your content. HTH, Jan On Jan 11, 2011, at 1:43 AM, Danilo Ghirardelli wrote: > >> I had a hard drive failure, and I am now trying to restore the magnolia >> database. I restored the database, the repositories and workspace folders but >> get the below error. I have also modified the jackrabbit-mysql-search.xml >> file >> to set the: >> >> <param name="forceConsistencyCheck" value="true" /> >> >> but I can't get the magnolia instance to boot. Any ideas? > > I think there are a few extra params to get the consistency check working... > But the same thing happened to me once, and the exception was not exactly > related to the source of the problem. Try checking if ALL the due jaas > permissions are in place, and that there are read/write permission for the > user starting the application for all magnolia files and folders. Last time > I've seen this exception was because I forget to set jaas permission in my > application server, maybe if the disk crashed the permission were not set > correctly in the new installation. > > Regards, Danilo. > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
