Neo4j-从2.2.5升级到2.3.0后无法启动

Neo4j-从2.2.5升级到2.3.0后无法启动,neo4j,Neo4j,这就是我得到的错误 数据库为空,没有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 Ser

这就是我得到的错误

数据库为空,没有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
atabase.LifecycleManagingDatabase@36a005fb' was successfully initialized, but failed to start. Please see atta
ched cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@36
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
ManagingDatabase@36a005fb' 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
ngDatabase@36a005fb' 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
y@2591d7e3' failed to initialize. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:510)

这里怎么了?

看起来更简单。我不得不更改参数org.neo4j.server.database.location=/home/ubuntu/data/neo4j data/graph.db,因为安装程序提供的默认位置是错误的。

看起来更简单一些。我不得不更改参数org.neo4j.server.database.location=/home/ubuntu/data/neo4j data/graph.db,因为安装程序提供的默认位置是错误的。

您是否在neo4j.properties中激活了
allow\u store\u upgrade
配置?I data/graph.db/messages.log中是否有内容?graph.db文件夹不存在:ubuntu@ip-10-92-135-77:~/data/neo4j data$ls-lrt总计0参数allow_store_upgrade设置为true:#启用此选项可以从旧版本升级存储。allow\u store\u upgrade=true您是否已激活neo4j.properties中的
allow\u store\u upgrade
配置?I data/graph.db/messages.log中是否有内容?graph.db文件夹不存在:ubuntu@ip-10-92-135-77:~/data/neo4j data$ls-lrt总计0参数allow_store_upgrade设置为true:#启用此选项可以从旧版本升级存储。allow_store_upgrade=true您是否使用了类似于
apt get
的方法来安装Neo4j?我经常使用curl直接从Neo4j.com下载Neo4j,并将其解压缩到我想要的地方,这样我就不必担心它安装在哪里了。由于Neo4j是自包含的,您可以在一个地方拥有所有内容(如果您需要,也可以不在一个地方,从
数据库.location
设置中找到)。是的,我总是使用apt get,因为我不知道如何使用curl和unzip下载。明白。这很简单。您可以运行
curlhttp://host/path >下载_path
然后下载
tar-xvzf neo4j-community-2.3.0.tar.gz
(请参阅)您是否使用类似于
apt get
的东西来安装neo4j?我经常使用curl直接从Neo4j.com下载Neo4j,并将其解压缩到我想要的地方,这样我就不必担心它安装在哪里了。由于Neo4j是自包含的,您可以在一个地方拥有所有内容(如果您需要,也可以不在一个地方,从
数据库.location
设置中找到)。是的,我总是使用apt get,因为我不知道如何使用curl和unzip下载。明白。这很简单。您可以运行
curlhttp://host/path >下载路径
,然后下载tar-xvzf neo4j-community-2.3.0.tar.gz(请参阅)