Package Details: neo4j-community 5.18.1-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.000308
First Submitted: 2015-12-30 05:23 (UTC)
Last Updated: 2024-03-24 15:11 (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 .. 11 Next › Last »

carsme commented on 2023-08-10 14:27 (UTC)

Just pushed an update with some significant changes:

  • Build from source instead re-packaging the Debian package.
  • Run a sub-selection of the tests.
  • Use system Scala, rather than bundling it.
  • Add some security hardening to the service.

There is a risk this is broken for some users or affects some use-cases. Let me know if you experience any problems. Thanks!

PolarianDev commented on 2023-03-13 09:41 (UTC)

Thanks for co-maintainer :)

PolarianDev commented on 2023-03-13 09:35 (UTC)

@carsme no problem, I will take up the offer of co-maintainer however :)

carsme commented on 2023-03-13 00:37 (UTC)

@PolarianDev Sorry for stealing this, I noticed your comment when I was nearly finished with the updated package.

If you'd like to join I can invite you as co-maintainer.

b.vandenheuvel commented on 2023-03-10 15:12 (UTC) (edited on 2023-03-10 15:12 (UTC) by b.vandenheuvel)

@PolarianDev that would be appreciated! A starting point: git diff for 5.5.0.

diff --git a/PKGBUILD b/PKGBUILD
index d272282..996f860 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
 # Contributor: Marcel Campello Ferreira <marcel.campello.ferreira@gmail.com>
 # Contributor: Mark Dixon <mark@markdixon.name>
 pkgname=neo4j-community
-pkgver=4.3.2
+pkgver=5.5.0
 pkgrel=1
 pkgdesc='A fully transactional graph database implemented in Java'
 arch=(any)
 url=http://neo4j.org/
 license=(custom)
 makedepends=(patch)
-depends=('jre11-openjdk-headless')
+depends=('jre17-openjdk-headless')
 conflicts=(neo4j-enterprise)
 backup=(etc/neo4j/neo4j.conf)
 options=(!strip)
@@ -20,10 +20,10 @@ source=(http://dist.neo4j.org/neo4j-community-$pkgver-unix.tar.gz
         neo4j.install
         neo4j.service
         neo4j-tmpfile.conf)
-sha256sums=('3474f3ec9da57fb627af71652ae6ecbd036e6ea689379f09e77e4cd8ba4b5515'
-            'cabf7e9eebe500298112c93a0177a2976a3c9cb35077939e1fd3e9ce1c528c49'
+sha256sums=('3834cf8393f11d02e96e37b15ceeb4319f56cf1d323076ca242a35750c94bd99'
+            '061c83418aa91d3fcb66009b7f9ed5e20e07f5c837be48e4b67e2a080b1a8069'
             '8b58f52fc827a02eda8aa58fd40c3a19aab9f5ea0687f5eebc421ba49828713b'
-            'f95936abc4a519b01d2cd987cd38a253003cf4cd39bfab29948708e82d98de66'
+            'f1c083521502749200cb24fb5dcf20ab2f988f3b31fef278d774e7089f034208'
             '4e56e56e38cfe91755adf76642972bece509a9fd3f7d1851d65715fff762b9db'
             'e1311352e05b1e698599b91883141b938ceb418abd7e6bc11cc964854f0a21e1')
 prepare() {
diff --git a/bin.patch b/bin.patch
index a2d2c96..6d27392 100644
--- a/bin.patch
+++ b/bin.patch
@@ -1,12 +1,6 @@
 diff -au0r neo4j-community-orig/bin/neo4j-admin neo4j-community-mod/bin/neo4j-admin
 --- neo4j-community-orig/bin/neo4j-admin
 +++ neo4j-community-mod/bin/neo4j-admin
-@@ -3,0 +4,2 @@
+@@ -20,0 +21,2 @@
 +export NEO4J_CONF=/etc/neo4j
 +
-diff -au0r neo4j-community-orig/bin/cypher-shell neo4j-community-mod/bin/cypher-shell
---- neo4j-community-orig/bin/cypher-shell
-+++ neo4j-community-mod/bin/cypher-shell
-@@ -75,1 +75,1 @@
--  APP_HOME="$(cd "$(dirname "$0")" && pwd)"
-+  APP_HOME="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)"
diff --git a/neo4j.install b/neo4j.install
index 6ae3940..9873077 100644
--- a/neo4j.install
+++ b/neo4j.install
@@ -20,10 +20,10 @@ post_remove() {
 }

 directory_permissions() {
-  chown -R neo4j.neo4j /etc/neo4j/certificates
-  chown -R neo4j.neo4j /var/lib/neo4j
-  chown -R neo4j.neo4j /var/log/neo4j
-  chown -R neo4j.neo4j /etc/neo4j
+  chown -R neo4j:neo4j /etc/neo4j/certificates
+  chown -R neo4j:neo4j /var/lib/neo4j
+  chown -R neo4j:neo4j /var/log/neo4j
+  chown -R neo4j:neo4j /etc/neo4j
 }

 assert_user_and_group_exist() {

PolarianDev commented on 2023-03-08 08:43 (UTC)

Do people still want this package maintained, if so I will adopt it :)

MichaelSx commented on 2022-01-15 10:21 (UTC)

I have adapted the PKGBUILD, feel free to test and change to your needs or give suggestions for improvement. I can at least run it via systemctl on my system now, not quite sure if I missed something specific to my config: https://github.com/michaelsx/aur_neo4j-community

dalu commented on 2021-11-08 06:07 (UTC)

Your upstream url is also using some tracking link shortener that returns a 404

dalu commented on 2021-11-08 06:03 (UTC) (edited on 2021-11-08 06:03 (UTC) by dalu)

systemctl start neo4j.service fails with the same error

Nov 08 06:46:26 hostname neo4j[7710]: Error: Could not find or load main class org.neo4j.server.startup.Neo4jCommand
Nov 08 06:46:26 hostname neo4j[7710]: Caused by: java.lang.ClassNotFoundException: org.neo4j.server.startup.Neo4jCommand
Nov 08 06:46:26 hostname systemd[1]: neo4j.service: Control process exited, code=exited, status=1/FAILURE
Nov 08 06:46:26 hostname systemd[1]: neo4j.service: Failed with result 'exit-code'.