After self hosting n8n, I can create new account to log in but encounter connection lost and connect make any workflows.
The docker logs: Syntax error near unexpect token ‘newline’
No WF (connection lost at the beginning)
Information on your n8n setup
- n8n version: newly set up on July 14
- Database:default
- n8n EXECUTIONS_PROCESS setting (default):
- Running n8n via (Docker):
- Operating system: Ubuntu 24.04
- Nginx: yes, Docker: yes
Hi everyone,
I tried to self host n8n using VPS and my own domain. I managed to get the n8n launched and created new account. But it has connection error and the docker log file show Syntax error near unexpect token ‘newline’.
My docker set up is like this
My nginx config
I have successfully created account and make WF but cannot copy other WF or activate WF since the connection lost keeps remain. I don’t know what problem and how to fix it. As a newbie here, any of your help would be highly appreciated.
Thanks very much.
Lan

