Hi,
I am trying to import data into neo4j database (4.0) since it supports multiple databases but it keeps failing. Below are the details for what I have done:
-
Using neo4j 4.0 docker image from here:
Docker -
After the database is up, creating a separate database :
:use system;
create database ; -
bash into the docker image, this also has mapped folders for import to the host machine which has the files I want to import. clear the directory of the new db I created and ran the import:
/rm -rf *
/neo4j-admin import --nodes=........
- Import shows completed successfully, i restart the docker image and try to start the database I get the following errors on the browser and checking the debug.log
on Browser- It says database Unavailable;
in debug.log -
Exception occurred while starting the database. Trying to stop already started components. Mismatching store id. Store StoreId: StoreId{creationTime=1582552073402, randomId=5744980951625476795, storeVersion=3471765337752883975, upgradeTime=1582552073402, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1582544453264, randomId=7264651733398951384, storeVersion=3471765337752883975, upgradeTime=1582544453264, upgradeTxId=1}
java.lang.RuntimeException: Mismatching store id. Store StoreId: StoreId{creationTime=1582552073402, randomId=5744980951625476795, storeVersion=3471765337752883975, upgradeTime=1582552073402, upgradeTxId=1}. Transaction log StoreId: StoreId{creationTime=1582544453264, randomId=7264651733398951384, storeVersion=3471765337752883975, upgradeTime=1582544453264, upgradeTxId=1}
at org.neo4j.kernel.recovery.Recovery.validateStoreId(Recovery.java:
Any help is appreciated. I am stuck at this step. These are steps that used to work fine on version 3.* but I believe there must be some extra steps I am missing for version 4 and the neo4j docs does not help much with this if your setup is in a docker image.