neo4j 在尝试协调数据库时遇到错误

neo4j encountered error when attempting to reconcile database

我正在将 3.5.14 换成 4.1.0,EE 试用版。这不是真正的升级;我完全删除了数据库目录,并使用 neo4j-admin 导入 csv 导入了我的顶点和边。 import 运行 很好,一如既往。但是在启动服务后,我在 debug.log 文件中收到以下错误:

2020-07-01 18:12:54.517+0000 WARN [c.n.d.DbmsReconciler] Reconciler triggered but the following databases are currently failed and may be ignored: [neo4j]. Run `SHOW DATABASES` for further information.
2020-07-01 18:12:54.518+0000 INFO [c.n.d.DbmsReconciler] Database neo4j is requested to transition from EnterpriseDatabaseState{databaseId=DatabaseId{b1fac61d[neo4j]}, operatorState=STOPPED, failed=true} to EnterpriseDatabaseState{databaseId=DatabaseId{b1fac61d[neo4j]}, operatorState=STARTED, failed=false}
2020-07-01 18:12:54.518+0000 ERROR [c.n.d.DbmsReconciler] Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{b1fac61d[neo4j]}, operatorState=STOPPED, failed=true}' to state 'online' An error occurred! Unable to start database with name `neo4j`.

成功创建“系统”数据库后会发生这种情况。

事件顺序:

yum install of 4.1.0 per instructions.
Change out of neo4j.conf with new version, updated to the connectors for my single instance system.
Created the neo4j admin password.
Removed the contents of the old versions of the epoc jar files from the plugins directory.
Imported the data
Started the database getting the error.  Otherwise the web portal is accessible, though the neo4j db is not.

可以采取哪些不同的方式来实现此功能?

可能您只需要取消注释 neo4j.conf 中的这一行,因为数据库需要从 3.x 版本升级到 4.x。

dbms.allow_upgrade=true