Hello everyone! My name is Onurhan, an undergrad CS student and a total newbie to Neo4j. Been trying to install Neo4j to my Windows 10.
I am following every step from here: Thanks for Downloading Neo4j Desktop - Neo4j Graph Data Platform
I navigate to the right directory, type "bin\neo4j console", then this is printed to the console:
2020-04-08 14:42:31.937+0000 INFO ======== Neo4j 4.0.3 ========
2020-04-08 14:42:31.942+0000 INFO Starting...
2020-04-08 14:42:41.300+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@718f805a' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@718f805a' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@718f805a' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.".
*** at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)***
*** at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:164)***
*** at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:114)***
*** at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:89)***
*** at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)***
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@718f805a' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.".
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:465)***
*** at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)***
*** at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:157)***
*** ... 3 more***
Caused by: java.lang.RuntimeException: Error starting database server at C:\Users\Onurhan\Desktop\neo4j-community-4.0\neo4j-community-4.0.3\data\databases
*** at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:167)***
*** at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:145)***
*** at org.neo4j.server.database.CommunityGraphFactory.newDatabaseManagementService(CommunityGraphFactory.java:36)***
*** at org.neo4j.server.database.LifecycleManagingDatabaseService.start(LifecycleManagingDatabaseService.java:88)***
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)***
*** ... 5 more***
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.dbms.database.DefaultSystemGraphInitializer@3c4262d1' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.".
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:465)***
*** at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)***
*** at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:158)***
*** ... 9 more***
Caused by: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.
*** at org.neo4j.kernel.availability.DatabaseAvailabilityGuard.assertDatabaseAvailable(DatabaseAvailabilityGuard.java:172)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginKernelTransaction(GraphDatabaseFacade.java:185)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginTransactionInternal(GraphDatabaseFacade.java:165)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginTransaction(GraphDatabaseFacade.java:119)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginTransaction(GraphDatabaseFacade.java:113)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginTransaction(GraphDatabaseFacade.java:101)***
*** at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.beginTx(GraphDatabaseFacade.java:96)***
*** at org.neo4j.dbms.database.DefaultSystemGraphInitializer.isSystemGraphEmpty(DefaultSystemGraphInitializer.java:100)***
*** at org.neo4j.dbms.database.DefaultSystemGraphInitializer.initializeSystemGraph(DefaultSystemGraphInitializer.java:76)***
*** at org.neo4j.dbms.database.DefaultSystemGraphInitializer.initializeSystemGraph(DefaultSystemGraphInitializer.java:69)***
*** at org.neo4j.dbms.database.SystemGraphInitializer.start(SystemGraphInitializer.java:30)***
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)***
*** ... 11 more***
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.Recovery$MissingTransactionLogsCheck@27a09971' failed to initialize. Please see the attached cause exception "Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.".
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:426)***
*** at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66)***
*** at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:102)***
*** at org.neo4j.kernel.recovery.Recovery.performRecovery(Recovery.java:364)***
*** at org.neo4j.kernel.database.Database.start(Database.java:380)***
*** 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.startDatabase(DefaultDatabaseManager.java:36)***
*** at org.neo4j.dbms.database.AbstractDatabaseManager.forEachDatabase(AbstractDatabaseManager.java:165)***
*** at org.neo4j.dbms.database.AbstractDatabaseManager.startAllDatabases(AbstractDatabaseManager.java:112)***
*** at org.neo4j.dbms.database.AbstractDatabaseManager.start(AbstractDatabaseManager.java:106)***
*** ... 12 more***
Caused by: java.lang.RuntimeException: Transaction logs are missing and recovery is not possible. To force the database to start anyway, you can specify 'dbms.recovery.fail_on_missing_files=false'. This will create new transaction log and will update database metadata accordingly. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.
*** at org.neo4j.kernel.recovery.Recovery$MissingTransactionLogsCheck.checkForMissingLogFiles(Recovery.java:512)***
*** at org.neo4j.kernel.recovery.Recovery$MissingTransactionLogsCheck.init(Recovery.java:501)***
*** at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405)***
*** ... 22 more***
2020-04-08 14:42:41.309+0000 INFO Neo4j Server shutdown initiated by request
Also http://localhost:7474/ gives "ERR_CONNECTION_REFUSED" on my Chrome browser. I tried it on Microsoft Edge, it's giving a similar error.
I have JDK 11.0.6 installed.
This is my second attempt to install. First time, I only downloaded "neo4j-desktop-offline-1.2.6-setup" and tried to start from there. But when I tried to start a database "Database failed to start: DB [database-da2830be-9da0-409c-a142-02b631b6b94c] 'v4.0.3' exited with status 'KILLED' " was what I got. I uninstalled Neo4j with the help of Elaine from user support, and reinstalled from above link. This is how i got here.
Thanks everyone for your help and time!