Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Send commands to diskover socket server

Chris Park edited this page Jun 27, 2018 · 2 revisions

If you want the buttons for directory reindexing to show up in diskover-web, edit Constants.php and set

// diskover.py socket listener server
const ENABLE_SOCKET_CLIENT = TRUE;
const SOCKET_LISTENER_HOST = '127.0.0.1';
const SOCKET_LISTENER_PORT = 9999;

set ENABLE_SOCKET_CLIENT to TRUE

and adjust the ip to where diskover socket server is by default it is FALSE so diskover-web doesn't communicate with socket server after you enable you will see icon on admin and search results page that socket server is listening and then there should be icons to reindex directories

run the socket server with python diskover.py --listen --debug listens on 9999 by default

More info on diskover socket server wiki page.

Clone this wiki locally