Open agalazis opened 6 years ago
what I get instead is: WARNING: There is no procedure with the name
apoc.export.graphml.allregistered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
I will close this issue since i realised that if put a wrong version of the plugin in the directory it fails to boot so it takes it into account I will open another issue in apoc or neo4j if I figure out the cause. Having that said, also all the configuration gets applied correctly plugin security + apoc import files, end up in the configuration file as well. As a result I concluded that maybe the issue is elsewhere.
reopening because I managed to get my job done on non docker version which means it's not an apoc or neo4j issue. I also tried to mount the same plugin with the same version of neo4j docker image. What remains is to find the cause.
ok managed to get it working in docker using cypher-shell rather than neo4j-shell
Managed to get plugins loaded even in neo4j-shell, If you wait long enough they get loaded therefore I 'll change the issue title to slow plugin loading
After manually downloading the jar and putting it on plugins folder takes forever for the app to start in docker. The configuration I used is as follows:
version: "3"
services:
neo4j:
image: neo4j:4.2.6
container_name: neo4j
restart: unless-stopped
ports:
- 7474:7474
- 7687:7687
volumes:
- ./conf:/conf
- ./data:/data
- ./import:/import
- ./logs:/logs
- ./plugins:/plugins
environment:
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G
- NEO4J_AUTH=neo4j/ibs123
- NEO4JLABS_PLUGINS=["graph-data-science"]
- NEO4J_dbms_security_procedures_unrestricted=gds.*
- NEO4J_dbms_security_procedures_whitelist=gds.*
After following all the instructions and mounting a plugin directory containing
apoc-3.3.0.1-all.jar
which is compatible with the neo4j version I use (3.3.0) It won't load them up The entry point seems to pick /plugins as it lists: