Neo4j 3.5.0 non-existing index exception after dropping indexes


(Folterj) #1

When dropping indexed in Neo4j, subsequent starts show exceptions, looking for non-existing index files.
As pre 3.5 indexes are now all deprecated, we need to move to the new format. So first I removed all current indexes using the drop index instruction. This generates java exceptions in debug.log.
Is there a way for me to purge / clean up the database somehow?
We're using Neo4j Desktop on Windows for development, and also run a Centos 7 community edition.

  • Neo4j version: 3.5.0
  • Operating system: Neo4j Desktop

Extract from debug.log:

2018-12-29 09:13:50.573+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Selected RecordFormat:StandardV3_4[v0.A.9] record format from store C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db
2018-12-29 09:13:50.598+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Selected RecordFormat:StandardV3_4[v0.A.9] record format from store C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db
2018-12-29 09:13:50.598+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Format not configured. Selected format from the store: RecordFormat:StandardV3_4[v0.A.9]
2018-12-29 09:13:51.135+0000 ERROR [o.n.k.i.i.s.f.FusionIndexProvider] Failed to open index:9. Requesting re-population. C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9: C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9: Cannot map non-existing file | GBPTree[file:C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9]
java.nio.file.NoSuchFileException: C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9: C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9: Cannot map non-existing file | GBPTree[file:C:\Users\user.Neo4jDesktop\neo4jDatabases\database-712d77d4-7512-4d1a-b01c-24ee75332088\installation-3.5.0\data\databases\graph.db\schema\index\lucene_native-2.0\9\string-1.0\index-9]
...