Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation step 3, post-import update #16

Open
zenonp opened this issue Mar 14, 2023 · 0 comments
Open

Documentation step 3, post-import update #16

zenonp opened this issue Mar 14, 2023 · 0 comments

Comments

@zenonp
Copy link

zenonp commented Mar 14, 2023

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant