n8n-helm-chart icon indicating copy to clipboard operation
n8n-helm-chart copied to clipboard

Issue with license when starting main pods (sometimes)

Open fank opened this issue 1 year ago • 3 comments

Based on the input from the n8n support team, I was able to narrow it down to an issue to load the license on startup.

We are using an enterprise license, and doing a rolling update sometimes causes:

Image

This causes the pod to crash everytime on startup, if this happens the first time, then it will happen all the time.

A workaround is to use following values:

main:
  command: ["/bin/sh", "-c", "n8n license:info && n8n"]

This causes the main pod to always startup as expected.

Could it be that n8n needs a persistent volume?

fank avatar Mar 07 '25 14:03 fank

well, I guess to store the licence maybe

Vad1mo avatar Mar 12 '25 08:03 Vad1mo

Keep this open, there maybe changes needed, not sure. Still in contact with the n8n support, because they said this should not happen due to always check the license on startup.

fank avatar Mar 12 '25 08:03 fank

Have there been any further issues with this? We haven't had a problem when injecting the license via:

main:
  config:
     n8n:
       license:
         activation:
           key: <N8N_LICENSE_ACTIVATION_KEY>

RoseSecurity avatar Jun 30 '25 20:06 RoseSecurity