Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-20-2020 01:56 AM
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
Solved! Go to Solution.
05-20-2020 03:11 AM
Please, replace:
dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*
by
dbms.security.procedures.whitelist=gds.*,apoc.*
05-20-2020 01:58 AM
Hello @shubham,
Try this:
dbms.security.procedures.unrestricted=gds.*,apoc.*
dbms.security.procedures.whitelist=gds.*,apoc.*
Don't forget to restart the database after:)
05-20-2020 01:59 AM
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
05-20-2020 02:02 AM
Please, have a look on my second line: I wrote: gds.*,apoc.*
and not gds.,apoc.coll.,apoc.load.*
05-20-2020 02:05 AM
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
05-20-2020 02:11 AM
To write code on the community forum, you can use the format text option:)
@shubham did you solve your issue?
05-20-2020 03:10 AM
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
05-20-2020 03:11 AM
Please, replace:
dbms.security.procedures.whitelist=gds.*,apoc.coll.*,apoc.load.*
by
dbms.security.procedures.whitelist=gds.*,apoc.*
05-20-2020 02:09 AM
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?
All the sessions of the conference are now available online