升级后启动neo4j时出错

时间:2016-04-12 11:23:23

标签: neo4j

我在Ubuntu VM上使用neo4j社区版,并且在我遇到问题时昨天更新了软件。具体来说,我无法启动服务器。我对配置文件进行了更改以允许更新,但正如您在第二组消息中看到的那样,此过程中出现了问题。

有人能否对下面的错误消息有所了解?此外,消息一直引用“附加原因异常”在哪里?

TYIA。

Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@5b2894f8' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:462)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
        at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:112)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:139)
        ... 10 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: '/var/lib/neo4j/data/graph.db/neostore.nodestore.db' has a store version number that we cannot $$annot upgrade from. Expected 'v0.A.3' but file is version '^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@'.
        at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradeable(UpgradableDatabase.java:96)
        at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:149)
        at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.java:636)
        at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:527)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
        ... 15 more

1 个答案:

答案 0 :(得分:0)

看起来它知道db是与客户端不同的版本(因此是“升级”的东西)。配置文件中有一个标志,用于控制是否进行升级。

您的选择是:

  • 回滚SW升级
  • 通过更改配置设置
  • 启用软件升级数据库