Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. n8n CLI commands not working in Cloudron

n8n CLI commands not working in Cloudron

Scheduled Pinned Locked Moved N8N
7 Posts 2 Posters 2.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shrey
    wrote on last edited by
    #1

    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:
    6282bda7-0e62-465d-be15-3b840aaad714-image.png

    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/

    1 Reply Last reply
    0
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      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.

      S 1 Reply Last reply
      1
      • girishG girish

        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.

        S Offline
        S Offline
        shrey
        wrote on last edited by
        #3

        @girish Thanks!
        Yes, giving the full path works.

        1 Reply Last reply
        0
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #4

          @shrey I will put in the PATH in the next package release.

          S 1 Reply Last reply
          0
          • girishG girish

            @shrey I will put in the PATH in the next package release.

            S Offline
            S Offline
            shrey
            wrote on last edited by
            #5

            @girish That would be even better, thanks again!

            1 Reply Last reply
            0
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #6

              Added in https://git.cloudron.io/cloudron/n8n-app/-/commit/7420efe2a4a938dbf0f3219c4fdadb941e83f16a

              S 1 Reply Last reply
              2
              • girishG girish

                Added in https://git.cloudron.io/cloudron/n8n-app/-/commit/7420efe2a4a938dbf0f3219c4fdadb941e83f16a

                S Offline
                S Offline
                shrey
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search