0

edit2: solved this by downloading apoccore to enhance apocextended

edit: running this

`match (from:_Category)<-[:_from]-(r:_Relationship)-[:_to]->(to:_Category)
match (x)-[rel]->(y)
where type(rel) = r.name
call apoc.create.addLabels(x,[from.name]) yield node as xs
call apoc.create.addLabels(y,[to.name]) yield node as ys
return count(xs) + count(ys) + " nodes updated"`

i get this error: Neo.ClientError.Procedure.ProcedureNotFound There is no procedure with the name apoc.create.addLabels registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

my yaml file looks like this:

services:
  neo4j:
    image: neo4j:latest
    volumes:
        - /home/ted/neo4j/logs:/logs
      #  - /home/ted/neo4j/conf:/conf
        - /home/ted/neo4j/data:/data
        - /home/ted/neo4j/plugins:/plugins
    environment:
      - NEO4J_dbms_security_procedures_unrestricted=apoc.*
      - NEO4J_dbms_security_procedures_allowlist=apoc.*
      - NEO4J_apoc_import_file_enabled=true
      - NEO4J_apoc_export_file_enabled=true
      - NEO4J_apoc_trigger_enabled=true
      - NEO4J_dbms_security_procedures_unrestricted=*
    ports:
      - "7474:7474"
      - "7687:7687"
    restart: unless-stopped
2
  • You don't need to mount a directory for plugins, also the name of the apoc plugin is apoc-core, not apoc Commented Jun 19 at 7:00
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Jun 19 at 8:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.