Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-01-2019 03:54 AM
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:
My questions:
05-01-2019 01:38 PM
How big is your graph?
3.x introduced many new changes and it may be easier & faster to just start on a fresh install and migrate your data from the 2.x instance to a 3.x instance.
05-01-2019 03:19 PM
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!
Question 1
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.
Question 3:
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.
Cheers,
-Ryan
05-02-2019 06:22 AM
So go through the 2.1.x series first? And then follow the route you mapped in #3 ?
I'll give it a shot. TY.
05-03-2019 04:49 PM
Had some reasonable success going
2.1.4->2.1.8->3.5.5
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
.db/schema/index/lucene-1.0/838/spatial-1.0/1-4326]
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.
05-05-2019 06:31 PM
It's quite likely the product of not going through the supported upgrade path (to handle index format changes that have happened). Following the documentation, the path I mentioned is the one officially supported.
Have you tried just removing the index and recreating it?
Cheers,
-Ryan
01-27-2022 04:40 AM
Hi,
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:
/var/lib/neo4j/conf/neo4j-server.properties
09-28-2019 02:19 AM
Hi Getting the same error, on docker image of Neo4j 3.4.10. Any solution to fix this ?
03-08-2022 12:32 AM
Hi,
three years later I am having the same problem. I cannot even go sequentially from 4.2.1 to 4.2.2. Has anyone proposed a solution? Thanks.
All the sessions of the conference are now available online