-
Notifications
You must be signed in to change notification settings - Fork 501
Closed
Labels
Description
The apoc.metrics.get
throws an error.
Steps to replicate the bug
- Create the following docker-compose.yml
version: "2"
services:
neo4j:
container_name: test
hostname: test
image: "neo4j:2025.01.0-enterprise"
volumes:
- $HOME/neo4j/plugins:/plugins
- $HOME/neo4j/import:/import
ports:
- "7475:7474"
- "7688:7687"
environment:
NEO4J_apoc_export_file_enabled: true
NEO4J_apoc_import_file_enabled: true
NEO4J_AUTH: neo4j/apoc1234
metrics.enabled: true
metrics.csv.interval: "1s"
metrics.namespaces.enabled: true
- Execute this query
CALL apoc.metrics.get("neo4j.system.check_point.total_time")
- This error will be thrown
Failed to invoke procedure `apoc.metrics.get`: Caused by: org.neo4j.graphdb.security.URLAccessValidationError: Unable to verify access to . Cause: LOAD on URL 'file:////var/lib/neo4j/metrics/test.csv' is not allowed for user '' with FULL overridden by ACCESS.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done