Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start docker container with --tunnel option resulted in '› Error: command n8n not found' error #12511

Closed
datoslabs opened this issue Jan 8, 2025 · 2 comments · Fixed by #12512 · May be fixed by #12557
Closed

Start docker container with --tunnel option resulted in '› Error: command n8n not found' error #12511

datoslabs opened this issue Jan 8, 2025 · 2 comments · Fixed by #12512 · May be fixed by #12557
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@datoslabs
Copy link

datoslabs commented Jan 8, 2025

Bug Description

It appears that the documentation for starting n8n docker container with --tunnel option, ie https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/README.md#start-with-tunnel is incorrect. When I copied and executed the command the following error was returned:

› Error: command n8n not found

Looking into the docker file and the entry point script docker-entrypoint.sh, the additional n8n parameter is not needed and the correct command should be:

docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -v ~/.n8n:/home/node/.n8n \
 docker.n8n.io/n8nio/n8n \
 start --tunnel

I tested it on my local deployment and it appears to work. I am new to n8n so I am submitting this as a bug report rather than making the easy change and submitting it as a PR in case the entry point script is to be blamed.

To Reproduce

  1. Follow the instruction, https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/README.md#start-with-tunnel, to start n8n with tunnel and reported error message should appear. I am using docker pull n8nio/n8n:latest as of 1/8/2025.

Expected behavior

Should start n8n docker with localtunnel.

Operating System

Ubuntu 24.04

n8n Version

1.71.1

Node.js Version

20.18.0 (according to docker hub https://hub.docker.com/layers/n8nio/n8n/latest/images/sha256-5e87ef72f71631fc4a720808c385c269301958556cb4c78597c131286c9950d6)

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Jan 8, 2025

Hey @datoslabs,

We have created an internal ticket to look into this which we will be tracking as "N8N-8061"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 8, 2025
@netroy
Copy link
Member

netroy commented Jan 8, 2025

Thanks for pointing this out 🙏🏽 .
It'll be fixed in #12512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
3 participants