这是我收到的错误。Neo4j - 从2.2.5升级到2.3.0后无法启动
数据库为空,没有graph.db目录。
所有的服务器属性文件与用于版本2.2.5的文件相同。
这里的console.log的内容:
15:56:31.972 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
2015-10-26 15:56:33.932+0000 INFO Successfully shutdown Neo4j Server
2015-10-26 15:56:33.934+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.d
[email protected]' was successfully initialized, but failed to start. Please see atta
ched cause exception. Starting Neo4j failed: Component '[email protected]
a005fb' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.Lifecycle
[email protected]' was successfully initialized, but failed to start. Please see attached cause except
ion.
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.ja
va:67)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:234)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:100)
at org.neo4j.server.CommunityBootstrapper.start(CommunityBootstrapper.java:48)
at org.neo4j.server.CommunityBootstrapper.main(CommunityBootstrapper.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagi
[email protected]' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:538)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:109)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:194)
... 3 more
Suppressed: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFa
ctory, /var/lib/neo4j/data/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFacto
ry.java:143)
at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:
43)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFacto
ry.java:108)
at org.neo4j.server.CommunityNeoServer$1.newGraphDatabase(CommunityNeoServer.java:66)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:95
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:528)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.Recover
[email protected]' failed to initialize. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:510)
这里有什么问题?
你是否在neo4j.properties中激活了'allow_store_upgrade'配置? 我有一些东西在data/graph.db/messages.log? – logisima
文件夹graph.db不存在: Ubuntu的@ IP-10-92-135-77:〜/数据/ Neo4j的数据$ LS -lrt 共0 该参数allow_store_upgrade设置为true: #启用此以便能够从旧版本升级商店。 allow_store_upgrade = true – LDB