Cannot upgrade Neo4j from 4.4.4 to 5.8.0

Trying to run neo4j console with latest 5.8.0 getting below:

Caused by: org.neo4j.kernel.impl.storemigration.UnableToMigrateException: The selected target store format 'AF4.3.0' (introduced in 4.3.0) is no longer supported

How are you doing the migrations? You can check out the migration guide: Neo4j v5 upgrade and migration - Upgrade and Migration Guide

Thanks for your reply!

Doing community edition migration in windows system.

Document is so confusing to follow as I'm doing this for first time.

Could you please make it easier for me?

You may like to check Prepare for your migration - Upgrade and Migration Guide.

I guess you are missing the neo4j-admin database migrate step

I did completed these
and got database migration successful message.

But still I'm getting this error when I run $bin/neo4j console

How are you trying to restore/load the database into the new Neo4j v.5.8 setup?

You need to restore the db:

neo4j-admin database restore --from-path=<path_to_backup> db_name

and also run the index migration:

neo4j-admin database migrate db_name --force-btree-indexes-to-range

before you try to start the dbms.

Hello,
I followed below steps:

neo4j-admin database dump --to-path=<DUMP_FOLDER_PATH> db_name

neo4j-admin database load --from-path=<DUMP_FOLDER_PATH> db_name

neo4j-admin database migrate --force-btree-indexes-to-range

After all these I run > neo4j-admin database info db_name and got below:

Database name:                my_db_name
Database in use:              false
Store format version:         record-standard-1.1
Store format introduced in:   5.0.0
Last committed transaction id:15235
Store needs recovery:         false

Earlier it was showing:

Database name:                my_db_name
Database in use:              false
Store format version:         record-standard-0.1
Store format introduced in:   4.3.0
Store format superseded in:   5.0.0
Last committed transaction id:15234
Store needs recovery:         false

Are these right or anything wrong which I'm doing?

As the store format has changed to 5.0.0, the database is created. Open system database and run CREATE DATABASE my_db_name. Run this query, SHOW DATABASE and check to see your db name with active status.

@ameyasoft Neo4j Server Page itself not loading- Getting unable to connect!

Where do I run these CREATE and SHOW queries?

Hello, Any more help on this please?