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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. Unable to retrieve data when running execute command

Unable to retrieve data when running execute command

Scheduled Pinned Locked Moved N8N
3 Posts 3 Posters 857 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.
  • A Offline
    A Offline
    alwynispat
    wrote on last edited by alwynispat
    #1

    I'm trying to run the following command whois google.com on the execute command node, but it fails and says that

    ERROR: Command failed: whois google.com /bin/sh: 1: whois: not found
    

    I have whois package already installed on the server.

    https://community.n8n.io/t/workflow-for-domain-expiry-notification/7834

    Find me at Mastodon

    1 Reply Last reply
    0
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      open the terminal app and find where that command is installed.

      try which whois, then use the full path shown in n8n

      Conscious tech

      1 Reply Last reply
      0
      • martinkbsM Offline
        martinkbsM Offline
        martinkbs
        wrote on last edited by
        #3

        Hey @alwynispat

        Maybe you should use the SSH node instead of the Execute Command node. From what I understand the Whois package is installed on the server, so to run it you will have to call it via ssh command.

        The Execute Command node executes commands inside the cloudron n8n container, which by default will run in the /app/code path of your n8n container.

        That is the reason why it does not find the Whois package when running the Execute Command node.

        1 Reply Last reply
        1
        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