Skip to content

plugin in a Debian Farm context #31

@PrRiverSong

Description

@PrRiverSong

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 (

  • var/lib/dokuwiki/data/media/
  • var/lib/dokuwiki/data/index/
    ...
  • var/lib/dokuwiki/farm/
  • var/lib/dokuwiki/farm/animal1/
  • var/lib/dokuwiki/farm/animal1/data/media/
  • var/lib/dokuwiki/farm/animal1/data/index/
    )

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions