Re: [Neo4j] Unable to upgrade neostore
I did not. If this is what is required then you have answered my question. Thanks. -Paul -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Adriano Henrique de Almeida Sent: Tuesday, July 05, 2011 10:59 PM To: Neo4j user discussions Subject: Re: [Neo4j] Unable to upgrade neostore 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 > 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.(EmbeddedGraphDbImpl.java:189) > jvm 1| at > org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:79) > jvm 1| at > com.g1.dcg.graph.neo4j.NeoGraph.(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.(CommonAbstractStore.java:170) > jvm 1| at > org.neo4j.kernel.impl.nioneo.store.AbstractStore.(AbstractStore.java:120) > jvm 1| at > org.neo4j.kernel.impl.nioneo.store.NeoStore.(NeoStore.java:65) > jvm 1| at > org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.(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 > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Adriano Almeida Caelum | Ensino e Inovação www.caelum.com.br ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Unable to upgrade neostore
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 > 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.(EmbeddedGraphDbImpl.java:189) > jvm 1| at > org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:79) > jvm 1| at > com.g1.dcg.graph.neo4j.NeoGraph.(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.(CommonAbstractStore.java:170) > jvm 1| at > org.neo4j.kernel.impl.nioneo.store.AbstractStore.(AbstractStore.java:120) > jvm 1| at > org.neo4j.kernel.impl.nioneo.store.NeoStore.(NeoStore.java:65) > jvm 1| at > org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.(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 > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Adriano Almeida Caelum | Ensino e Inovação www.caelum.com.br ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Unable to upgrade neostore
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.(EmbeddedGraphDbImpl.java:189) jvm 1 | at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:79) jvm 1 | at com.g1.dcg.graph.neo4j.NeoGraph.(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.(CommonAbstractStore.java:170) jvm 1 | at org.neo4j.kernel.impl.nioneo.store.AbstractStore.(AbstractStore.java:120) jvm 1 | at org.neo4j.kernel.impl.nioneo.store.NeoStore.(NeoStore.java:65) jvm 1 | at org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.(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 User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user