I want to confugure opengrok source in directory other than /var/opengrok/src. I set OPENGROK_INSTANCE_BASE environment variable to my desired directory. (Just to be sure and for testing I hard coded that variable in Opengrok script.) I created src/ data/ etc/ folder in desired directory. After these I issue sudo ./OpenGrok index commnad. Now from web-browser I can see source in project list, but When I search I see following error
*There was an error!
The source root specified in your configuration does not point to a valid directory! Please configure your webapp. The configured dataRoot '/home/xxnikosr/opengrok/data' refers to a none-exsting or unreadable directory!*
I check permision to /data folder are proper and does exist. Does anybody face same issue? Did I miss any configuration. PS I did Opengrok deploy before creating src/ data/ etc/ directories