Problem installing graph algoritms


(Mirto Busico) #1

SOLVED

In neo4j.conf the correct syntax is:

dbms.security.procedures.unrestricted=apoc.*, algo.*
dbms.security.procedures.whitelist=apoc.*, algo.*

Hi all,
I'm trying to install graph algoritms plugin in a neo4j 3.5.1 community.

Seems that there is some problem with the documentation at

https://neo4j.com/docs/graph-algorithms/3.5/introduction/

I tried to whitelist and unrestrict algo procedures adding to neo4j.conf these lines:

dbms.security.procedures.unrestricted=apoc.*
dbms.security.procedures.unrestricted=algo.*
dbms.security.procedures.whitelist=apoc.*
dbms.security.procedures.whitelist=algo.*

But I receive a lot of errors like:

2019-01-11 17:43:01.543+0000 WARN [o.n.k.i.p.Procedures] The function 'algo.version' is not on the whitelist and won't be loaded.
2019-01-11 17:43:01.545+0000 WARN [o.n.k.i.p.Procedures] The procedure 'algo.unionFind.forkJoin' is not on the whitelist and won't be loaded.
2019-01-11 17:43:01.545+0000 WARN [o.n.k.i.p.Procedures] The procedure 'algo.unionFind.forkJoin.stream' is not on the whitelist and won't be loaded.
2019-01-11 17:43:01.550+0000 WARN [o.n.k.i.p.Procedures] The procedure 'algo.randomWalk.stream' is not on the whitelist and won't be loaded.
2019-01-11 17:43:01.566+0000 WARN [o.n.k.i.p.Procedures] The procedure 'algo.betweenness.sampled.stream' is not on the whitelist and won't be loaded.

And, from the browser the command

CALL algo.list()

gives the error:

There is no procedure with the name `algo.list` registered for this database instance.

How can I install and enable Graph Algoritms?

Update: the names of packages installed and the framework

Operating system: Kubuntu 18.04.1
Java version: java-8-openjdk-amd64
neo4j package: neo4j-community-3.5.1-unix.tar.gz
apoc package: apoc-3.5.0.1-all.jar
graph package: graph-algorithms-algo-3.5.0.1.jar