运行 Neo4j 时出错:无法将版本“v0.A.9"的商店升级到当前的商店版本“v0.A.8"(Neo4j 3.3.1) [英] Error while running Neo4j: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1)

查看:59
本文介绍了运行 Neo4j 时出错:无法将版本“v0.A.9"的商店升级到当前的商店版本“v0.A.8"(Neo4j 3.3.1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行 neo4j 3.3.1,但出现以下错误:

I am trying to run neo4j 3.3.1 while I am getting the following error:

2018-05-29 08:43:36.805+0000 INFO  Starting upgrade of database
2018-05-29 08:43:36.815+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
    at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)
    ... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /home/ubuntu/.ineo/instances/staging1/data/databases/graph.db
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126)
    at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58)
    at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@60129b9a' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:100)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)
    ... 9 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).
    at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradeable(UpgradableDatabase.java:122)
    at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:132)
    at org.neo4j.kernel.impl.storemigration.DatabaseMigrator.migrate(DatabaseMigrator.java:101)
    at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.java:573)
    at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:435)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 14 more
2018-05-29 08:43:36.819+0000 INFO  Neo4j Server shutdown initiated by request

我使用 neo4j-admin 导入命令生成了我的 graph.db.我还按照日志的建议更改了 dbms.allow_upgrade=true.这里有什么问题,我应该如何处理?

I generated my graph.db using neo4j-admin import command. I also changed the dbms.allow_upgrade=true as suggested by logs. What is the problem here and how should I proceed?

推荐答案

实际上我使用 3.4.0 版创建了 graph.db,并尝试使用 3.3.1 运行.当我尝试使用 3.4.0 运行它时,它起作用了!

Actually I created the graph.db using version 3.4.0 and was trying to run using 3.3.1. When i tried running it with 3.4.0, it worked!

这篇关于运行 Neo4j 时出错:无法将版本“v0.A.9"的商店升级到当前的商店版本“v0.A.8"(Neo4j 3.3.1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