Hello everyone, I’m trying to get n8n running in a docker container. I’ve been able to create the docker with the image and specify the variables but as soon as I run it it saysthis:
Error: Command “start” not found
Then the docker stops running
I’ve set up the variables, following a few guides. Specifying the postgre sql database and credentials, speficying the volume mapping like this: /var/n8n_data /home/node/.n8n
Im not sure what else to do, the docker logs just show the very same error message line it doesn’t show anything else.
Hey, I’ve found that if I create the docker without the volume mapping it works, when I add volume mapping it doesn’t work and it shows the Error: Command “start” not found
I was able to use the volume mapping by changing the owner of the n8n_data folder. Now the docker runs fine, or at least that’s what it seems. It says “Editor is now accessible via: http://localhost:5678” but when I go to my server’s address and that port I just get an error saying connection refused ERR_CONNECTION_REFUSED. Any idea of what can be causing this? I’ve already have a firewall rule allowing incoming traffic from port 5678
It happened the same with https. What I also tried to do is telnet to the n8n port but I can’t get a connection. I’m not sure if that’s because it’s on a docker container or why exactly but the firewall rules allow incoming traffic to the 5678 tcp port
May I ask how did you managed to change the n8n_data folder’s owner? I’m having a similar problem, but Im using a Dockerfile and a docker-compose.yml, where and how do you set the permissions for the n8n_data folder