Hi,
just noticed that the database in our app won't start after an upgrade
from 2.0 to 2.1 if there's a directory named 'upgrade_backup' in Neo4j's
database directory. The log shows the following exception stack trace:
Starting upgrade of database store files
# dense nodes: 28, which is 0 %
.......... 10%
.......... 20%
.......... 30%
.......... 40%
.......... 50%
.......... 60%
.......... 70%
.......... 80%
.......... 90%
.......... 100%
Finished upgrade of database store files
[...]
Caused by: org.neo4j.graphdb.NotFoundException: Target
file[/home/axel/dev/test./db/upgrade_backup/neostore.nodestore.db]
already exists
at org.neo4j.kernel.impl.util.FileUtils.moveFile(FileUtils.java:118)
at
org.neo4j.kernel.impl.util.FileUtils.moveFileToDirectory(FileUtils.java:160)
at
org.neo4j.kernel.DefaultFileSystemAbstraction.moveToDirectory(DefaultFileSystemAbstraction.java:164)
at
org.neo4j.kernel.impl.storemigration.StoreFile.moveFile(StoreFile.java:183)
at
org.neo4j.kernel.impl.storemigration.StoreFile.move(StoreFile.java:150)
at
org.neo4j.kernel.impl.storemigration.StoreMigrator.moveMigratedFiles(StoreMigrator.java:218)
at
org.neo4j.kernel.impl.storemigration.StoreUpgrader.moveMigratedFilesToWorkingDirectory(StoreUpgrader.java:218)
at
org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:164)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.start(NeoStoreXaDataSource.java:350)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507)
... 14 more
The 'upgrade_backup' directory is a leftover from a previous store
upgrade and should be moved to an archive, or removed if you don't care.
Maybe that helps someone else.
Cheers
Axel
--
Axel Morgner · [email protected] · @amorgner
CEO Structr (c/o Morgner UG) · Hanauer Landstr. 291a · 60314 Frankfurt ·
Germany
phone: +49 151 40522060 · skype: axel.morgner
http://structr.org - Open Source CMS and Web Framework based on Neo4j,
won Graphie Award for Most Innovative Open Source Graph Application
structr Mailing List and Forum
<https://groups.google.com/forum/#%21forum/structr>
Graph Database Usergroup "graphdb-frankfurt"
<http://www.meetup.com/graphdb-frankfurt>
--
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.