Hey all,
Running into a frustrating issue on neo4j 4.2.1 Community Edition on Ubuntu 20.04.1. I will be needing to use the neo4j-admin import tool for larger files, and have been attempting to follow the instructions
in the tutorial here:
I stopped neo4j, and deleted the existing neo4j database (/var/lib/neo4j/data/databases/neo4j). I have also tried deleting /var/lib/neo4j/transactions/neo4j as suggested in this recent thread.
I then followed all instructions in the tutorial, and the import appears to complete successfully. However, when I attempt to start neo4j and then load the database in the browser, I run into the following:
Database "neo4j" is unavailable, its status is "offline."
I have tried switching to system and running
create database neo4j
as suggested here, but receive:
Unsupported administration command: CREATE DATABASE Neo4j
One potential issue is that the tutorial recommends using /bin/neo4j start
, which I understand is now not recommended with sudo systemctl start neo4j
being preferred, but neither seem to make a difference for me. I have also tried changing the owner of the newly created database (in databases and in transactions) to user neo4j, but that doesn't help either.
I've also tried doing all of the above with a fresh install of neo4j. Actually, when I do this, the first time I start neo4j, I can see the neo4j database on the very first try, but none of the data is loaded as expected. If I stop and start it again, the offline issue occurs.
Any advice would be greatly, appreciated, I don't know what to try next.
Thanks