2016-06-15 6 views
2

Установлен neo4j 3.0.3. Я взял 2.3.0-M02 базы данных, с поддержкой модернизации путем установки раскомментировавНе удалось запустить Neo4j после успешного обновления

dbms.allow_format_migration=true 

и начал сервер, но он терпит неудачу с

2016-06-15 17:50:18.439+0000 INFO Starting... 
2016-06-15 17:50:18.874+0000 INFO Bolt enabled on localhost:7687. 
2016-06-15 17:50:19.027+0000 INFO Starting upgrade of database 
2016-06-15 17:50:19.046+0000 INFO Migrating Indexes (1/3): 
2016-06-15 17:50:19.049+0000 INFO 10% completed 
2016-06-15 17:50:19.049+0000 INFO 20% completed 
2016-06-15 17:50:19.049+0000 INFO 30% completed 
2016-06-15 17:50:19.050+0000 INFO 40% completed 
2016-06-15 17:50:19.050+0000 INFO 50% completed 
2016-06-15 17:50:19.050+0000 INFO 60% completed 
2016-06-15 17:50:19.050+0000 INFO 70% completed 
2016-06-15 17:50:19.050+0000 INFO 80% completed 
2016-06-15 17:50:19.050+0000 INFO 90% completed 
2016-06-15 17:50:19.050+0000 INFO 100% completed 
2016-06-15 17:50:19.051+0000 INFO Migrating Legacy indexes (2/3): 
2016-06-15 17:50:19.057+0000 INFO 10% completed 
2016-06-15 17:50:19.058+0000 INFO 20% completed 
2016-06-15 17:50:19.058+0000 INFO 30% completed 
2016-06-15 17:50:19.058+0000 INFO 40% completed 
2016-06-15 17:50:19.058+0000 INFO 50% completed 
2016-06-15 17:50:19.058+0000 INFO 60% completed 
2016-06-15 17:50:19.058+0000 INFO 70% completed 
2016-06-15 17:50:19.058+0000 INFO 80% completed 
2016-06-15 17:50:19.058+0000 INFO 90% completed 
2016-06-15 17:50:19.059+0000 INFO 100% completed 
2016-06-15 17:50:19.059+0000 INFO Migrating Store files (3/3): 
2016-06-15 17:50:19.067+0000 INFO 10% completed 
2016-06-15 17:50:19.067+0000 INFO 20% completed 
2016-06-15 17:50:19.067+0000 INFO 30% completed 
2016-06-15 17:50:19.068+0000 INFO 40% completed 
2016-06-15 17:50:19.068+0000 INFO 50% completed 
2016-06-15 17:50:19.068+0000 INFO 60% completed 
2016-06-15 17:50:19.068+0000 INFO 70% completed 
2016-06-15 17:50:19.068+0000 INFO 80% completed 
2016-06-15 17:50:19.068+0000 INFO 90% completed 
2016-06-15 17:50:19.068+0000 INFO 100% completed 
2016-06-15 17:50:19.091+0000 INFO Successfully finished upgrade of database 
2016-06-15 17:50:19.389+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component '[email protected]' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component '[email protected]' was successfully initialized, but failed to start. Please see attached cause exception. 
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component '[email protected]' was successfully initialized, but failed to start. Please see attached cause exception. 
    at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) 
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:217) 
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:87) 
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:66) 
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28) 
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component '[email protected]' was successfully initialized, but failed to start. Please see attached cause exception. 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) 
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) 
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189) 
    ... 3 more 
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /home/pavel/devel/neo4j-community-3.0.3/data/databases/graph.db 
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144) 
    at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40) 
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108) 
    at org.neo4j.server.CommunityNeoServer.lambda$static$31(CommunityNeoServer.java:55) 
    at org.neo4j.server.CommunityNeoServer$$Lambda$43/1644443712.newGraphDatabase(Unknown Source) 
    at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89) 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) 
    ... 5 more 
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k[email protected]6ec66b58' was successfully initialized, but failed to start. Please see attached cause exception. 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) 
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) 
    at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:503) 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) 
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) 
    at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:99) 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) 
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) 
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140) 
    ... 11 more 
Caused by: org.neo4j.kernel.impl.store.InvalidRecordException: DynamicRecord[1869509480,used=false,(0),type=-1,data=byte[],start=true,next=-1] not in use 
    at org.neo4j.kernel.impl.store.record.RecordLoad.verify(RecordLoad.java:63) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore.verifyAfterNotRead(CommonAbstractStore.java:1229) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore.readIntoRecord(CommonAbstractStore.java:1051) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore.access$000(CommonAbstractStore.java:60) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore$1.next(CommonAbstractStore.java:1177) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore$1.next(CommonAbstractStore.java:1142) 
    at org.neo4j.kernel.impl.store.RecordCursor.getAll(RecordCursor.java:106) 
    at org.neo4j.kernel.impl.store.CommonAbstractStore.getRecords(CommonAbstractStore.java:1124) 
    at org.neo4j.kernel.impl.store.TokenStore.ensureHeavy(TokenStore.java:141) 
    at org.neo4j.kernel.impl.store.TokenStore.getStringFor(TokenStore.java:146) 
    at org.neo4j.kernel.impl.store.TokenStore.getTokens(TokenStore.java:100) 
    at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.start(RecordStorageEngine.java:415) 
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) 
    ... 19 more 

Я попытался Google это одно вверх, но не так много, чтобы быть найденный, за исключением самого кода.

ответ

0

Модернизация с этапов обычно не поддерживается.

Можете ли вы проверить, что старый магазин был в порядке с помощью проверки целостности?

http://www.markhneedham.com/blog/2014/01/22/neo4j-backup-store-copy-and-consistency-check/

Вы также можете попробовать использовать свой инструмент в магазине копию на вашем магазине, чтобы скопировать всех не затронутых записей: https://github.com/jexp/store-utils/tree/30

+0

Я полагаю старый магазин в порядке, потому что его в производстве и работает со 100 + днями безотказной работы, записывает и обслуживает базу данных 4 ГБ. Считаете ли вы, что обновление до 2.3.0, а затем до 3.0.3 может работать? –