i am trying to track latest changes in neo4j in Server Mode
so i followed this link https://github.com/graphaware/neo4j-changefeed
as i see some extra node are added and here are changes about my db
but http://localhost:7474/graphaware/changefeed/CFM gives me 404
i am using neo4j 2.2.2
and my neo4j.properties
com.graphaware.runtime.enabled=true
com.graphaware.module.CFM.1=com.graphaware.module.changefeed.ChangeFeedModuleBootstrapper
com.graphaware.module.CFM.maxChanges=100
com.graphaware.module.CFM.pruneDelay=10000
com.graphaware.module.CFM.pruneWhenExceeded=10
com.graphaware.module.CFM.node=!hasLabel('NotIncluded')
com.graphaware.module.CFM.relationship=!isType('NOT_INCLUDED')
plugins i added
graphaware-server-community-all-2.2.2.31.jar
graphaware-changefeed-2.2.2.31.7.jar
The GraphAware framework and modules will work on Windows only if you've installed Neo4j from the zip and not the installer.
Related
I'm trying to install the APOC Full jar file (4.2.0.6) to my Neo4J instance that's running in a Google Compute VM. To do so, I've installed the JAR file from GitHub releases to the /plugins folder. Each time I restart or run the environment it crashes with the following output to logs:
"Some jar procedure files (apoc-4.2.0.6-all.jar) are invalid, see log for details."
There's really no additional details provided...
If I copy the default APOC Core library found withing /labs, it works. I've tried to download this same file from Github and it fails. I've verified that the same user/group permissions are applied to the downloaded file as well.
Any ideas?
This usually happens for two reasons:
First is version mismatch. You can check which version you should use based on the version matrix, which is available at: https://github.com/neo4j-contrib/neo4j-apoc-procedures#version-compatibility-matrix. Unfortunately, it is not always up to date, but the APOC versions are if I understand correctly:
APOC 4.1.x.x -> Neo4j 4.1.x
APOC 4.2.x.x.-> Neo4j 4.2.x
APOC 4.3.x.x -> Neo4j 4.3.x
If I had to guess, you are probably using Neo4j 4.3 or 4.1 and using an APOC that is designed to work with Neo4j 4.2.
The other issue is that sometimes you have multiple APOC plugin files in the plugin folders, so that will also crash Neo4j.
So I have neo4j3.1.4 community edition, and tried to put neo4j spatial plugin jar v0.24 file under the "E:\softwares\Neo4j CE 3.2.0\plugins" directory. "E:\softwares\Neo4j CE 3.2.0\" is my neo4j installation directory. I couldn't find any of th procedures of spatial from cypher through browser. But I seem to have done exactly what the manual told me.
Judging from the installation path I'd say you actually have Neo4j 3.2.0 running, no ? Anyway (shouldn't make a difference really), if you take the latest release from https://github.com/neo4j-contrib/spatial/releases/download/0.24-neo4j-3.1.1/neo4j-spatial-0.24-neo4j-3.1.1-server-plugin.jar, drop it into the plugins directory and then restart (don't forget that) Neo4j, things should work. You can verify if the spatial-procedures are there with a CALL dbms.procedures(). If not, please verify the neo4j.log file ... there are multiple messages about loading "geometry" related stuff in there if things go well (or you may see the reason it's not loading otherwise).
Also, and again judging from your installation directory, I think you may have used the Windows installer ? If so, the plugins directory is actually located at C:\Users\youruser\Documents\Neo4j\default.graphdb\plugins, not in the installation directory.
Hope this helps,
Tom
I downloaded the latest Neo4j 3.2 release (Community Edition). Previously I had a 3.XX version. When starting my DB, I'm prompted to change a configuration setting. Where can I find this configuration parameter for the Community Edition?
Failed to start Neo4j with an older data store version. To enable automatic upgrade, please set configuration parameter "dbms.allow_format_migration=true"
When launching the Community Edition, hit the Options button and it shows the location of the config file.
here an example of how I solved it:
( problems opening the ReactomeDB with the new version of NEO4J 3.2.2 )
here the steps to solve it:
1.-After download and extract the zip ReactomeGraphDB61 at reactome.org/download/current/reactome.graphdb.tgz, I tried to open it with NEO4J
TryingOpenReactomeGraphDB61atNEO4J322
2.-Solution: Click in Options and edit the .config file.
3.-Un-comment "dbms.allow_format_migration=true" and save this edited file.
UncommentDBMS_FORMAT_MIGRATION
Now it is working!
I have an instance in AWS hosting a Neo4j DB.
The version im using is 2.3.1.
I backed it up using "neo4j-backup".
I then zipped the files and uploaded to an external storage.
I wanted to restore the DB to another instance I have using the same version (2.3.1), so I copied the files to the same folder the 1st instance is using.
When I run the neo4j console command it states:
ERROR Neo4j cannot be started, because the database files require upgrading and upgrades are disabled in configuration. Please set 'allow_store_upgrade' to 'true' in your configuration file and try again.
Of course the "allow_store_upgrade" is commented out,
Do I have to do the upgrade when restoring?
How can I find the DB version?
If you're using the same version you shouldn't need to comment it out. Though I don't think it would harm anything if you do (especially if you still have that backup somewhere else).
You should be able to find the version of Neo4j in the CHANGES.txt / README.txt files. It should also output the version in data/graph.db/messages.log when you start up the server. Also if you go to the web console (at http://localhost:7474 by default) it will show you the version.
Have the following versions of software:
Neo4J community: 2.0.1
Gephi: 0.8.2-beta
Neo4J Graph Database Support plugin: for Gephi 0.8.2
I'm using the default.graphdb that came with Neo4j 2.0.1 (started playing with Neo4j yesterday)
While doing full import from Gephi using Neo4J plugin I get this error:
Caused by:
org.neo4j.kernel.impl.storemigration.UpgradeNotAllowedByConfigurationException:
Failed to start Neo4j with an older data store version.
To enable automatic upgrade, please set
configuration parameter "allow_store_upgrade=true"
Now, I found neo4j.properties and uncommented the "allow_store_upgrade=true" part, but nothing has changed. I still get the same error. I'm not even sure that it tries to load that neo4j.properties file, because if I rename the file I still get exact error (I'm 100% sure the path is correct).
Edit your neo4j.properties file, uncomment the following line :
allow_store_upgrade=true
This will automatically upgrade your database to support the newer neo4j version