n8n CLI commands not working in Cloudron
-
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
Error:
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
. -