cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Database 'Neo4J' unavailable

I have installed neo4j desktop 1.3.* in windows server 2012. I have installed neosemantics, apoc and GDS. The data base created is 4.0.4 or 4.0.7 version as neo4J semantics is compatible with 4.0.* version of neo4J server. When ever I am starting the neo4J database and using neo4j browser, I am seeing error 'Database neo4J not available' in the Neo4J browser. I have a backup of the folder data. Whenever I replace the transaction folder, database starts without any issue. I am not sure what I am missing.

  • neo4j version 4,0,7, desktop version 1.3.3, browser version default browser from neo4j desktop
2 REPLIES 2

ameyasoft
Graph Maven

When you select 'system' database and run the query SHOW DATABASES see the error column. It simply displays 'An error occurred....' . Unfortunately this doesn't give any clue for the error.

Somehow it is connected to incompatibility of APOC or any other library. Check data/transactions/neo4j folder is empty or not.

If empty then open the neo4j.conf fie from conf folder and uncheck dbms.allow_upgrade=true. Save and start the server and see if that fixes.

Hi amey,

Fixes I made dbms.allow_upgrade=true and
I have uninstalled APOC and GDS. But still I am facing the same error. Still the crude way is having backup of folder data and replacing it.

below is the error in the debug.log file

2020-08-05 02:11:38.595+0000 WARN [o.n.k.d.Database] [neo4j] Exception occurred while starting the database. Trying to stop already started components. Mismatching store id. Store StoreId: StoreId{creationTime=1594815876546, randomId=-3878573715039866233, storeVersion=3471765337752883975, upgradeTime=1594815876546, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1596533422797, randomId=-3609745168295180533, storeVersion=3471765337752883975, upgradeTime=1596533422797, upgradeTxId=1}
java.lang.RuntimeException: Mismatching store id. Store StoreId: StoreId{creationTime=1594815876546, randomId=-3878573715039866233, storeVersion=3471765337752883975, upgradeTime=1594815876546, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1596533422797, randomId=-3609745168295180533, storeVersion=3471765337752883975, upgradeTime=1596533422797, upgradeTxId=1}
at org.neo4j.kernel.recovery.Recovery.validateStoreId(Recovery.java:388)
at org.neo4j.kernel.database.Database.start(Database.java:377)
at org.neo4j.dbms.database.AbstractDatabaseManager.startDatabase(AbstractDatabaseManager.java:187)
at com.neo4j.dbms.database.MultiDatabaseManager.forSingleDatabase(MultiDatabaseManager.java:112)
at com.neo4j.dbms.database.MultiDatabaseManager.startDatabase(MultiDatabaseManager.java:98)
at com.neo4j.dbms.DbmsReconciler.start(DbmsReconciler.java:549)
at com.neo4j.dbms.Transitions$TransitionFunction.lambda$prepare$0(Transitions.java:219)
at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:347)
at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:348)
at com.neo4j.dbms.DbmsReconciler.doTransitions(DbmsReconciler.java:330)
at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$10(DbmsReconciler.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-08-05 02:11:38.598+0000 ERROR [c.n.d.DbmsReconciler] Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{6dd5fd7d[neo4j]}, operatorState=STOPPED, failed=false}' to state 'online' An error occurred! Unable to start database with name neo4j.
org.neo4j.dbms.api.DatabaseManagementException: An error occurred! Unable to start database with name neo4j.
at org.neo4j.dbms.database.AbstractDatabaseManager.startDatabase(AbstractDatabaseManager.java:191)
at com.neo4j.dbms.database.MultiDatabaseManager.forSingleDatabase(MultiDatabaseManager.java:112)
at com.neo4j.dbms.database.MultiDatabaseManager.startDatabase(MultiDatabaseManager.java:98)
at com.neo4j.dbms.DbmsReconciler.start(DbmsReconciler.java:549)
at com.neo4j.dbms.Transitions$TransitionFunction.lambda$prepare$0(Transitions.java:219)
at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:347)
at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:348)
at com.neo4j.dbms.DbmsReconciler.doTransitions(DbmsReconciler.java:330)
at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$10(DbmsReconciler.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

Thanks,
A.Anitha