cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

chown: cannot read directory '/var/lib/neo4j/plugins': Input/output error

Hi, I'm using Neo4j docker latest image inside my eks deployment, but at some point today started to show this error "chown: cannot read directory '/var/lib/neo4j/plugins': Input/output error" during restarting pods.

Below it the eks deployment conf

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: neo4j-db
name: neo4j-db
spec:
replicas: 1
selector:
matchLabels:
app: neo4j-db
template:
metadata:
labels:
app: neo4j-db
spec:
initContainers:
- name: init-plugins
image: "appropriate/curl:latest"
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: neo4j-plugins
mountPath: /var/lib/neo4j/plugins
command:
- "/bin/sh"
- "-c"
- |
curl -L https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.21/apoc-3.5.0.21-all.jar -O
curl -L https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar -O
cp -R apoc-3.5.0.21-all.jar /plugins
cp -R graph-algorithms-algo-3.5.4.0.jar /plugins
containers:
- image: neo4j:latest
name: neo4j
envFrom:
- configMapRef:
name: neo4j-configs
ports:
- containerPort: 7474
name: http
- containerPort: 7687
name: bolt
- containerPort: 7473
name: https
volumeMounts:
- name: neo4j-plugins
mountPath: "/var/lib/neo4j/plugins"
- name: neo4j-data
mountPath: "/var/lib/neo4j/data"
volumes:
- name: neo4j-data
persistentVolumeClaim:
claimName: neo4j-data-claim
- name: neo4j-plugins
persistentVolumeClaim:
claimName: neo4j-plugin-claim
0 REPLIES 0