Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to Neo4j APOC Plugin #51

Open
Kornspan opened this issue Jun 18, 2024 · 3 comments
Open

Unable to connect to Neo4j APOC Plugin #51

Kornspan opened this issue Jun 18, 2024 · 3 comments
Assignees

Comments

@Kornspan
Copy link

When I run the app, I get this error
image
, I am unsure how to fix this.

@kevinl424
Copy link
Collaborator

Sorry for the late reply here, seems like this is an issue with Neo4j database configurations. APOC is just a library that Neo4j uses to add more functionality, with every Neo4j aura instance, APOC should be automatically integrated, but if you are hosting the instance on your own machine, you usually have to download and enable APOC manually. Are you connecting to an aura instance or is the database self hosted?

@Kornspan
Copy link
Author

Kornspan commented Jul 1, 2024

Sorry for the late response, but the database is self-hosted. I have tried running commands like: docker run -p 7687:7687 -p 7474:7474 --env NEO4J_AUTH=neo4j/12345678 --env NEO4J_PLUGINS='["apoc"]' -it neo4j, but it still is not working for me.

@shutter-cp
Copy link

version: '3.7'
services:
  neo4j-v3:
    image: neo4j:5.21.2
    ports:
      - "27474:7474"
      - "27687:7687"
    environment:
      - NEO4J_AUTH=neo4j/root1234
      - NEO4J_apoc_export_file_enabled=true
      - NEO4J_apoc_import_file_enabled=true
      - NEO4J_apoc_import_file_use__neo4j__config=true
      - NEO4JLABS_PLUGINS=["apoc"]
      - NEO4J_dbms.security.procedures.unrestricted=apoc.*
      - NEO4J_dbms.security.procedures.allowlist=apoc.*
    volumes:
      - ./neo4j_data:/data
      - ./plugins:/plugins

This can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants