Can't load database on Neo4j - neo4j

So I upgraded my Neo4j cluster instalation to 3.0.3 and it seems I can not load the database that comes with the instalation. This is the log file
<code>2016-06-28 14:11:20.879+0000 INFO Starting...
2016-06-28 14:11:21.620+0000 INFO Write transactions to database disabled
2016-06-28 14:11:22.483+0000 INFO Bolt enabled on localhost:7687.
2016-06-28 14:11:22.504+0000 INFO Initiating metrics...
2016-06-28 14:11:24.344+0000 INFO Attempting to join cluster of [192.168.1.91:5001, 192.168.1.92:5001, 192.168.1.93:5001]
2016-06-28 14:11:54.762+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingData$
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#1f7853af' wa$
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:217)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:87)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:66)
at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase#1f7853af' was succ$
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.ha.factory.HighlyAvailableFacadeFactory, /opt/neo4j/neo4j-enterprise$
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
at org.neo4j.kernel.ha.factory.HighlyAvailableFacadeFactory.newFacade(HighlyAvailableFacadeFactory.java:42)
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:41)
at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$0(EnterpriseNeoServer.java:80)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.cluster.client.ClusterJoin#4b6942a0' was successfully initia$
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
... 10 more
Caused by: java.util.concurrent.TimeoutException
at org.neo4j.cluster.statemachine.StateMachineProxyFactory$ResponseFuture.get(StateMachineProxyFactory.java:300)
</code>
Is there any fresh db I could try to load ? Thanks.

Is that on a single instance or cluster?
Best try it in standalone mode first.
How did you upgrade? Using the admin-tool with
neo4j-admin --mode database --from neo4j-2x-db --to neo4j-3x-db ?
see: https://neo4j.com/guides/upgrade/#neo4j-3-0
and: http://neo4j.com/docs/operations-manual/3.0/#upgrade-instructions-2x

Related

Not possible to upgrade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6) - dataset example related

