splitbrain/dokuwiki-plugin-sync

Sync only Media Files regardless of settings!?

andyboeh opened this issue · 2 comments

I'm on Detritus (both ends) and just installed the sync plugin (locally) and configured it.

My profile is set to "Everything", but unfortunately, I'm only able to sync media files. Pages are only shown if they don't exist remotely, although I have a couple of pages only on the remote end that I would like to sync to my laptop.

Any suggestions?

I seem to be having problems with the XMLRPC interface. I just tried to list all pages with the Python client. It resulted in the only page being available the on I uploaded beforehand using the sync plugin.

Then I tried to rebuild the search index - and now all pages are gone again from the RPC interface. Searching through the Wiki on the web interface works fine, though!

Fixed it. The autodetection of the data dir doesn't seem to be working when using the XMLRPC API. After specifying an absolute path for $conf['datadir'], it works.

I debugged it a bit, the datadir set in the XMLRPC API had '/lib/exe' included in the path.