Hello!
I'm facing exactly the same problem. I updated Neo4J from 2.0.0 to 2.2.4 
and now I cannot open any database.
After setting the *"allow_store_upgrade=true" *I get the same message: 
 "Starting Neo4j Server failed: Startup failed due to preflight task [class 
org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade 
database"

Is there any solution to this problem? I cannot open any database.


El lunes, 4 de agosto de 2014, 4:49:37 (UTC-5), Mattias Persson escribió:
>
> Perfect, would be great if you could send some link to me and possibly 
> Michael directly.
>
>
> On Mon, Aug 4, 2014 at 10:01 AM, AJ NOURI <[email protected] <javascript:>> 
> wrote:
>
>> Hi Michael,
>> Thanks for your prompt reply. Do you mean the compressed content of 
>> default.graphdb 
>> directory? it is 60 MB.
>>
>>
>> AJ
>>
>>
>> 2014-08-04 8:35 GMT+02:00 Mattias Persson <[email protected] 
>> <javascript:>>:
>>
>>> That looks awfully weird, I can't see how that NPE comes to be. Your 
>>> database would help immensly.
>>>
>>>
>>> On Sun, Aug 3, 2014 at 2:01 PM, Michael Hunger <
>>> [email protected] <javascript:>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Sorry to hear that, I take it up with our engineering team.
>>>>
>>>> Would you be able to share your database (pre upgrade and post upgrade) 
>>>> ?
>>>>
>>>> Please continue until then with 2.0.3
>>>>
>>>> Thanks so much,
>>>>
>>>> Michael
>>>>
>>>>
>>>>
>>>> On Sun, Aug 3, 2014 at 12:16 PM, AJ NOURI <[email protected] 
>>>> <javascript:>> wrote:
>>>>
>>>>> The last working version was* 2.0.3*. I cannot upgrade to any higher 
>>>>> version, I'am getting the same error message:
>>>>>
>>>>> Starting Neo4j Server failed: Startup failed due to preflight task [
>>>>>> class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable 
>>>>>> to upgrade database
>>>>>>
>>>>>>
>>>>>
>>>>> Though, I followed instructions in 
>>>>> http://docs.neo4j.org/chunked/snapshot/deployment-upgrading.html#deployment-upgrading-two-zero
>>>>>  
>>>>> and have changed  *"allow_store_upgrade=true"* inside 
>>>>> *neo4j.properties* to allow upgrade.
>>>>>
>>>>>
>>>>> -------------
>>>>>
>>>>> Here is the content of *console.log*
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *12:04:35.475 [AWT-EventQueue-0] INFO 
>>>>>  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 
>>>>> 120000ms 
>>>>> based on -1 12:04:35.702 [AWT-EventQueue-0] INFO 
>>>>>  o.n.s.p.PerformUpgradeIfNecessary - Failed to start Neo4j with an older 
>>>>> data store version. To enable automatic upgrade, please set configuration 
>>>>> parameter "allow_store_upgrade=true" Failed to start Neo4j with an older 
>>>>> data store version. To enable automatic upgrade, please set configuration 
>>>>> parameter "allow_store_upgrade=true"12:04:35.703 [AWT-EventQueue-0] INFO 
>>>>>  o.n.server.preflight.PreFlightTasks - Failed to start Neo4j with an 
>>>>> older 
>>>>> data store version. To enable automatic upgrade, please set configuration 
>>>>> parameter "allow_store_upgrade=true" 12:05:32.729 [AWT-EventQueue-0] INFO 
>>>>>  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 
>>>>> 120000ms 
>>>>> based on -112:05:32.847 [AWT-EventQueue-0] ERROR 
>>>>> o.n.s.p.PerformUpgradeIfNecessary - Unknown 
>>>>> errorjava.lang.NullPointerException: null at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrator.moveMigratedFiles(StoreMigrator.java:232)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.moveMigratedFilesToWorkingDirectory(StoreUpgrader.java:225)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:171)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrationTool.run(StoreMigrationTool.java:86)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:84)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:71) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:357)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:154) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.runtime.DatabaseActions.start(DatabaseActions.java:68) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.ui.StartDatabaseActionListener$1.run(StartDatabaseActionListener.java:61)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.access$200(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_51] 
>>>>> at 
>>>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventQueue.dispatchEvent(Unknown Source) 
>>>>> [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
>>>>> Source) [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.run(Unknown Source) 
>>>>> [na:1.7.0_51]12:05:32.850 [AWT-EventQueue-0] INFO 
>>>>>  o.n.server.preflight.PreFlightTasks - Unable to upgrade 
>>>>> database12:05:53.492 [AWT-EventQueue-0] INFO 
>>>>>  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 
>>>>> 120000ms 
>>>>> based on -1 12:05:53.630 [AWT-EventQueue-0] ERROR 
>>>>> o.n.s.p.PerformUpgradeIfNecessary - Unknown 
>>>>> errorjava.lang.NullPointerException: null at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrator.moveMigratedFiles(StoreMigrator.java:232)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.moveMigratedFilesToWorkingDirectory(StoreUpgrader.java:225)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:171)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrationTool.run(StoreMigrationTool.java:86)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:84)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:71) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:357)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:154) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.runtime.DatabaseActions.start(DatabaseActions.java:68) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.ui.StartDatabaseActionListener$1.run(StartDatabaseActionListener.java:61)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.access$200(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_51] 
>>>>> at 
>>>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventQueue.dispatchEvent(Unknown Source) 
>>>>> [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
>>>>> Source) [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.run(Unknown Source) 
>>>>> [na:1.7.0_51] 12:05:53.633 [AWT-EventQueue-0] INFO 
>>>>>  o.n.server.preflight.PreFlightTasks - Unable to upgrade 
>>>>> database12:10:05.615 [AWT-EventQueue-0] INFO 
>>>>>  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 
>>>>> 120000ms 
>>>>> based on -1 12:10:05.744 [AWT-EventQueue-0] ERROR 
>>>>> o.n.s.p.PerformUpgradeIfNecessary - Unknown 
>>>>> errorjava.lang.NullPointerException: null at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrator.moveMigratedFiles(StoreMigrator.java:232)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.moveMigratedFilesToWorkingDirectory(StoreUpgrader.java:225)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:171)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.kernel.impl.storemigration.StoreMigrationTool.run(StoreMigrationTool.java:86)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:84)
>>>>>  
>>>>> ~[neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:71) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:357)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:154) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.runtime.DatabaseActions.start(DatabaseActions.java:68) 
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> org.neo4j.desktop.ui.StartDatabaseActionListener$1.run(StartDatabaseActionListener.java:61)
>>>>>  
>>>>> [neo4j-desktop-2.1.3.jar:2.1.3] at 
>>>>> java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue.access$200(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51] at 
>>>>> java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_51] 
>>>>> at 
>>>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventQueue.dispatchEvent(Unknown Source) 
>>>>> [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
>>>>> Source) [na:1.7.0_51] at 
>>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
>>>>> [na:1.7.0_51] at java.awt.EventDispatchThread.run(Unknown Source) 
>>>>> [na:1.7.0_51] 12:10:05.747 [AWT-EventQueue-0] INFO 
>>>>>  o.n.server.preflight.PreFlightTasks - Unable to upgrade database*
>>>>>
>>>>>
>>>>> -- 
>>>>> 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] <javascript:>.
>>>>> 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] <javascript:>.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Mattias Persson
>>> Neo4j Hacker at Neo Technology
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Neo4j" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/neo4j/kb-2QtGo4T4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected] <javascript:>.
>>>
>>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Mattias Persson
> Neo4j Hacker at Neo Technology
>

-- 
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