I am working through Neo4j section of Seven Databases in Seven Weeks book. I am at the Big Data section of day 2. I was able to download and move the Movie Database dataset example (cineasts_12k_movies_50k_actors.db) to data/databases. I then comment out dbms.active_database=graph.db and added the line
dbms.active_database=movies.db
in neo4j.conf file in /conf folder.
According to the instruction in the book, I ought to go into same file (neo4j.conf) to uncomment the line:
#dbms.allow_format_migrations=true
but such line did not exist in the file. And adding it to the config file threw up below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:37:28.996+0000 WARN Unknown config option: dbms.allow_format_migr
ations
2018-08-24 03:37:29.076+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:37:29.170+0000 INFO Starting...
2018-08-24 03:37:33.672+0000 INFO Initiating metrics...
2018-08-24 03:37:34.180+0000 ERROR Failed to start Neo4j: Starting Neo4j failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#6db66836' was su
ccessfully initialized, but failed to start. Please see the attached cause excep
tion "Unknown store version 'v0.A.3'". Starting Neo4j failed: Component 'org.neo
4j.server.database.LifecycleManagingDatabase#6db66836' was successfully initiali
zed, but failed to start. Please see the attached cause exception "Unknown store
version 'v0.A.3'".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#6db66836' was successfully initia
lized, but failed to start. Please see the attached cause exception "Unknown sto
re version 'v0.A.3'".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#6db66836' was successfully initialized,
but failed to start. Please see the attached cause exception "Unknown store ver
sion 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#4152d38d' was successfully initialized, but failed to s
tart. Please see the attached cause exception "Unknown store version 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: java.lang.IllegalArgumentException: Unknown store version 'v0.A.3'
at org.neo4j.kernel.impl.store.format.RecordFormatSelector.selectForVers
ion(RecordFormatSelector.java:101)
at org.neo4j.kernel.impl.store.NeoStores.verifyRecordFormat(NeoStores.ja
va:211)
at org.neo4j.kernel.impl.store.NeoStores.<init>(NeoStores.java:143)
at org.neo4j.kernel.impl.store.StoreFactory.openNeoStores(StoreFactory.j
ava:160)
at org.neo4j.kernel.impl.store.StoreFactory.openAllNeoStores(StoreFactor
y.java:124)
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageE
ngine.<init>(RecordStorageEngine.java:200)
at org.neo4j.kernel.NeoStoreDataSource.buildStorageEngine(NeoStoreDataSo
urce.java:574)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:434
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:37:34.183+0000 INFO Neo4j Server shutdown initiated by request
From online research, it seemed it (#dbms.allow_format_migrations=true) was a depreciated config option. I then went to the A.1. Configuration settings at https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ and from what I could make out there it seemed (my own conclusion) I could just uncomment dbms.allow_upgrade in place of dbms.allow_format_migrations (which was not available/ now depreciated) but I get below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:42:32.958+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:42:33.031+0000 INFO Starting...
2018-08-24 03:42:36.413+0000 INFO Initiating metrics...
2018-08-24 03:42:36.787+0000 INFO Starting upgrade of database
2018-08-24 03:42:36.807+0000 ERROR Failed to start Neo4j: Starting Neo4j failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#759fad4' was suc
cessfully initialized, but failed to start. Please see the attached cause except
ion "Not possible to upgrade a store with version 'v0.A.3' to current store vers
ion `v0.A.9` (Neo4j 3.4.6).". Starting Neo4j failed: Component 'org.neo4j.server
.database.LifecycleManagingDatabase#759fad4' was successfully initialized, but f
ailed to start. Please see the attached cause exception "Not possible to upgrade
a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6)."
.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#759fad4' was successfully initial
ized, but failed to start. Please see the attached cause exception "Not possible
to upgrade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo
4j 3.4.6).".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#759fad4' was successfully initialized,
but failed to start. Please see the attached cause exception "Not possible to up
grade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4
.6).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#cf65451' was successfully initialized, but failed to st
art. Please see the attached cause exception "Not possible to upgrade a store wi
th version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradin
gStoreVersionException: Not possible to upgrade a store with version 'v0.A.3' to
current store version `v0.A.9` (Neo4j 3.4.6).
at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradea
ble(UpgradableDatabase.java:122)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateStore(Store
Upgrader.java:141)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(St
oreUpgrader.java:122)
at org.neo4j.kernel.impl.storemigration.DatabaseMigrator.migrate(Databas
eMigrator.java:100)
at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.j
ava:564)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:419
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:42:36.810+0000 INFO Neo4j Server shutdown initiated by request
Then, I commented out the line 'dbms.allow_upgrade' and ran neo4j console again to start server on cmd and got below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:49:20.922+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:49:21.008+0000 INFO Starting...
2018-08-24 03:49:24.533+0000 INFO Initiating metrics...
2018-08-24 03:49:25.557+0000 ERROR Failed to start Neo4j: Starting Neo4j
failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#9cd25ff' was suc
cessfully initialized, but failed to start. Please see the attached cause except
ion "Unknown store version 'v0.A.3'". Starting Neo4j failed: Component 'org.neo4
j.server.database.LifecycleManagingDatabase#9cd25ff' was successfully initialize
d, but failed to start. Please see the attached cause exception "Unknown store v
ersion 'v0.A.3'".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#9cd25ff' was successfully initial
ized, but failed to start. Please see the attached cause exception "Unknown stor
e version 'v0.A.3'".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#9cd25ff' was successfully initialized,
but failed to start. Please see the attached cause exception "Unknown store vers
ion 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#7a11c4c7' was successfully initialized, but failed to s
tart. Please see the attached cause exception "Unknown store version 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: java.lang.IllegalArgumentException: Unknown store version 'v0.A.3'
at org.neo4j.kernel.impl.store.format.RecordFormatSelector.selectForVers
ion(RecordFormatSelector.java:101)
at org.neo4j.kernel.impl.store.NeoStores.verifyRecordFormat(NeoStores.ja
va:211)
at org.neo4j.kernel.impl.store.NeoStores.<init>(NeoStores.java:143)
at org.neo4j.kernel.impl.store.StoreFactory.openNeoStores(StoreFactory.j
ava:160)
at org.neo4j.kernel.impl.store.StoreFactory.openAllNeoStores(StoreFactor
y.java:124)
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageE
ngine.<init>(RecordStorageEngine.java:200)
at org.neo4j.kernel.NeoStoreDataSource.buildStorageEngine(NeoStoreDataSo
urce.java:574)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:434
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:49:25.563+0000 INFO Neo4j Server shutdown initiated by request
Please advise on way around this so I can work with the example dataset (and then carry forward to practice with other example datasets).
Thanks a loaded bunch for your time.
NOTE: I run a windows 7 OS machine; my version of neo4j is the trial neo4j-enterprise-3.4.6; I use cygwin terminal alongside cmd prompt to follow along with the book; I am a beginner programmer (I don't know much). Also, this Error while running Neo4j: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1) seemed similar but was not helpful (no answers there).
I think this issue was caused by version compatibility of neo4j.
See https://neo4j.com/developer/kb/store-format-versions/ .
And there are two solutions for this issue. One solution is downgrading the version of neo4j you used to 2.1.0. Another is upgrading your data manually to 0.A.8.
Good luck!

Neo4j 3.4 upgrade--DB not starting

After attempting to update to Neo4j 3.4 the DB fails to start. Here is the log:
WARNING: This command does not appear to be running with administrative rights. Some commands may fail e.g. Start/Stop
2018-05-23 16:17:25.306+0000 INFO ======== Neo4j 3.4.0 ========
2018-05-23 16:17:25.365+0000 INFO Starting... 2018-05-23
16:17:27.607+0000 INFO Initiating metrics... 2018-05-23
16:17:33.331+0000 INFO Sending metrics to CSV file at
C:\Users\miz9013\AppData\Roaming\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\metrics
2018-05-23 16:17:34.349+0000 INFO Bolt enabled on 127.0.0.1:11002.
2018-05-23 16:17:35.937+0000 ERROR Failed to start Neo4j: Starting
Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
Starting Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
org.neo4j.server.ServerStartupException: Starting Neo4j failed:
Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at
com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more Caused by: java.lang.RuntimeException: Error starting
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory,
C:\Users\miz9013\AppData\Roaming\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\data\databases\graph.db
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:212)
at
org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.(EnterpriseGraphDatabase.java:39)
at
org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(OpenEnterpriseNeoServer.java:78)
at
org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 5 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException:
Component 'org.neo4j.kernel.impl.proc.Procedures#787178b1' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)
... 9 more Caused by: java.lang.NoClassDefFoundError:
Lorg/neo4j/kernel/api/security/SecurityContext; at
java.lang.Class.getDeclaredFields0(Native Method) at
java.lang.Class.privateGetDeclaredFields(Class.java:2583) at
java.lang.Class.getDeclaredFields(Class.java:1916) at
org.neo4j.kernel.impl.proc.FieldInjections.setters(FieldInjections.java:90)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:290)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:242)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:90)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:78)
at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:323)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 11 more Caused by: java.lang.ClassNotFoundException:
org.neo4j.kernel.api.security.SecurityContext at
java.net.URLClassLoader.findClass(URLClassLoader.java:381) at
java.lang.ClassLoader.loadClass(ClassLoader.java:424) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at
java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 21 more
2018-05-23 16:17:35.951+0000 INFO Neo4j Server shutdown initiated by
request WARNING: This command does not appear to be running with
administrative rights. Some commands may fail e.g. Start/Stop
2018-05-23 19:10:38.733+0000 INFO ======== Neo4j 3.4.0 ========
2018-05-23 19:10:38.799+0000 INFO Starting... 2018-05-23
19:10:42.536+0000 INFO Initiating metrics... 2018-05-23
19:10:48.101+0000 INFO Sending metrics to CSV file at
C:\Users\miz9013\AppData\Roaming\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\metrics
2018-05-23 19:10:48.848+0000 INFO Bolt enabled on 127.0.0.1:11002.
2018-05-23 19:10:50.174+0000 ERROR Failed to start Neo4j: Starting
Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
Starting Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
org.neo4j.server.ServerStartupException: Starting Neo4j failed:
Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at
com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more Caused by: java.lang.RuntimeException: Error starting
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory,
C:\Users\miz9013\AppData\Roaming\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\data\databases\graph.db
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:212)
at
org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.(EnterpriseGraphDatabase.java:39)
at
org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(OpenEnterpriseNeoServer.java:78)
at
org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 5 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException:
Component 'org.neo4j.kernel.impl.proc.Procedures#787178b1' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)
... 9 more Caused by: java.lang.NoClassDefFoundError:
Lorg/neo4j/kernel/api/security/SecurityContext; at
java.lang.Class.getDeclaredFields0(Native Method) at
java.lang.Class.privateGetDeclaredFields(Class.java:2583) at
java.lang.Class.getDeclaredFields(Class.java:1916) at
org.neo4j.kernel.impl.proc.FieldInjections.setters(FieldInjections.java:90)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:290)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:242)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:90)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:78)
at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:323)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 11 more Caused by: java.lang.ClassNotFoundException:
org.neo4j.kernel.api.security.SecurityContext at
java.net.URLClassLoader.findClass(URLClassLoader.java:381) at
java.lang.ClassLoader.loadClass(ClassLoader.java:424) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at
java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 21 more
2018-05-23 19:10:50.176+0000 INFO Neo4j Server shutdown initiated by
request WARNING: This command does not appear to be running with
administrative rights. Some commands may fail e.g. Start/Stop
2018-05-23 19:11:19.679+0000 INFO ======== Neo4j 3.4.0 ========
2018-05-23 19:11:19.726+0000 INFO Starting... 2018-05-23
19:11:22.465+0000 INFO Initiating metrics... 2018-05-23
19:11:28.419+0000 INFO Sending metrics to CSV file at C:\\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\metrics
2018-05-23 19:11:29.145+0000 INFO Bolt enabled on 127.0.0.1:11002.
2018-05-23 19:11:31.478+0000 ERROR Failed to start Neo4j: Starting
Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
Starting Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext".
org.neo4j.server.ServerStartupException: Starting Neo4j failed:
Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
at
org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at
com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.server.database.LifecycleManagingDatabase#3af236d0' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more Caused by: java.lang.RuntimeException: Error starting
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory,
C:\Roaming\Neo4j
Desktop\Application\neo4jDatabases\database-5aba9bf6-8425-4e66-a065-6a5987cff891\current\data\databases\graph.db
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:212)
at
org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.(EnterpriseGraphDatabase.java:39)
at
org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(OpenEnterpriseNeoServer.java:78)
at
org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 5 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException:
Component 'org.neo4j.kernel.impl.proc.Procedures#787178b1' was
successfully initialized, but failed to start. Please see the attached
cause exception "org.neo4j.kernel.api.security.SecurityContext". at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)
... 9 more Caused by: java.lang.NoClassDefFoundError:
Lorg/neo4j/kernel/api/security/SecurityContext; at
java.lang.Class.getDeclaredFields0(Native Method) at
java.lang.Class.privateGetDeclaredFields(Class.java:2583) at
java.lang.Class.getDeclaredFields(Class.java:1916) at
org.neo4j.kernel.impl.proc.FieldInjections.setters(FieldInjections.java:90)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:290)
at
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:242)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:90)
at
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:78)
at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:323)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 11 more Caused by: java.lang.ClassNotFoundException:
org.neo4j.kernel.api.security.SecurityContext at
java.net.URLClassLoader.findClass(URLClassLoader.java:381) at
java.lang.ClassLoader.loadClass(ClassLoader.java:424) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at
java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 21 more
2018-05-23 19:11:31.482+0000 INFO Neo4j Server shutdown initiated by
request
One reason can be an incompatible version of a plugin like APOC, see GitHub repository of APOC for more information: https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/734

