I was taking a tutorial of Neo4J on Pluralsight and I have to use drwho(doctor who) sample database. I am using Neo4j community edition version 3.0.1. But the sample database(drwho) was made by the old version and I had to set the dbms.allow_format_migration property to "true". After doing that, When I tried to start the server it poped up this error
Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@673b0b17' was successfully initialized, but failed to start. Please see attached cause exception.
When I take a look at the neo4j log which is found at C:\Users\UserName\AppData\Roaming\Neo4j Community Edition\logs\neo4j.log
This is what I found
Error saving DB location
java.nio.file.AccessDeniedException: .dblocation
2016-06-04 09:19:03.259+0000 INFO [o.n.s.d.LifecycleManagingDatabase] Starting...
2016-06-04 09:19:04.292+0000 INFO [o.n.b.v.r.Sessions] Bolt enabled on localhost:7687.
2016-06-04 09:19:04.493+0000 INFO [o.n.k.i.s.p.StoreMigrator] Starting upgrade of database
What can I do to solve this error?
The above solution did solve my problem, but it happened again for a different reason. Because of an old neo4j service was still running on my machine. If you are on windows, check out the neo4j service that is running on Local Service and see the source directory for that service. If it does not match with the one you are having a problem with, disable that service and check again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With