There's currently no direct upgrade from 1.9 to 2.1, so you have to first 
upgrade the database with 2.0, and then again with 2.1. You might have to 
remove any `upgrade` and `upgrade_backup` directories in between these last two 
steps. I have both installed and just move the `graph.db` folder between them.

In 2.1.2 there is a bug where the logging sub-system is shut down after an 
upgrade, so that's why your log2 looks like it does. Giving the server a clean 
restart after the upgrade should bring the logging back, though.

Once the upgrade has completed, deleting the `upgrade` and `upgrade_backup` 
folders is fine. The backup directory contains your data as they were before 
the upgrade, just in case something goes wrong during the upgrade, so it's good 
to keep around until you've verified that the upgrade went well.

--
Chris Vest
System Engineer, Neo Technology
[ skype: mr.chrisvest, twitter: chvest ]


On 13 Aug 2014, at 12:02, Moop <[email protected]> wrote:

> I created a Talend (Big Data Open Studio) Job that transfers data from SQL 
> Server to Neo4j. The problem is that the current version of Talend generates 
> Neo4j 1.9 databases and I want to use the latest version (2.1) but the 
> upgrade is not (yet, at least) possible. I ended up by making it working but 
> my steps look suspiciousI'll put here are all what I've done with the 
> obtained logs when necessary:
> 
> - Run both Neo4j 2.0.4 and 2.1.2 instances and close them properly (Ctr + C 
> --on Windows).
> - Deleted the generated graph.db folders.
> 
> Then
> - Using Talend, transferred data to Neo4j 2.1.2 instance. Picture1
> - Run Neo4j 2.1.2 Server. Upgrade failed throwing the following errer: Log1
> - Copied (Talend-generated) graph.db from Neo4j 2.1.2 instance to Neo4j 2.0.4 
> instance and then run Neo4j 2.0.4 Server . The upgrade happened with no 
> problems.
> - Returned the (upgraded) graph.db from Neo4j 2.0.4 instance to Neo4j 2.1.2 
> instance, then run the Neo4j 2.1.2 Server. The upgraded happened but the 
> Server didn't start. No errors on the Log: Log2.
> - Rerun Neo4j 2.1.2 Server, the server didn't start: Log3.
> - Deleted the two directories upgrade and upgrade_backup.
> - Run Neo4j 2.1.2 and it worked. Same logs as Log2.
> 
> My question is: was what I did by deleting those folders not wrong? My data 
> looks OK (I checked using count(*)). I don't want to be surprised after one 
> week that deleting those folders actually did affect my data.
> 
> -- 
> 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