Neo4j: ERROR [o.n.k.i.DatabaseHealth] Database panic: The database has encountered a critical error, and needs to be restarted

The Neo4J service is failing with following error log, please help.
We are trying to configure Neo4j in one of our Dev Server to do some POCs, but after installation the Neo4j service is failing with following error.
2018-03-21 10:34:17.935+0000 ERROR [o.n.k.i.DatabaseHealth] Database panic: The database has encountered a critical error, and needs to be restarted. Please see database logs for more details. Failed to apply transaction: null
org.neo4j.kernel.api.exceptions.TransactionApplyKernelException: Failed to apply transaction: null
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:334)
at org.neo4j.kernel.recovery.DefaultRecoverySPI$RecoveryVisitor.visit(DefaultRecoverySPI.java:137)
at org.neo4j.kernel.recovery.DefaultRecoverySPI$RecoveryVisitor.visit(DefaultRecoverySPI.java:118)
at org.neo4j.kernel.recovery.Recovery.init(Recovery.java:128)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:406)
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:62)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:98)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:521)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126)
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:41)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at org.neo4j.server.CommunityEntryPoint.start(CommunityEntryPoint.java:42)
Caused by: java.io.IOException: Failed to flush label updates
at org.neo4j.kernel.impl.transaction.command.IndexBatchTransactionApplier.applyPendingLabelAndIndexUpdates(IndexBatchTransactionApplier.java:116)
at org.neo4j.kernel.impl.transaction.command.IndexBatchTransactionApplier.close(IndexBatchTransactionApplier.java:124)
at org.neo4j.kernel.impl.api.BatchTransactionApplierFacade.close(BatchTransactionApplierFacade.java:70)
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:331)
... 23 more
Caused by: java.util.concurrent.ExecutionException: org.neo4j.kernel.impl.store.UnderlyingStorageException: org.neo4j.index.internal.gbptree.TreeInconsistencyException: GSPP WRITE failure
Pointer state A: CRASH
Pointer state B: CRASH
Generations: A < B | GB+Tree[file:D:\NEO_HOME\data\databases\graph.db\neostore.labelscanstore.db, layout:LabelScanLayout[version:0.1, identifier:21483684112629824, keySize:10, valueSize:8], generation:7/9]
at org.neo4j.concurrent.WorkSync.checkFailure(WorkSync.java:182)
at org.neo4j.concurrent.WorkSync.access$100(WorkSync.java:49)
at org.neo4j.concurrent.WorkSync$1.await(WorkSync.java:132)
at org.neo4j.kernel.impl.transaction.command.IndexBatchTransactionApplier.applyPendingLabelAndIndexUpdates(IndexBatchTransactionApplier.java:112)
... 26 more
Thanks in advance.

