On Sat, Nov 26, 2011 at 08:58:38AM +0100, Marc Haber wrote: > On Thu, Nov 24, 2011 at 10:16:54AM +0100, Dominik Eckelmann wrote: > > > What can I do to debug? Does the indexer need configuration to work? > > check if the index in data/docsearch/index is generated. Without these > > files the search will find nothing. > > the data/docsearch/index directory is empty. When I invoke the cron > job manually, the only warning I get is: > > | ~$ sudo -H -u www-data env -i /usr/bin/php5 > /var/www/dokuwiki/dokuwiki/lib/plugins/docsearch/cron.php > | PHP Notice: Undefined index: REMOTE_ADDR in > /var/www/dokuwiki/dokuwiki/lib/plugins/docsearch/cron.php on line 4 > > Which looks correct for a script invoked from the command line. I straced the cron job and saw that the cron job wants to write the index to /var/www/dokuwiki/dokuwiki/lib/plugins/docsearch/data/ instead of the documented /var/www/dokuwiki/dokuwiki/data/docsearch/index. After creating the directory, it wrote a page.idx with zero bytes. More ideas? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist