cosmocode / docsearch

Search through uploaded documents in DokuWiki
http://www.dokuwiki.org/plugin:docsearch
11 stars 11 forks source link

plugin in a Debian Farm context #31

Open PrRiverSong opened 6 years ago

PrRiverSong commented 6 years ago

Hello,

I would be very interested to implement your plugin in at list one of my animal farm. You wrote that if we run a DokuWiki farm, we need to run the cronjob for each animal seperately, passing the animal's name as first parameter to the script. and I am sadly at lost with this

perhaps is it due to the peculiar architecture of the Debian dokuwiki Farm (

So I have made few test First, to see if all work, I put some pdf in var/lib/dokuwiki/data/media/ and run strace php /var/lib/dokuwiki/lib/plugins/docsearch/cron.php

to see how it goes... And indeed a docsearch folder has been created and an index folder in it correctly built... \o/ ( that's great by the way ; There's a lot of pdf we use here and it is so helpful to be able to make a search inside them )

BUT I have no clue how to make it works for my animals I tried

strace php /var/lib/dokuwiki/lib/plugins/docsearch/cron.php?animal1
strace php /var/lib/dokuwiki/lib/plugins/docsearch/cron.php?animal=animal1
strace php /var/lib/dokuwiki/lib/plugins/docsearch/cron.php animal1
strace php /var/lib/dokuwiki/lib/plugins/docsearch/cron.php animal=animal1

none work :(

Any clue ?

Thanks for all :)