Search code examples
neo4jversionupgrade

Can I upgrade Neo4j from version 4.2.4 straight to version 4.4.26?


I have neo4j Community edition installed on Windows, currently version 4.2.4 and need to upgrade it. The neo4j documentation suggests 4.2 -> 4.3 -> 4.4 but the only version 4 available to download is now 4.4.26

The upgrade instructions are the same, can I just follow them but jump from 4.2 to 4.4?

https://neo4j.com/docs/upgrade-migration-guide/current/version-4/understanding-upgrades-migration/


Solution

  • I frequently use neo4j-admin copy to migrate databases, and it works really well.

    It recreates a fresh copy of your existing DB into the target format of the new Neo4j version.

    There is a tutorial describing how to use it to migrate from 3.5 to 4.x. That works the same way for 4.2 to 4.4 : https://neo4j.com/docs/upgrade-migration-guide/current/version-4/tutorials/online-backup-copy-database/

    Update: this ^^ works only for with the enterprise edition. With the community edition, you can upgrade 4.2 -> 4.3 -> 4.4 using a 4.3 community version downloadable here.