Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-28-2020 06:23 AM
Running Neo4J Community 3.2.7 on Mac OS Catalina
When I try to execute an APOC procedure I get message:
Neo.ClientError.Procedure.ProcedureRegistrationFailed
apoc.meta.subGraph is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
Checked Ne4J.conf and it correctly has the line:
#security
dbms.security.procedures.unrestricted=apoc.*, dbms.*
It used to work but now it doesn't so I moved the Neo$J installation onto another Mac running Mojave - same data, same configuration files and APOC works. The conclusion seems to be that it's not a Neo4J or APOC-caused issue but the change in OS to Catalina that is preventing this.
Has anyone got this to work by changing a file setting or command line? I'd like to avoid upgrading Neo4J and any risk to the model / data in the short term.
03-28-2020 06:32 AM
A couple of things:
03-28-2020 06:44 AM
Neo4J is working fine - it's just any APOC procedure that isn't.
03-28-2020 07:08 AM
The error message is as stated -
Neo.ClientError.Procedure.ProcedureRegistrationFailed
apoc.meta.subGraph is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
03-28-2020 10:37 AM
Maybe it's the space you have in apoc.*, dbms.*
- not sure if that is the reason, but worth a try.
03-29-2020 02:51 AM
Thanks.
The neo4j.conf configuration is exactly the same - the only thing that has changed is the operating system.
I've just confirmed that removal of the space makes no difference.
03-30-2020 04:56 AM
Do you have anything in dbms.security.procedures.whitelist, I guess this overrides the unrestricted.
03-31-2020 08:11 AM
It's the same (identical) Neo4j.conf file - including whitelist. The only difference is the OS - Catalina (problem) vs Mojave (OK)
All the sessions of the conference are now available online