Neo4j 3.0 - Unable to fetch data from older version (2.3.2) database -
my older database version 2.3.2. there created database , inserted nodes , relationships.
now, upgraded 3.0 version , restarted neo4j server. changed the
dbms.active_directory = xyz_path
but unable fetch data db now.
is there more configurations or specific changes need access database.
edited error while using migrating config files:
[root@enteras02 tools]# java -jar config-migrator.jar path/to/neo4j2.3 path/to/neo4j3.0
exception in thread "main" java.lang.unsupportedclassversionerror: org/neo4j/config/configmigrator : unsupported major.minor version 52.0 @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:803) @ java.security.secureclassloader.defineclass(secureclassloader.java:142) @ java.net.urlclassloader.defineclass(urlclassloader.java:449) @ java.net.urlclassloader.access$100(urlclassloader.java:71) @ java.net.urlclassloader$1.run(urlclassloader.java:361) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) @ sun.launcher.launcherhelper.checkandloadmain(launcherhelper.java:482)
the value of dbms.active_database
(not dbms.active_directory
, not documented) supposed name of database directory (not path) under $neo4j_home/data/databases/
directory. example: "my_old_graph.db".
so, move old database under $neo4j_home/data/databases/
directory, , set dbms.active_database
name.
in addition, @christophewillemsen said, have set dbms.allow_format_migration=true
tell neo4j upgrade new major version.
Comments
Post a Comment