I made directory /var/opengrok/src /var/opengrok/data /var/opengrok/etc and put code into src. All worked well until I index a new source directory. Then I got the WARNING:
WARNING: Cannot write latest cached revision to file xxx(the name of source directroy)
java.io.FileNotFoundException: /var/opengrok/data/historycache/OpenGroklatestRev (No such file or directory)
....
Is a bug? If so, how could I fix it?
Thanks:)