neo4j starts and crashes instantly after update to 3.1.3

today I´ve updated my Neo4j Server (running on Ubuntu) from version 3.1.0 to 3.1.3! Everything works so far, so good.
After restarting my server, it crashes instantly. This happens everytime when I start/restart the server...
This is the part from the error log neo4.log
2017-05-01 15:18:30.896+0000 INFO Starting...
2017-05-01 15:18:31.950+0000 INFO Bolt enabled on localhost:7687.
2017-05-01 15:18:35.181+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#486c3088' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#486c3088' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#486c3088' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:227)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:91)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:68)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase#486c3088' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:199)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /var/lib/neo4j/data/databases/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:193)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:124)
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:57)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures#78b283fb' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:189)
... 9 more
Caused by: org.neo4j.kernel.api.exceptions.ProcedureException: Unable to register procedure, because the name `apoc.algo.betweenness` is already in use.
at org.neo4j.kernel.impl.proc.ProcedureRegistry.register(ProcedureRegistry.java:81)
at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:103)
at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:76)
at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:209)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
... 11 more
nohup: ignoring input
2017-05-01 15:19:58.689+0000 INFO Starting...
2017-05-01 15:19:59.725+0000 INFO Bolt enabled on localhost:7687.
2017-05-01 15:20:01.504+0000 ERROR Cannot register procedure AssertSchemaProcedure org.neo4j.kernel.api.proc.ProcedureSignature$Builder.mode(Lorg/neo4j/procedure/Mode;)Lorg/neo4j/kernel/api/proc/ProcedureSignature$Builder;
java.lang.NoSuchMethodError: org.neo4j.kernel.api.proc.ProcedureSignature$Builder.mode(Lorg/neo4j/procedure/Mode;)Lorg/neo4j/kernel/api/proc/ProcedureSignature$Builder;
at apoc.schema.AssertSchemaProcedure.signature(AssertSchemaProcedure.java:154)
at org.neo4j.kernel.impl.proc.ProcedureRegistry.register(ProcedureRegistry.java:53)
at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:103)
at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:76)
at apoc.ApocKernelExtensionFactory$ApocLifecycle.registerCustomProcedures(ApocKernelExtensionFactory.java:79)
at apoc.ApocKernelExtensionFactory$ApocLifecycle.start(ApocKernelExtensionFactory.java:67)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:86)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:189)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:124)
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:57)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:199)
Does anyone had this problem after updating Neo4j or can help me with "understanding" that error log?
Thanks in advance ;)
UPDATE
When I start Neo4j I´ll get this message:
Starting Neo4j.
Started neo4j (pid 28724). By default, it is available at http://localhost:7474/
/usr/share/neo4j/bin/neo4j: line 176: /usr/share/neo4j/logs /var/log/neo4j/neo4j.log: No such file or directory
There may be a short delay until the server is ready.
See /usr/share/neo4j/logs /var/log/neo4j/neo4j.log for current status.
I´ve highlighted the 'suspect' part, which doesn´t appear before updating...
This is the ultimate cause in your call stack:
Caused by: org.neo4j.kernel.api.exceptions.ProcedureException: Unable to register procedure, because the name `apoc.algo.betweenness` is already in use.
This type of exception, where an APOC procedure name is already in use, can be seen when you install a new APOC plugin .jar without removing an existing APOC .jar.
If this applies to you, delete the old APOC .jar and try starting neo4j again.

