So here’s the situation – before the new year, we were merrily working towards completing our final XML import into AtoM 2.2 until we reached some complex and lengthy XML files that maxed out our memory resources on the server. We corrected the memory problem, and started from the fail point, only to discover that some information objects were missing when we run
php symfony search:populate
what happens here is that we hit a “Couldn't find information object (id: ###)” error (similar to the one described in https://groups.google.com/forum/#!topic/ica-atom-users/Z8xPAMr0hiY, but under different circumstances). We confirmed that the object was “published” (each of them are), and ran
php symfony propel:generate-slugs
but rerunning the index still runs into the same
error. The only way we’ve been able to
correct the error is to manually dig through the database and delete the
offending row/entry (takes about 20-30 mins per error), then rerun the index, which
inevitably hits another error. The problem here is that we have no idea what we're really up against - is it 2 more or 2,000 more errors?
My question, then, is twofold:
a) is there any tool or process we can use to verify the
database integrity? (we're concerned that the maxed out memory may have caused some cascading problems, or at least that's how it would appear)
b) is there a faster way to locate these errors without
having to run the full index each time? (i.e. index everything and produce an
error report for cases where information objects cannot be found - and perhaps the answer here would also address the first part of my question)
After all you will need to fix any possible corruption to the nested set running the following task from the AtoM folder:php symfony propel:generate-slugs
php symfony propel:build-nested-set
--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/17d22153-0fbb-462d-af70-2f9a86db2266%40googlegroups.com.