# Migrate database 4.2.5 to 2.0.5 desktop

**URL:** <https://community.neo4j.com/t/migrate-database-4-2-5-to-2-0-5-desktop/75616>\
**Category:** Neo4j Graph Platform\
**Created:** [October 6, 2025, 7:15pm UTC](https://community.neo4j.com/t/migrate-database-4-2-5-to-2-0-5-desktop/75616 "2025-10-06T19:15:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cousinvincent](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/cousinvincent/32/33985_2.png) [@cousinvincent](https://community.neo4j.com/u/cousinvincent)\
**Post date:** [October 6, 2025, 7:15pm UTC](https://community.neo4j.com/t/migrate-database-4-2-5-to-2-0-5-desktop/75616/1 "2025-10-06T19:15:29Z")

</div>

I have developed since a few years a database under Desktop 4.2.5 which has now over 7 000 nodes and 15 000 relationships.

I am changing my computer and have now installed the newest version 2.0.5 of Ne4j Desktop and have tried to restore my database from a dump file created from the application Desktop 4.2.5 of my previous computer.

Under Neo4j Desktop 2.0.5 (under Ubuntu 24.04.3 LTS), I followed the procedure to stop the instance I just created and from the … menu in the instance I selected the instance load database from file which is said that it supports also .dump files and selected the dump file in the directory home/…./dbmss/dbms-xxx. I received an error message saying the request cannot be executed. I then opened a terminal at dbms-xxx level where I typed the following instruction bin/neo4j-admin database load \<nameoffile.dump\> --from-path= –overwrite-destination=true –verbose. The error message is “JAVA\_HOME is not defined correctly. We cannot execute.”

I since read in another part of the doc that the versions 4.2.5 and 2.0.5 are not compatible. Then I tried to upgrade in the same Desktop from 4.2.5 to 5.15 since I read in the menu of 2.0.5 that I could select up to down 5.15. From another topic I read that I should enable the instruction dbms.allow\_upgrade=true in the neo4j.conf file in the subdirectory conf. I did it but unfortunately after importing the dump file into the instance apparently correctly when starting the base I obtained the message Database 'neo4j' is unavailable and after running :sysinfo

| Databases |
| --- |
| **Name** |
| neo4j |
| system |

| | and Call to dbms.queryJmx failed |
| --- | --- |

Can anyone help me?

With many thanks in advance.

Vincent
