I've had some wikispam and when I go to delete it I get: Sorry! Something went wrong. Please contact the Wiki administrator at openguide@rumble.net and quote the following error message:
Search::InvertedIndex::remove_index_from_group() - Corrupted database. Unable to find 'ged_000000000000_c_000000000a9f' record at /usr/share/perl5/CGI/Wiki/Search/SII.pm line 143
Return to the Wiki home page
When I run reindex.pl, I get this: simon@stout:/etc/openguides/default$ sudo ./reindex.pl Reindexed 30 St Mary Axe Reindexed 99 Notre Dame Avenue, San Jose Reindexed Bletchley Park Reindexed Brogo Dam Reindexed Brogo Rotolactor Reindexed CN Tower Reindexed Category Accidents Reindexed Category Architecture Reindexed Category Botany Reindexed Category Bridges Reindexed Category Category Reindexed Category Communications Reindexed Category Computers Reindexed Category Dams Reindexed Category Espionage Search::InvertedIndex::remove_index_from_group() - Corrupted database. Unable tofind 'ged_000000000001_c_0000000000ba' record at /usr/share/perl5/CGI/Wiki/Search/SII.pm line 138
Erm, how do I recover then eh?
On Tue 28 Dec 2004, Rev Simon Rumble simon@rumble.net wrote:
I've had some wikispam and when I go to delete it I get: [...] Search::InvertedIndex::remove_index_from_group() - Corrupted database. [...] When I run reindex.pl, I get this: [...] Search::InvertedIndex::remove_index_from_group() - Corrupted database. [...] Erm, how do I recover then eh?
Keep trying. Delete the indexes, reindex, if it fails repeat from the start.
Or you could just use Plucene.
Kake
All this talk of reindexing reminds me. My copy of reindex.pl is broken, but I don't really get how.
At the moment, when I do a search on http://nottingham.openguides.org/mirror/wiki.cgi, which uses plucene, I get very few results compared to the 'official' site which uses S::II
$ pwd /srv/www/nottinghamguide/cgi-bin/mirror $ perl ~/src/OpenGuides-0.46/examples/reindex.pl config param isn't an OpenGuides::Config object at /home/jkg/src/OpenGuides-0.46/examples/reindex.pl line 13
As far as I can tell, wiki.conf in that directory is a valid wiki.conf; certainly the rest of the site seems to work. I'm fairly sure I have the latest (well, 0.46's) OpenGuides/Config.pm, because it refers to Class::Accessor. Any ideas what might be going on?
Thanks!
James.
Er, I seem to have forgotten to write part of that email.
On Wed, Dec 29, 2004 at 02:30:48PM +0000, James Green wrote:
All this talk of reindexing reminds me. My copy of reindex.pl is broken, but I don't really get how.
At the moment, when I do a search on http://nottingham.openguides.org/mirror/wiki.cgi, which uses plucene, I get very few results compared to the 'official' site which uses S::II
Here I was going to say: "So, I figured I'd try reindexing, but this happened:"
$ pwd /srv/www/nottinghamguide/cgi-bin/mirror $ perl ~/src/OpenGuides-0.46/examples/reindex.pl config param isn't an OpenGuides::Config object at /home/jkg/src/OpenGuides-0.46/examples/reindex.pl line 13
As you were.
James.
On Wed 29 Dec 2004, James Green jkg@earth.li wrote:
At the moment, when I do a search on http://nottingham.openguides.org/mirror/wiki.cgi, which uses plucene, I get very few results compared to the 'official' site which uses S::II
Makes sense, if you installed the mirror and didn't reindex. Only nodes which have been written since you set up the Plucene version will have been indexed.
$ perl ~/src/OpenGuides-0.46/examples/reindex.pl config param isn't an OpenGuides::Config object at /home/jkg/src/OpenGuides-0.46/examples/reindex.pl line 13
Good catch; this didn't get updated when I made the config changes. Can you test the one attached?
Kake
On Wed, Dec 29, 2004 at 03:14:30PM +0000, Kake L Pugh wrote:
Makes sense, if you installed the mirror and didn't reindex. Only nodes which have been written since you set up the Plucene version will have been indexed.
Yep, that was precisely what had happened.
Good catch; this didn't get updated when I made the config changes. Can you test the one attached?
Looks good to me, it certainly appeared to run OK, and searches now give sane results. Thanks!
James.
On Wed 29 Dec 2004, James Green jkg@earth.li wrote:
Looks good to me, it certainly appeared to run OK, and searches now give sane results. Thanks!
Cool. It's in CVS now.
Kake
openguides-dev@lists.openguides.org