Manual Indexing Check
From DocMGR
If you believe that a file is not being indexed, you can do the following steps to trouble shoot the issue.
- Obtain the Object Id of the document you uploaded (hover the mouse over the link in the UI and look for objectId=xxx ).
- In the config file uncomment DEV_MODE at the bottom of the file.
- In the config file set DEBUG = 5 at the bottom of the file.
- In a console window change to the root directory /path/to/docmgr
- Run the following: php bin/di/docmgr-indexer.php --index-object xxx where xxx is the object id obtained above. The output should now show you any errors which may occur during indexing.
If you do not see any output from the script after performing the steps above, comment out line 13 of the bin/di/docmgr-indexer.php file and try again.
If you receive "undefined function pg_connect()...", then your system needs the php cli pgsql package installed (this may vary by distribution). If you installed php from the source, make sure your distro's original php package has been uninstalled.
If you receive errors about files not being found, make sure your include_path is set to "." in your php.ini file. You may also add a line at the top of the bin/di/docmgr-indexer.php file that looks like this...
ini_set("include_path",".");

