Indexing of Network Folders
Introduction
Unlike files in managed storage, files in Nwork Folders exist outside of FileCloud and therefore changes occurring in Network Folders might not be propagated into the FileCloud index. Monitoring such changes are important in the following scenarios:
- Faster searching
- Content search for files in Network Folders
- Automatic Realtime Syncing of Network Folders
For these scenarios, you must index network folders and keep them indexed as files and folders change.
- To index network folders, the FileCloud Helper service is required
- See instructions below on how to set up the Helper service for indexing
Setting up Indexing of Network Folders
- Install the latest FileCloud Helper service and set it up to run automatically. Ensure the Logon as user is set to a user account with permissions to Network Shares.
Open realtimeconfig.ini file in the FileCloud Helper install folder (%APPDATA%\FileCloudHelper) or (c:\xampp\FileCloudHelper)
[databases] settingsdb=mongodb://127.0.0.1:27017 clouddb=mongodb://127.0.0.1:27017 syncdb=mongodb://127.0.0.1:27017 [misc] enable=1 sleep=10 securitykey=nosoup4u
Change the database settings if not using the default.
Change the enable setting to enable=1
change the securitykey value from the default to any other password value.
Restart the Helper.
- Verify that the Helper is configured correctly by opening Settings > Misc > Support Services in the admin portal. Click the Helper Status button and ensure the status shows that realtime indexing is enabled.
Edit cloudconfig.php file found on the WWWROOT config folder (c:\xampp\htdocs\config or \var\www\config) and add the following, making sure the security key default is changed to the same password value set in the realtimeconfig.ini file
define("TONIDOCLOUD_PUSH_KEY", "nosoup4u");
Now add a network folder and edit the settings to enable realtime scanning.
- Always, restart the NTFS helper after enabling realtime index options for Network Folders or after adding or removing Network Folders
- If indexing is happening correctly, Realtime Index Status will soon display stats of the indexed files and folders.