Ryan,

after you opened and shut it down cleanly with 2.0.3
Can you open it again with 2.1.2 with a config file that has
allow_store_upgrade=true ?


On Tue, Jul 8, 2014 at 6:13 PM, Ryan Hunt <[email protected]> wrote:

> Hi Michael,
> I'm having the exact same issue and I can open it with a neo4j 2.0.3
> database, wondering if you had any other solutions?
> Thanks, Ryan.
>
>
> On Saturday, June 21, 2014 10:40:26 AM UTC+1, Michael Hunger wrote:
>
>> Can you open it with a neo4j 2.0.3 database, neo4j-shell and get it to
>> cleanly shut down?
>>
>> Sent from mobile device
>>
>> Am 21.06.2014 um 02:41 schrieb [email protected]:
>>
>> Hello Michael,
>>
>> Thanks for the quick reply.
>>
>> On Friday, June 20, 2014 8:23:52 PM UTC-4, Michael Hunger wrote:
>>>
>>> The batch-importer generates databases for Neo4j 2.0
>>>
>>> You have to set the upgrade flag "allow_store_upgrade=true" in
>>> conf/neo4j.properties
>>>
>>>
>> I tried enabling this property, but the server still fails to start.
>>
>> Here's what I've tried:
>> ===
>>
>> # Stopping the server
>> $ ./bin/neo4j stop
>>
>> # Removing existing 'graph.db'
>> $ rm -rf ./data/graph.db
>>
>> # Copying the sample db from 'bacth-import'
>> $ cp -r /data/gordon/sources/batch-import/target/graph.db ./data/
>>
>> # Verify the upgrade propery
>> $ grep "upgrade" conf/*
>> conf/neo4j.properties:# Enable this to be able to upgrade a store from an
>> older version
>> conf/neo4j.properties:allow_store_upgrade=true
>>
>> # Start the server
>> $ ./bin/neo4j start
>> WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See
>> the Neo4j manual.
>> Using additional JVM arguments:  -server -XX:+DisableExplicitGC
>> -Dorg.neo4j.server.properties=conf/neo4j-server.properties
>> -Djava.util.logging.config.file=conf/logging.properties
>> -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC
>> -XX:+CMSClassUnloadingEnabled
>> Starting Neo4j Server...WARNING: not changing user
>> process [10342]... waiting for server to be ready... Failed to start
>> within 120 seconds.
>> Neo4j Server may have failed to start, please check the logs.
>> ===
>>
>> The 'console.log' still says:
>>   Detected incorrectly shut down database, performing recovery..
>>
>>
>> But 'data./graph.db/message.log' has this to say:
>> ===
>> $ tail ./data/graph.db/messages.log
>> Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$
>> UnexpectedUpgradingStoreVersionException: 'neostore.nodestore.db' has a
>> store version number that we cannot upgrade from. Expected 'NodeStore
>> v0.A.1' but file is version 'NodeStore v0.A.0'.
>>         at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.
>> checkUpgradeable(UpgradableDatabase.java:69)
>> ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>         at org.neo4j.kernel.impl.storemigration.StoreMigrator.
>> needsMigration(StoreMigrator.java:100) ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>         at org.neo4j.kernel.impl.storemigration.StoreUpgrader.
>> getParticipantsEagerToMigrate(StoreUpgrader.java:234)
>> ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>         at org.neo4j.kernel.impl.storemigration.StoreUpgrader.
>> migrateIfNeeded(StoreUpgrader.java:129) ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>         at 
>> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.start(NeoStoreXaDataSource.java:350)
>> ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>         at 
>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507)
>> ~[neo4j-kernel-2.1.2.jar:2.1.2]
>>        ... 13 common frames omitted
>> ===
>>
>>
>> Any ideas how to fix it ?
>>
>> Thanks!
>>  -gordon
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to