Package Details: neo4j-community 5.24.0-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: https://github.com/neo4j/neo4j
Licenses: GPL-3.0-only
Conflicts: neo4j-enterprise
Submitter: tucho
Maintainer: carsme
Last Packager: carsme
Votes: 64
Popularity: 0.192108
First Submitted: 2015-12-30 05:23 (UTC)
Last Updated: 2024-09-27 08:15 (UTC)

Dependencies (3)

Required by (1)

Sources (5)

Pinned Comments

hainkind commented on 2024-03-08 19:27 (UTC)

i don't know if this is obvious to everyone but i had to switch my system java default to openjdk 17 via 'sudo archlinux-java set java-17-openjdk'. compile failed with a default version of 21.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

Powersource commented on 2020-09-01 17:39 (UTC)

Getting this when running either neo4j start or neo4j-admin

ERROR! Neo4j cannot be started using java version 1.8.0_265. 
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.

mnd999 commented on 2020-05-09 11:46 (UTC)

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 (UTC)

Updated

Torxed commented on 2020-02-12 09:50 (UTC)

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 (UTC)

I am unhappy that this package is vastly outdated.

roschaefer commented on 2019-02-20 11:15 (UTC) (edited on 2019-02-20 11:16 (UTC) by roschaefer)

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 (UTC)

Thanks, oliv. Updated.

oliv commented on 2018-12-10 10:44 (UTC)

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 (UTC)

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 (UTC)

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