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

[Error] EACCES: permission denied, mkdir '/home/node/.cache' error when deploying n8n Helm chart on EKS cluster #123

Open
Vinaum8 opened this issue Nov 4, 2024 · 0 comments

Comments

@Vinaum8
Copy link

Vinaum8 commented Nov 4, 2024

I encountered an issue while installing the n8n Helm chart on an EKS cluster (version v1.30.4-eks-a737599).

Helm chart Version:
component: n8n
project: automation
repoURL: 8gears.container-registry.com/library
version: 0.25.2
namespace: automation

When deploying the chart, I faced the following error: EACCES: permission denied, mkdir '/home/node/.cache'. After researching, I found this discussion on the n8n community forum, which suggests manually adding a volume for the cache directory.

To resolve this issue, I had to manually edit the deployment to add the following configuration:

volumeMounts:
      - mountPath: /home/node/.cache
        name: n8n-cache
volumes:
  - name: n8n-cache
    emptyDir: {}

Can this be incorporated into the Helm chart’s values.yaml so that the /home/node/.cache directory is automatically created with the correct permissions? Alternatively, could there be an option to configure this in values.yaml to avoid manual edits?

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

1 participant