现有的Neo4j 2.1.7 DB不会以2.2开头

时间:2015-03-26 14:11:21

标签: neo4j

过去 - 我已经以这种方式从2.1.5(以及之前的其他版本)切换到:

  1. 将文件解压缩到' neo4j-community- {version}'夹
  2. 编辑' logging.properties',' neo4j-server.properties',' windows-wrapper-logging.properties'文件和更改位置的值data/{something}../data/{something} (其中{something}为rrd,db等)
  3. bin/neo4j.bat启动服务器以测试它是否正常工作,弹出Java窗口并且浏览器是可联系的 - 然后再安装它。
  4. 到目前为止,没有问题。

    但是这个过程似乎不适用于2.2版本。我对2.1.7数据库遵循相同的程序,我知道是好的。当我执行上面的步骤3时,弹出Java窗口,然后几乎立即关闭,我在控制台中得到以下文本:

        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: Params
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: -Dorg.neo4j.server.properties="conf/neo4j-server.properties"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: -Djava.util.logging.config.file="conf/logging.properties"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: -Dlog4j.configuration="file:conf/log4j.properties"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: "-XX:+UseConcMarkSweepGC"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: "-XX:+CMSClassUnloadingEnabled"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: "-XX:-OmitStackTraceInFastThrow"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: "-XX:hashCode=5"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: -Dneo4j.ext.udc.source="zip"
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: Classpath: "-classpath" "k:\Neo4J\neo4j-community-2.2.0\bin\..\lib\concurrentlinkedhashmap-lru-1.4.jar;k:\Neo4J\neo4j-community-2.2.0\bin\..\lib\lucene-core-3.6.2.jar;k:\Neo4J\neo4j-community-2.2.0\bin\..\lib\neo4j-consistenc... --- MORE ---
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: Main class: org.neo4j.server.Bootstrapper
        Mar 26, 2015 1:58:56 PM org.neo4j.wrapper.NeoServiceWrapper launchAsConsoleApp
        INFO: Args:
    

    现在,我已将.properties文件更改为指向../data-new/{something},当我运行bin\neo4j.bat文件时,它会按预期创建data-new文件夹,因此我知道格式是正确的。它只是不打开现有的数据库。

    有什么我可以看到的吗?

1 个答案:

答案 0 :(得分:0)

您是否启用了商店升级?

尝试删除neo4j.properties中的#: allow_store_upgrade=true