cancel
Showing results for 
Search instead for 
Did you mean: 

Apoc installation

shubham
Node Clone

hello everyone i am having some problem in using/installing Apoc on neo4j server
first i have put jar file in neo4j-home-plugins directory
and then i am using the following configuration



dbms.security.procedures.unrestricted=gds.*,apoc.*
dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*
#apoc cofig added
apoc.import.file.enabled=true
apoc.export.file.enabled=true


but when i am calling apoc on browser it is not listed in the procedures .
i am using neo4j version =4.0.4
apoc version = [4.0.0.12]
kindly help me out on the same.
Thankyou

1 ACCEPTED SOLUTION

Please, replace:

dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*

by

dbms.security.procedures.whitelist=gds.*,apoc.*

View solution in original post

8 REPLIES 8

Cobra
Ninja
Ninja

Hello @shubham,

Try this:

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

Don't forget to restart the database after:)

yeah i have tried it,it is just the editor problem (when i bold the a section it just left the '*').
or do i have to remove the below lines in conf file?
apoc.import.file.enabled=true
apoc.export.file.enabled=true

Please, have a look on my second line: I wrote: gds.*,apoc.* and not gds.,apoc.coll.,apoc.load.*

yeah i had a look on them
i have configured the files in similar way but when i bold it on the editor of online community while creating the thread,it just left out the '*'
so they are just right
here is a screen grab for the same

To write code on the community forum, you can use the format text option:)

@shubham did you solve your issue?

replaced
dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*
by

dbms.security.procedures.whitelist=gds.*,apoc.*

i have installed gds earlier and that is working fine but still there is no procedure named apoc is showing

Please, replace:

dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*

by

dbms.security.procedures.whitelist=gds.*,apoc.*

Cobra
Ninja
Ninja

@shubham

You can check if APOC is installed with:
CALL apoc.help('apoc')
CALL gds.list()

So I see you didn't follow what I wrote:
dbms.security.procedures.whitelist=gds.*,apoc.* is different from what you wrote on your file but anyway, did you restart the database after saving the file?

Can you execute both requests and show me what is happening please?