I'm getting these errors while making changes:
Sorry! Something went wrong. Please contact the Wiki administrator at openguide@rumble.net and quote the following error message:
Search::InvertedIndex::add_index() - Unable to locate the existing 'ie_first_index_enum' value. Database may be corrupt. at /usr/share/perl5/CGI/Wiki/Search/SII.pm line 127
What gives? Can I rebuild this index?
On Thu 11 Nov 2004, Rev Simon Rumble simon@rumble.net wrote:
Search::InvertedIndex::add_index() - Unable to locate the existing 'ie_first_index_enum' value. Database may be corrupt. at /usr/share/perl5/CGI/Wiki/Search/SII.pm line 127
What gives?
Search::InvertedIndex is prone to this kind of thing, that's what.
Can I rebuild this index?
Yep. Run this in the directory where your wiki.conf is: http://search.cpan.org/src/KAKE/OpenGuides-0.43/examples/reindex.pl
Kake
This one time, at band camp, Kake L Pugh wrote:
Can I rebuild this index?
Yep. Run this in the directory where your wiki.conf is: http://search.cpan.org/src/KAKE/OpenGuides-0.43/examples/reindex.pl
That gives me a similar error:
Search::InvertedIndex::add_index() - Unable to locate the existing 'ie_first_index_enum' value. Database may be corrupt. at /usr/share/perl5/CGI/Wiki/Search/SII.pm line 127
Kake L Pugh wrote:
Yep. Run this in the directory where your wiki.conf is: http://search.cpan.org/src/KAKE/OpenGuides-0.43/examples/reindex.pl
On Thu 11 Nov 2004, Rev Simon Rumble simon@rumble.net wrote:
That gives me a similar error:
Delete the old indexes first.
Kake
This one time, at band camp, Kake L Pugh wrote:
Delete the old indexes first.
Sorry I haven't dug into sqlite yet. How do I do that?
Kake L Pugh wrote:
Delete the old indexes first.
On Thu 11 Nov 2004, Rev Simon Rumble simon@rumble.net wrote:
Sorry I haven't dug into sqlite yet. How do I do that?
The indexes aren't kept in SQLite, but in the directory specified in your wiki.conf. See http://search.cpan.org/src/KAKE/OpenGuides-0.43/INSTALL and your wiki.conf - in particular the question "What directory can I use to store indexes in for searching?"
Just delete all the files in that directory.
Kake
This one time, at band camp, Kake L Pugh wrote:
"What directory can I use to store indexes in for searching?"
Just delete all the files in that directory.
That did the trick, after I fixed the permissions to be owned by www-data. Thanks!
openguides-dev@lists.openguides.org