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
plugins, also the name of the apoc plugin isapoc-core, notapoc