Paul,

Did you try to upgrade to 1.2, then to 1.3 and then to 1.4 before going from
the 1.1 straight to the 1.4?

Regards

2011/7/5 Paul A. Jackson <[email protected]>

> I have a neo4j 1.1 graph that I tried opening with 1.4M5. I had a
> configuration that contained allow_store_upgrade=true:
> [15] = {java.util.HashMap$Entry@12374} allow_store_upgrade -> true
>   key: java.lang.String = {java.lang.String@12376}"allow_store_upgrade"
>   value: java.lang.String = {java.lang.String@12380}"true"
>
> And I get this exception:
> jvm 1    | Caused by: org.neo4j.graphdb.TransactionFailureException: Could
> not create data source [nioneodb], see nested
> exception for cause of error
> jvm 1    |      at
> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:153)
> jvm 1    |      at
> org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:111)
> jvm 1    |      at
> org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:189)
> jvm 1    |      at
> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:79)
> jvm 1    |      at
> com.g1.dcg.graph.neo4j.NeoGraph.<init>(NeoGraph.java:118)
> jvm 1    |      ... 12 more
> jvm 1    | Caused by:
> org.neo4j.kernel.impl.nioneo.store.IllegalStoreVersionException: Store
> version [NeoStore v0.9.5].
> Please make sure you are not running old Neo4j kernel on a store that has
> been created by newer version of Neo4j.
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.store.NeoStore.versionFound(NeoStore.java:431)
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.store.AbstractStore.loadStorage(AbstractStore.java:147)
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstractStore.java:170)
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java:120)
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:65)
> jvm 1    |      at
> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.<init>(NeoStoreXaDataSource.java:132)
> jvm 1    |      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> jvm 1    |      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> jvm 1    |      at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> jvm 1    |      at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> jvm 1    |      at
> org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:75)
> jvm 1    |      at
> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:147)
> jvm 1    |      ... 16 more
>
> My main question is whether this is supported or I am doing something
> wrong. I don't really need to support the upgrade of version 1.1 databases,
> but I want to make sure my code is correct so that I will be able to support
> upgrades in the future.
>
> Thanks.
>
> Paul Jackson
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Adriano Almeida
Caelum | Ensino e Inovação
www.caelum.com.br
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to