neo4j drwho dataset upgrade to 3.0 not working

I am trying to use the "Jim Webber’s Doctor Who Data Set" from http://neo4j.com/developer/example-data/ in my Mac OSX with Neo4j 3.0.1-community.
I am following these steps (doc is here):
download the zip data file into the import directory (for convenience), and rename it as graph.db.
set dbms.allow_format_migration=true in $NEO4J_HOME/conf/neo4j.conf
Import data using $NEO4J_HOME/bin/neo4j-admin import --mode=database --database=graph.db --from=$NEO4J_HOME/import/graph.db/
start neo4j server
The neo4j console doesn't start, with this error message:
bin/neo4j console
Starting Neo4j.
2016-06-15 09:24:11.371+0000 INFO Starting...
2016-06-15 09:24:12.084+0000 INFO Bolt enabled on localhost:7687.
2016-06-15 09:24:12.296+0000 INFO Starting upgrade of database
2016-06-15 09:24:12.315+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#51f07bf0' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#51f07bf0' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#51f07bf0' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:217)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:81)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:60)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase#51f07bf0' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /Users/miro/Documents/dev/neo4j/neo4j-community-3.0.1/data/databases/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108)
at org.neo4j.server.CommunityNeoServer.lambda$static$32(CommunityNeoServer.java:55)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource#7b464635' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:99)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
... 10 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: '/Users/miro/Documents/dev/neo4j/neo4j-community-3.0.1/data/databases/graph.db/neostore' has a store version 'v0.A.0' that we cannot upgrade from.
at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradeable(UpgradableDatabase.java:122)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:129)
at org.neo4j.kernel.impl.storemigration.DatabaseMigrator.migrate(DatabaseMigrator.java:98)
at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.java:554)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:433)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 15 more
Does anyeone know how to fix it? Has anyone managed to use the datasets in the doc?
Thank you!
Neo4j 3.0 allows direct upgrades from any cleanly shutdown Neo4j 2.x dataset. However the DrWho dataset you're referring to is from old days of Neo4j 1.9 (or even earlier). Due to this you need a two step upgrade process:
download Neo4j 2.3.3 (or any new 2.x release)
unpack the drwho.zip into data/graph.db
set allow_store_upgrade=true in conf/neo4j.properties
start the database and stop it gracefully
unpack neo4j 3.0.x
copy the data/graph.db from Neo4j 2.x to data/databases/graph.db
set dbms.allow_format_migration=true in conf/neo4j.conf
start up Neo4j 3.0.x

Resources