Skip to content

Documentation step 3, post-import update #16

@zenonp

Description

@zenonp

The part from "Then, start the Neo4J shell...:" up to and including "$NEO4J_HOME/bin/neo4j start" is outdated. The correct procedure with neo4j-4.4 and later is

If you did not run the import as user:group neo4j, fix db ownership:
chown -R neo4j:neo4j $NEO4J_HOME/data

Start the database:
systemctl start neo4j # or whatever is applicable on your system

Open a cypher shell:
cypher-shell -d <your_database> -u neo4j

and create the following uniquness constraints:
CREATE CONSTRAINT FOR (a:Address) REQUIRE a.address IS UNIQUE;
CREATE CONSTRAINT FOR (o:Output) REQUIRE o.txid_n IS UNIQUE;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions