Recently inherited a 2.1.4 install of neo and looking to upgrade to latest greatest. It appears that I need to move it stepwise through the 2.x versions before I can get to 3.x though.
Have taken a copy of the existing "graph.db" folder and am trying to bring it up in 2.3.1. The following error code appears when I start (with "allow_store_upgrade=true"):
<path>/neostore.nodestore.db' has a store version number that we cannot upgrade from. Expected 'v0.A.3' but file is version ''.
The backup was taken from the current working system by:
We generally enable compatibility to upgrade from the latest in any given version to the next. However, you have a really really old release you inherited!
Cannot go directly from 2.1.4 to 2.3.x-- you'll need to go through the latest in the 2.1 series. No need to go to 2.2.
Looks like you can go from:
2.1.4 -> 2.1.latest (looks like 2.1.8)
2.1.8 -> 2.3.12 (doc: https://neo4j.com/docs/2.3.12/deployment-upgrading.html)
2.3.12 -> 3.3.9 (doc: https://neo4j.com/docs/operations-manual/3.3/upgrade/planning/)
3.3.9 -> 3.5.5 (doc: https://neo4j.com/docs/operations-manual/current/upgrade/planning/)
Question 2: Backup and restore is available on enterprise (and backups are a good way to do upgrades there), but not on community. The way you mentioned is the best way to do it on community.
Had some reasonable success going
Post upgrade I ran into this message though:
Failed to open index:838. Requesting re-population. Index is not fully initialized since it's missing the meta page | GBPTree[file:/usr/local/src/neodata/databases/graph
Is this a byproduct of failed upgrade?
NOTE: to get from 2.1.8 -> 3.5.5 I used the
neo4j-admin import --mode=database command.
When using the: java -jar 2.x-config-migrator.jar /neo4j/2.3 /neo4j/3.4
is this the actual path or there's a path I need to point it to?
Because when I use this line I get the error message
WARNING: No server config file found. Attempting to convert without it: