Open steotia opened 6 years ago
The following error should not happen:
Stacktrace was: java.lang.RuntimeException: java.io.IOException: Unable to create directory path [/var/lib/neo4j/data/databases/graph.db/logs] for Neo4j store.
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:269)
at org.neo4j.kernel.impl.factory.PlatformModule.
public static GraphDatabaseService getGraphDatabaseService() {
if(graphDBService ==null || !graphDBService.isAvailable(0)){
graphDBService = ((Neo4jGraphAPIImpl) getGraphDB().getBaseGraph()).getGraphDatabase();
}
return graphDBService;
}
The above needs to be generic and not bound no neo4j
Configuration of Storage Provider is not clear. It seems right now Neo4J needs to be installed but if it isn't, the app throws a runtime error. That is wrong. The app should check if there is a provider configured and working, if not, it should complain properly.