Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-10-2022 05:48 AM
Hello. I'm quite new to Neo4j and I'm following this process:
When the pod is starting at this step, I have the error below about user 7474
I checked the parameters accessible in the helm setup (helm show values neo4j/neo4j-standalone) and none of the parameters I can change seems related to the below: I can't change the docker command and the docker env
Error logs from GKE UI:
06-16-2022 11:08 PM
HI @XavPil
You have to create the docker container with a user that has access to all neo4j folder otherwise you will have problems like the one that you are showing here. You don't have to change the docker command but only to add create the container with a user (it can be a newly created user) before trying to install neo4j inside the container.
06-17-2022 01:20 AM
I have the same problem I don't quite understand what you mean, can you elaborate on the solution
06-18-2022 03:20 AM
Hi @heyongfeng,
What I mean is that you can try to add this in your .yaml file:
06-18-2022 06:20 AM
Thank you for your suggestion, I am using version 4.4.6, the default is the neo4j user, I used initContainers to solve the above problems
06-18-2022 06:23 AM
Remember that the initContainers will only exist before the creation of the database. They will do the work but you might need to have a more robust container (like the neo4j one) if you would like to make some more modification on the pods later on, while the db is up and running.
PS: I guess I have to get kudos or the solution 😃
06-20-2022 12:29 AM
We found the issue for our question: it is related to the version 1.22 of GKE which has issues with rights. We only faced this issue on GCP/GKE. AWS setup worked fine
Using this updated command in the Prerequisites page fixed our issue. We added --release-channel "stable" that will make the cluster to use v1.21
gcloud container clusters create my-neo4j-gke-cluster --num-nodes=1 --machine-type "e2-standard-2" --release-channel "stable"
06-20-2022 03:41 PM - edited 06-20-2022 03:43 PM
FYI : the finding in my case
When you create a GKE, you can add the flag --release-channel "stable" to gcloud command, like below.
gcloud container clusters create my-neo4j-gke-cluster --num-nodes=1 --machine-type "e2-standard-2" --release-channel "stable"
Thank you!
06-21-2022 02:28 AM
Can we see your yaml file content?
All the sessions of the conference are now available online