Package Details: neo4j-community 4.0.4-1

Git Clone URL: https://aur.archlinux.org/neo4j-community.git (read-only, click to copy)
Package Base: neo4j-community
Description: A fully transactional graph database implemented in Java
Upstream URL: http://neo4j.org/
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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Marcel Campello Ferreira <marcel.campello.ferreira@gmail.com>
 pkgname=neo4j-enterprise
 pkgver=4.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc='A fully transactional graph database implemented in Java'
 arch=(any)
 url=http://neo4j.org/
@@ -19,7 +19,7 @@ source=(http://dist.neo4j.org/neo4j-enterprise-$pkgver-unix.tar.gz
         neo4j.service
         neo4j-tmpfile.conf)
 sha256sums=('c511128e00abc51feceaef2029c1a4d37af53b80d78621f98a788b56d9fc51ec'
-            '40ecfbdcb843577a0e9b677e9c0cc7ab4899962309d6148ce8fcd1da35560103'
+            'db152528593b4177e047ea642d0c8d53f777266a09c1803aa4f8363336f646b1'
             'f95936abc4a519b01d2cd987cd38a253003cf4cd39bfab29948708e82d98de66'
             '4e56e56e38cfe91755adf76642972bece509a9fd3f7d1851d65715fff762b9db'
             'e1311352e05b1e698599b91883141b938ceb418abd7e6bc11cc964854f0a21e1')
@@ -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 @@ dbms.directories.data=/var/lib/neo4j/data
 dbms.directories.plugins=/usr/share/java/neo4j/plugins
 dbms.directories.certificates=/etc/neo4j/certificates
 dbms.directories.logs=/var/log/neo4j
-dbms.directories.lib=/usr/share/java/neo4j
+dbms.directories.lib=/usr/share/java/neo4j/lib
 dbms.directories.run=/run/neo4j
 dbms.directories.metrics=/var/lib/neo4j/data

hakami1024 commented on 2020-02-22 21:44

Updated

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: https://aur.archlinux.org/packages/neo4j-git/

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

https://github.com/neo4j/neo4j/issues/8347