Okay, so you copied a 2.0.0 store, but the stack trace reveals that all your 
jar files are for version 1.9.5.
Obviously 1.9.5 don't know how to deal with a 2.0.0 store.

--
Chris Vest
System Engineer, Neo Technology
[ skype: mr.chrisvest, twitter: chvest ]


On 20 Feb 2014, at 17:08, Ben Titmarsh <[email protected]> wrote:

> Well this is the odd thing, the live instance is running on 2.0.0 so it 
> shouldn't even require an upgrade..?
> 
> On Thursday, February 20, 2014 4:06:35 PM UTC, Chris Vest wrote:
> Since you copied it form a running 1.9.5 instance, you could put it in a 
> local 1.9.5, start it up and let it do recovery on the store, then shut that 
> down cleanly, and then copy the clean store to 2.0.1 for upgrading.
> 
> --
> Chris Vest
> System Engineer, Neo Technology
> [ skype: mr.chrisvest, twitter: chvest ]
> 
> 
> On 20 Feb 2014, at 16:53, Ben Titmarsh <[email protected]> wrote:
> 
>> 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 <[email protected]> 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 [email protected].
>>> 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 [email protected].
>> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to