Neo4j Community Edition 3.0.1 failed to start - neo4j

I populated Neo4j database using Gremlin console 3.1.2.
Checked that data is persistent by exiting the above console and then go back to it pointing to my local database location:
>graph=Neo4jGraph.open('/MyNeo4jDB/graphdb')
>g = graph.traversal()
>g.V()
==>v[0]
==>v[1]
==>v[2]
==>v[3]
Working on Windows 7 Professional. I also checked that directory C:\MyNeo4jDB\graph.db has been created and populated with files.
I would like to see visual representation of my data by using "Neo4j Community Edition 3.0.1" but got the error "Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#3c5e750c was successfully initialized, but failed to start".
I know that Neo4j Community Edition 3.0.1" is working fine to display another database.
What is the reason that Neo4j Community Edition failed to open my database?
Any help will be appreciated.

You have to upgrade your database.
Set in neo4j.conf (you can reach it via the "Options" pane in the starter)
dbms.allow_format_migration=true

Related

Neo4j database will not load in my desktop application on windows

Please I am trying to access the Neo4j database via its browser. I have used both bolt//:localhost:7687 and http//:localhost:7474, and Username: "neo4j" and Password:"neo4j" but with no success. I can't even start a database instance.
I have uninstalled and reinstalled Neo4j on my computer; I have updated Powershell on my Windows 8.1 computer, yet I keep getting an error message whenever I try to run the Movie database in the desktop.
I have also looked into the log.log file, but can't seem to find anything other than that I should update Powershell, which I have done.
I have corresponded with a relations officer at Neo4j, over 30 emails, and still I can't access Neo4j database.
Could it have anything to do with my web browser? I use Mozilla Firefox.
Because I am unable to successfully connect to Neo4j database, I can't call the api in R Studio and run cypher queries.
Does Neo4j have a web version, which I could use, since the desktop version isn't working?
Please does anybody have any idea or advice on what I could do to resolve this problem? I am really exasperated right now.

Cant see any graphs in Neo4j

I just installed the latest version of Neo4J on ubuntu 15.04 and on my application code I have provided the path for the database as the following :
GraphDatabaseService db = dbFactory.newEmbeddedDatabase("/home/aimad/Documents/Neo4j/default.graphdb");
When I type match(n) return n; on console of http://localhost:7474 I cant see any graph.
And I notice that the location of the database is : /home/aimad/neo4j-community-2.3.0/data/graph.db on the Neo4j plateform.
I also tried to change the location of the database in conf/neo4j-server.properties but I got this error message when I want to start neo4j :
Starting Neo4j Server...WARNING: not changing user process [3151]...
waiting for server to be ready... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
How can I solve this problem ?
As #AllessandroNegro indicated, you cannot start a neo4j server on the same DB that is already opened by an embedded app.
If you want to visualize the DB used by your embedded app, this other question might be helpful.

can't start neo4j after upgrading from 2.1.7 to 2.2.0

When I click "Start" I get the following alert:
Starting Neo4j Server failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#50e0c7' was successfully initialized, but failed to start. Please see attached cause exception.
(There is no attached exception, despite what the message says.)
That's what happens when I try to connect to my existing database.
I'm on Windows Server 2012.
I also tried creating an empty folder and pointing to it instead, but then when I go to localhost:7474 (on Chrome) Neo4j asks for login and password (!!??) and when I supply the default ones (neo4j and neo4j) and click "Connect" nothing happens.
Things worked fine with 2.1.7.

Starting Neo4j Server failed: Component was successfully initialized, but server failed to start

I was given a graph db I must open with Neo4j. Installed community version Neo4j-2.2.0-M02 on Win7 Ultimate laptop successfully. When I tried to start the server, after pointing to the graph db, I get the following error:
Starting Neo4j Server failed:
Component org.neo4j.server.database.LifecycleManagingDatabase#325ce05c was successfully initialized, but failed to start. Please see attached cause exception.
Logged in as windows local admin. Windows FWall is off. There's no antivirus SW installed on the machine. Local admin has full perms on entire root drive. When I point to the default db, Neo4j server starts normally and I can browse http://localhost:7474/ without a problem.
Any lead will be appreciated.
The aforementioned error message was the result of using a Neo4j version different to the one the graph db was originally developed. In particular, the original graph db was developed in ver 2.0.4 Community that due to my lack of knowledge I was trying to run on an installation of Neo4j ver. 2.2.0-M02 (for development only).
The code owner enlightened me to the fact and an attempt to bring up the graph db on ver. 2.0.4 Community was successful.
Thanks for your support.
Delete the folder "c:\Users\Yourname\MyDocuments\Neo4j"
I removed the plugins that were loaded from <NEO4J_HOME>/plugins as they were also loaded from under <DATABASE_HOME>/plugins

Neo4j browser is getting disconnected frequenty from the server

I'm using Neo4J 2.1.0 M01 64bit community edition on 64bit windows machine. So whenever i execute cypher queries it shows " disconnected from neo4j: please check if the cord is unpluged". When i searched for the same issue in the net ,they are saying to do some settings in the neo4j.properties file present in the conf folder.So what changes needs to be done to file?
My neo4j.properties content is :
# Default values for the low-level graph engine
#neostore.nodestore.db.mapped_memory=25M
#neostore.relationshipstore.db.mapped_memory=50M
#neostore.propertystore.db.mapped_memory=90M
#neostore.propertystore.db.strings.mapped_memory=130M
#neostore.propertystore.db.arrays.mapped_memory=130M
Here everything is commented out by default.
Please tell me what's needs to be done to resolve this issue?
Thanks,
Shree

Resources