cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Admin Import failing for neo4j v4.0

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:

  1. Using neo4j 4.0 docker image from here:
    https://hub.docker.com/_/neo4j

  2. After the database is up, creating a separate database :
    :use system;
    create database ;

  3. 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=........

  1. 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.

2 REPLIES 2

Never Mind.. Found what I was doing wrong!!

what was going wrong? People tend to google these kinds of errors, so please post what you did, so that future searchers can find!