Ah that could well be the problem! I've asked my live db admin for a new dump from a cleanly shutdown instance. In the mean time is it possible for me to twiddle a file anywhere to use the version that I've been given (presumably from a running instance)?
On Thursday, February 20, 2014 3:37:35 PM UTC, Chris Vest wrote: > > Neo4j cannot upgrade stores that have not been cleanly shut down, because > the store recovery mechanism is version specific. Could that be the problem? > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 20 Feb 2014, at 15:48, Ben Titmarsh <benti...@gmail.com <javascript:>> > wrote: > > Hi Guys, > > I've been running by Neo 2.0.0 server fine locally until I replaced the > graph.db folder with a dump from my live app (also running 2.0.0) since > then when try to start the server with neo4j console I get: > > WARNING: Max 256 open files allowed, minimum of 40 000 recommended. See > the Neo4j manual. > Starting Neo4j Server console-mode... > Using additional JVM arguments: -server -XX:+DisableExplicitGC > -Dorg.neo4j.server.properties=conf/neo4j-server.properties > -Djava.util.logging.config.file=conf/logging.properties > -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC > -XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew > -Djava.awt.headless=true > 2014-02-20 14:47:08.017+0000 INFO [API] Setting startup timeout to: > 120000ms based on -1 > 2014-02-20 14:47:08.518+0000 DEBUG [API] Failed to start database. > 2014-02-20 14:47:08.523+0000 DEBUG [API] > org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: > org.neo4j.kernel.lifecycle.LifecycleException: Component > 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@7ffe35d2' was > successfully initialized, but failed to start. Please see attached cause > exception. > at > org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) > ~[neo4j-server-1.9.5.jar:1.9.5] > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) > [neo4j-server-1.9.5.jar:1.9.5] > at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) > [neo4j-server-1.9.5.jar:1.9.5] > Caused by: java.lang.RuntimeException: > org.neo4j.kernel.lifecycle.LifecycleException: Component > 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@7ffe35d2' was > successfully initialized, but failed to start. Please see attached cause > exception. > at > org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:284) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:106) > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:88) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:207) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.server.database.CommunityDatabase.start(CommunityDatabase.java:54) > ~[neo4j-server-1.9.5.jar:1.9.5] > at > org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:168) > ~[neo4j-server-1.9.5.jar:1.9.5] > ... 2 common frames omitted > Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component > 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@7ffe35d2' was > successfully initialized, but failed to start. Please see attached cause > exception. > at > org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104) > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:262) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > ... 7 common frames omitted > Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component > 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@2ddaed02' was > successfully initialized, but failed to start. Please see attached cause > exception. > at > org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104) > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.impl.transaction.XaDataSourceManager.start(XaDataSourceManager.java:128) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > ... 9 common frames omitted > Caused by: > org.neo4j.kernel.impl.storemigration.UpgradeNotAllowedByConfigurationException: > > Failed to start Neo4j with an older data store version. To enable automatic > upgrade, please set configuration parameter "allow_store_upgrade=true" > at > org.neo4j.kernel.impl.storemigration.ConfigMapUpgradeConfiguration.checkConfigurationAllowsAutomaticUpgrade(ConfigMapUpgradeConfiguration.java:39) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.impl.storemigration.StoreUpgrader.attemptUpgrade(StoreUpgrader.java:66) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.impl.nioneo.store.StoreFactory.tryToUpgradeStores(StoreFactory.java:113) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.impl.nioneo.store.StoreFactory.newNeoStore(StoreFactory.java:96) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.start(NeoStoreXaDataSource.java:240) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > at > org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491) > > ~[neo4j-kernel-1.9.5.jar:1.9.5] > ... 12 common frames omitted > 2014-02-20 14:47:08.525+0000 DEBUG [API] Failed to start Neo Server on > port [7474] > > So I set allow_store_upgrade=true in neo4j.properties (uncommented it) but > still the problem persists. I even downloaded neo4j 2.0.1 and started it > cold (without copying graph.db over) and I get the same exception. I > notice that the server is using kernel 1.9.5, is this of an relevance? > > java version "1.7.0_51" > Java(TM) SE Runtime Environment (build 1.7.0_51-b13) > Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) > > Any help much appreciated! > > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to neo4j+un...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.