n8n CLI commands not working in Cloudron
-
wrote on Aug 13, 2023, 3:14 PM last edited by
Just noticed, n8n CLI commands are not working.
They are working fine though, in my local docker instance, for the same version.
Example:
Use the "Execute Command" node to run:n8n --help
My guess would be, something didn't go well with the migration to the 1.x.x versions, as there have been a lot of breaking changes. See: https://docs.n8n.io/1-0-migration-checklist/
-
You have to run it like https://docs.cloudron.io/apps/n8n/#cli . n8n is not in the PATH, maybe that's the reason ? The full path is
/app/code/node_modules/.bin/n8n
. -
You have to run it like https://docs.cloudron.io/apps/n8n/#cli . n8n is not in the PATH, maybe that's the reason ? The full path is
/app/code/node_modules/.bin/n8n
. -
-
wrote on Aug 14, 2023, 9:54 AM last edited by
Hi @girish
Kindly also check this n8n team response related to this issue, in the context of Cloudron:
https://community.n8n.io/t/cli-commands-not-working-in-v1-x-x/29309/3
Thanks.