Unable to start neo4j database in Community Edition

Hello

I am new to Neo4j database management. I have recently installed a Community Edition db which worked fine for a few days. I then edited the http & https connector settings in conf file in an attempt to enable remote access. However, there are some pending ssl certificate configurations because of which I couldn't get it to work. So, I reverted the changes I made in conf file and started the Windows service. But, the db wouldn't start this time. We lost the data that our Dev team has created thus far.

When I login from the browser, I see the below message:

Could not connect with the "neo4j://" scheme to this Neoj server. Automatic retry using the "bolt://" scheme in a moment...

The browser however lets me in, but I see this message and I am unable to run any queries:

Database 'neo4j' is unavailable. Run :sysinfo for more info.

Below is a snippet from the debug.log file which starts from the point where neo4j db fails to start.

Can someone assist me with this?

2020-09-07 18:37:01.237+0000 INFO [o.n.d.d.DefaultDatabaseManager] Creating 'neo4j' database.
2020-09-07 18:37:01.239+0000 INFO [o.n.d.d.DefaultDatabaseManager] Starting 'neo4j' database.
2020-09-07 18:37:01.254+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [neo4j] Selected RecordFormat:StandardV4_0[SF4.0.0] record format from store E:\Neo4j\neo4j-community-4.1.1\data\databases\neo4j
2020-09-07 18:37:01.257+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [neo4j] Selected format 'RecordFormat:StandardV4_0[SF4.0.0]' for existing store E:\Neo4j\neo4j-community-4.1.1\data\databases\neo4j with format 'RecordFormat:StandardV4_0[SF4.0.0]'
2020-09-07 18:37:01.312+0000 INFO [o.n.k.r.LogTailScanner] [neo4j] Scanning transaction file with version 0 for checkpoint entries
2020-09-07 18:37:02.487+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=1598443357063, randomId=430528721030205417, storeVersion=3471765337752883975, upgradeTime=1598443357063, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1597789971993, randomId=-1266343144046409086, storeVersion=3471765337752883975, upgradeTime=1597789971993, upgradeTxId=1}
java.lang.RuntimeException: Mismatching store id. Store StoreId: StoreId{creationTime=1598443357063, randomId=430528721030205417, storeVersion=3471765337752883975, upgradeTime=1598443357063, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1597789971993, randomId=-1266343144046409086, storeVersion=3471765337752883975, upgradeTime=1597789971993, upgradeTxId=1}
at org.neo4j.kernel.recovery.Recovery.validateStoreId(Recovery.java:406)
at org.neo4j.kernel.database.Database.checkStoreId(Database.java:513)
at org.neo4j.kernel.database.Database.start(Database.java:386)
at org.neo4j.dbms.database.AbstractDatabaseManager.startDatabase(AbstractDatabaseManager.java:187)
at org.neo4j.dbms.database.DefaultDatabaseManager.startDatabase(DefaultDatabaseManager.java:132)
at org.neo4j.dbms.database.DefaultDatabaseManager.initialiseDefaultDatabase(DefaultDatabaseManager.java:64)
at org.neo4j.dbms.database.DefaultDatabaseInitializer.start0(DefaultDatabaseInitializer.java:39)
at org.neo4j.kernel.lifecycle.SafeLifecycle.transition(SafeLifecycle.java:124)
at org.neo4j.kernel.lifecycle.SafeLifecycle.start(SafeLifecycle.java:138)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:45)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
at org.neo4j.server.CommunityEntryPoint.start(CommunityEntryPoint.java:49)
2020-09-07 18:37:02.491+0000 ERROR [o.n.d.d.DefaultDatabaseManager] Failed to start database: neo4j 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 org.neo4j.dbms.database.DefaultDatabaseManager.startDatabase(DefaultDatabaseManager.java:132)
at org.neo4j.dbms.database.DefaultDatabaseManager.initialiseDefaultDatabase(DefaultDatabaseManager.java:64)
at org.neo4j.dbms.database.DefaultDatabaseInitializer.start0(DefaultDatabaseInitializer.java:39)
at org.neo4j.kernel.lifecycle.SafeLifecycle.transition(SafeLifecycle.java:124)
at org.neo4j.kernel.lifecycle.SafeLifecycle.start(SafeLifecycle.java:138)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:45)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
at org.neo4j.server.CommunityEntryPoint.start(CommunityEntryPoint.java:49)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Mismatching store id. Store StoreId: StoreId{creationTime=1598443357063, randomId=430528721030205417, storeVersion=3471765337752883975, upgradeTime=1598443357063, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1597789971993, randomId=-1266343144046409086, storeVersion=3471765337752883975, upgradeTime=1597789971993, upgradeTxId=1}
at org.neo4j.kernel.database.Database.start(Database.java:497)
at org.neo4j.dbms.database.AbstractDatabaseManager.startDatabase(AbstractDatabaseManager.java:187)
... 14 more
Caused by: java.lang.RuntimeException: Mismatching store id. Store StoreId: StoreId{creationTime=1598443357063, randomId=430528721030205417, storeVersion=3471765337752883975, upgradeTime=1598443357063, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1597789971993, randomId=-1266343144046409086, storeVersion=3471765337752883975, upgradeTime=1597789971993, upgradeTxId=1}
at org.neo4j.kernel.recovery.Recovery.validateStoreId(Recovery.java:406)
at org.neo4j.kernel.database.Database.checkStoreId(Database.java:513)
at org.neo4j.kernel.database.Database.start(Database.java:386)
... 15 more
2020-09-07 18:37:02.953+0000 INFO [o.n.b.BoltServer] Bolt enabled on 0.0.0.0:7687.
2020-09-07 18:37:02.954+0000 INFO [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Starting web server
2020-09-07 18:37:05.770+0000 INFO [o.n.s.CommunityNeoWebServer] Remote interface available at http://localhost:7474/
2020-09-07 18:37:05.771+0000 INFO [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Web server started.

1 Like