I recently tried upgrading from 3.5.18 CE to 4.2.1 CE to take advantage of the latest GDS and APOC versions and am experiencing the following issue:
When experimenting with an ETL process, I regularly drop all the data in the neo4j database and reload fresh data into it. In 3.5 this was possible by clearing the data/databases/graph.db directory and running neo4j-admin import on a group of csv files. I do this because neo4j-admin import seems to be much faster than using queries, via API or natively - the constellation of CSV's is also quite complex and the admin import statement gets generated automatically
When doing the same with neo4j 4.2.1 this is no longer working - according to the CLI where the command is run, the import succeeds, however, when trying to browse the database :use neo4j throws a "database is offline" error.
I'm running exactly the same commands, only with the addition of --database neo4j to import it into the default database.
The only way it works is by deleting the entire neo4j directory and 'reinstalling' it, then running import before first login After the default password is changed upon first login, if data gets updated I get the database is offline error. I've tried START DATABASE, but the response is that the admin command is unsupported, guessing this is because it's CE.
The environment is Windows 10.