Hi, I've found and fixed the problem. Here is the pull request: https://github.com/neo4j/neo4j/pull/4193 . It will be included in 2.2 GA
Best, Mattias On Tuesday, March 10, 2015 at 8:37:01 AM UTC+1, Michael Hunger wrote: > > Could you share the full log with me as well as a listing of the db-dir > content with sizes? > > Von meinem iPhone gesendet > > Am 10.03.2015 um 04:08 schrieb bi...@levelstory.com <javascript:>: > > This looks like the relevant portion of the log: > > 2015-03-09 21:19:18.514+0000 INFO [o.n.s.e.EnterpriseNeoServer]: Setting > startup timeout to: 120000ms based on 120000 > 2015-03-09 21:19:18.741+0000 INFO [o.n.k.i.s.StoreMigrationTool]: > Starting upgrade of database store files > 2015-03-09 21:19:18.792+0000 ERROR [o.n.s.p.PerformUpgradeIfNecessary]: > Unknown error > java.lang.NegativeArraySizeException: null > at > org.neo4j.kernel.impl.transaction.command.PhysicalLogNeoCommandReaderV1$PhysicalNeoCommandReader.readDynamicRecord(PhysicalLogNeoCommandReaderV1.java:507) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.command.PhysicalLogNeoCommandReaderV1$PhysicalNeoCommandReader.readPropertyRecord(PhysicalLogNeoCommandReaderV1.java:582) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.command.PhysicalLogNeoCommandReaderV1$PhysicalNeoCommandReader.visitPropertyCommand(PhysicalLogNeoCommandReaderV1.java:293) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.command.Command$PropertyCommand.handle(Command.java:325) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.command.PhysicalLogNeoCommandReaderV1.read(PhysicalLogNeoCommandReaderV1.java:185) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.log.entry.LogEntryParsersV4$4.parse(LogEntryParsersV4.java:134) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.log.entry.LogEntryParsersV4$4.parse(LogEntryParsersV4.java:126) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.log.entry.VersionAwareLogEntryReader.readLogEntry(VersionAwareLogEntryReader.java:80) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.log.entry.LogEntryReaderFactory$1.readLogEntry(LogEntryReaderFactory.java:71) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.transaction.log.entry.LogEntryReaderFactory$1.readLogEntry(LogEntryReaderFactory.java:67) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.legacylogs.LogEntrySortingCursor.perhapsFetchEntriesFromChannel(LogEntrySortingCursor.java:90) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.legacylogs.LogEntrySortingCursor.next(LogEntrySortingCursor.java:61) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.legacylogs.LegacyLogs.getTransactionChecksum(LegacyLogs.java:131) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.StoreMigrator.extractTransactionChecksum(StoreMigrator.java:248) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.StoreMigrator.migrate(StoreMigrator.java:188) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateToIsolatedDirectory(StoreUpgrader.java:282) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:163) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.kernel.impl.storemigration.StoreMigrationTool.run(StoreMigrationTool.java:90) > > ~[neo4j-kernel-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:81) > > ~[neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:71) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at > org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:387) > > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:195) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:117) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > 2015-03-09 21:19:18.792+0000 INFO [o.n.s.p.PreFlightTasks]: Unable to > upgrade database > 2015-03-09 21:19:18.794+0000 ERROR [o.n.s.e.EnterpriseBootstrapper]: > Failed to start Neo Server on port [7474] > org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: > Startup failed due to preflight task [class > org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade > database > at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:255) > ~[neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:117) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69) > [neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > Caused by: org.neo4j.server.preflight.PreflightFailedException: Startup > failed due to preflight task [class > org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade > database > at > org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:389) > > ~[neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:195) > ~[neo4j-server-2.2.0-RC01.jar:2.2.0-RC01] > ... 2 common frames omitted > > > On Monday, March 9, 2015 at 4:24:49 PM UTC-7, Michael Hunger wrote: >> >> yes, you're right >> >> could you check the graph.db/messages.log file? >> >> Thanks so much. >> >> Michael >> >> Am 09.03.2015 um 22:26 schrieb bi...@levelstory.com: >> >> I'm trying to test out the new Release Candidate of 2.2 but it won't >> upgrade my database from 2.1.6. I've made sure to shut down the 2.1.6 >> database cleanly: >> >> dev:~/Downloads/neo4j-enterprise-2.1.6/bin$ sudo ./neo4j stop >> Stopping Neo4j Server [3940]....... done >> >> And made sure to allow for store upgrades: >> >> # Enable this to be able to upgrade a store from an older version. >> allow_store_upgrade=true >> >> >> But when I copy over the graph.db folder and try to start it with 2.2 I >> get this in the log: >> >> 2015-03-09 21:19:18.514+0000 INFO [API] Setting startup timeout to: >> 120000ms ba >> sed on 120000 >> Starting upgrade of database store files >> 2015-03-09 21:19:18.792+0000 INFO [API] Unable to upgrade database >> >> Is there anything else I need to do? A better error message would >> definitely be helpful. >> >> Thanks, >> bill >> >> >> -- >> 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 neo4j+un...@googlegroups.com. >> 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 neo4j+un...@googlegroups.com <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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.