An unknown error has occurred in asset reindex I am getting the error: An unknown error occurred for each file in a folder when I try Update Asset Indexes.  The folder is a local folder that is outside of webroot.  The files just contain json data. I have looked through Craft log files and apache log files and cannot find anything. Any ideas?

I have tried the following from other questions with the same error message and none of these made an difference.

Deleted entire craft/storage/runtime/ folder

An unknown error occurred - no log entry

Made sure no record in table assetindex has null for dateModified column 

&quot;An unknown error occurred&quot; in assets screen

Reset folder ownership

permissions userphotos &quot;an unknown error occurred&quot;
Try to call the json file in the browser. There are chance of showing unknown error when the path of the json file is missing in Asset Index.