neo4j 单机部署出现不能重启的情况 No label index found, this might just be first use. Preparing to rebuild.
发布于 7 个月前 作者 vincent 263 次浏览 来自 问答

以下是报错日志的一部分

2021-03-03 02:14:11.563+0000 INFO  [o.n.i.i.l.LabelScanStore] [neo4j/794016ed] No label index found, this might just be first use. Preparing to rebuild.
2021-03-03 02:14:11.569+0000 INFO  [o.n.k.a.DatabaseAvailabilityGuard] [neo4j/794016ed] Requirement `Database unavailable` makes database neo4j unavailable.
2021-03-03 02:14:11.569+0000 INFO  [o.n.k.a.DatabaseAvailabilityGuard] [neo4j/794016ed] DatabaseId{794016ed[neo4j]} is unavailable.
2021-03-03 02:14:11.590+0000 WARN  [o.n.k.i.s.MetaDataStore] [neo4j/794016ed] Missing counts store, rebuilding it.
2021-03-03 02:14:11.590+0000 WARN  [o.n.k.i.s.MetaDataStore] [neo4j/794016ed] Counts store rebuild completed.
2021-03-03 02:14:11.592+0000 INFO  [o.n.i.i.l.LabelScanStore] [neo4j/794016ed] Rebuilding label index, this may take a while
2021-03-03 02:14:11.594+0000 INFO  [o.n.i.i.l.LabelScanStore] [neo4j/794016ed] Label index rebuilt (roughly 0 nodes)
2021-03-03 02:14:11.594+0000 INFO  [o.n.k.a.DatabaseAvailabilityGuard] [neo4j/794016ed] Fulfilling of requirement 'Database unavailable' makes database neo4j available.
2021-03-03 02:14:11.594+0000 INFO  [o.n.k.a.DatabaseAvailabilityGuard] [neo4j/794016ed] DatabaseId{794016ed[neo4j]} is ready.
2021-03-03 02:14:12.558+0000 INFO  [o.n.k.a.p.GlobalProcedures] Called db.clearQueryCaches(): Query cache already empty.
2021-03-03 02:14:12.568+0000 INFO  [o.n.m.DatabaseHealth] [neo4j/794016ed] Database health set to OK
2021-03-03 02:14:12.609+0000 INFO  [o.n.b.BoltServer] Bolt enabled on 0.0.0.0:7687.
2021-03-03 02:14:12.609+0000 INFO  [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Starting web server
2021-03-03 02:14:13.402+0000 INFO  [o.n.s.CommunityNeoWebServer] Remote interface available at http://localhost:7474/
2021-03-03 02:14:13.402+0000 INFO  [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Web server started.

目前指定了新的空 data目录可以启动,旧的数据目录截图如下:显示有一个 corrupted-transaction-db image.png

1 回复

你是老版本data文件复制到新版本neo4j下运行? 那样版本不兼容的,需要老版本导出,然后新版本导入

回到顶部