Package Details: neo4j-community 4.0.4-1

Git Clone URL: (read-only, click to copy)
Package Base: neo4j-community
Description: A fully transactional graph database implemented in Java
Upstream URL:
Licenses: custom
Conflicts: neo4j-enterprise
Submitter: tucho
Maintainer: hakami1024
Last Packager: hakami1024
Votes: 60
Popularity: 0.080661
First Submitted: 2015-12-30 05:23
Last Updated: 2020-05-07 07:29

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mnd999 commented on 2020-05-09 11:46

Have you thought about moving the jars to /usr/share/java/neo4j/lib?

I had more success getting neo4j-admin to work with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index b217852..54c40ab 100644
@@ -2,7 +2,7 @@
 # Contributor: Marcel Campello Ferreira <>
 pkgdesc='A fully transactional graph database implemented in Java'
@@ -19,7 +19,7 @@ source=($pkgver-unix.tar.gz
-            '40ecfbdcb843577a0e9b677e9c0cc7ab4899962309d6148ce8fcd1da35560103'
+            'db152528593b4177e047ea642d0c8d53f777266a09c1803aa4f8363336f646b1'
@@ -47,7 +47,7 @@ package() {
   [[ $(ls -A logs/* 2>/dev/null) ]] && cp -r logs/* $pkgdir/$LOG_DIR

   # Copy JARs in lib and plugins
-  LIB_DIR=usr/share/java/neo4j
+  LIB_DIR=usr/share/java/neo4j/lib
   install -dm755 $pkgdir/$LIB_DIR
   [[ $(ls -A lib/* 2>/dev/null) ]] && cp -r lib/* $pkgdir/$LIB_DIR

diff --git a/neo4j.conf b/neo4j.conf
index ec31d54..694e900 100644
--- a/neo4j.conf
+++ b/neo4j.conf
@@ -13,7 +13,7 @@

hakami1024 commented on 2020-02-22 21:44


Torxed commented on 2020-02-12 09:50

Getting it to run:

$ sudo -s     #Not sure this is fully needed, but this outdated crap is annoying)
# mkdir -p /usr/share/java/neo4j/logs/
# NEO4J_HOME=/usr/share/java/neo4j neo4j start

It'll complain that /usr/share/java/neo4j/conf/neo4j.conf doesn't exists. And if you're here for bloodhound, then simply login to the web-tool once via http://localhost:7474/ and change the password before running bloodhound. If it still doesn't work, do

# cd /usr/share/java/neo4j/data/databases/
# mv graph.db/ graph.db.orig
# cp -r /usr/share/bloodhound/BloodHoundExampleDB.graphdb/ graph.db

And you'll get the example up and running, which you can wipe.

ottoshmidt commented on 2020-01-28 11:36

I am unhappy that this package is vastly outdated.

roschaefer commented on 2019-02-20 11:15

Symlink is broken:

$ cypher-shell
find: ‘/usr/bin/../share/cypher-shell’: No such file or directory

A quickfix is to add neo4j binary folder to $PATH:

export PATH="/usr/share/neo4j/bin/:$PATH"

So the actual cypher-shell script gets called first.

hakami1024 commented on 2019-01-10 22:13

Thanks, oliv. Updated.

oliv commented on 2018-12-10 10:44

The systemd service file must be updated as neo4j java libraries are now stored in a different folder: From: Environment=NEO4J_HOME=/usr/share/neo4j

To: Environment=NEO4J_HOME=/usr/share/java/neo4j

goddessfreya commented on 2018-07-03 08:05

I've made a new package which uses the latest git version here:

It's based on the structure of the Debian package.

ryukinix commented on 2017-12-04 04:27

I have multiple issues with this package.

The default enviroment variables is set wrong for me, I need to change at least NEO4J_HOME and when I try execute the server I receive:

Error: Could not find or load main class org.neo4j.server.CommunityEntryPoint

scottwernervt commented on 2017-10-17 14:39

Running into the following error when using the neo4j bin tools:

$ neo4j-import
Error: Could not find or load main class org.neo4j.tooling.ImportTool
$ neo4j-admin import
Error: Could not find or load main class org.neo4j.commandline.admin.AdminTool