Update SelfHosted Version,Server,Docker,AutomateUpdates

Hi guys, I'm not an expert in n8n or Hetzner Server. I just know that I did some weeks an mistake which I'm paying now time, money and maybe if not fast enough also customers  But I’m sure that the community can help me. I did work with an freelancer on Upwork. Here the thing is that we tried hours and hours to update the community edition properly. Since we did so many things which not worked - he decided to do something inside this file to have an update completely automated which occurs. BUT now we have a big challenge... its redirecting everytime to localhost etc... means all my credentials connecting to Google Drive or Google Sheets are only errors and not connectable. How can I connect it to my origin domain which I had two weeks ago (the Callback url, I mean) so that I can finally enjoy the continous updates but also finally use n8n again with google connections etc?

Information on your n8n setup

  • n8n version: the newest version of the community edition
  • Database (default: SQLite): postresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker and our Hetzner Server
  • Operating system: ubuntu (since its the Hetzner server)

Hi Almpact_Ltd welcome to the n8n community :n8n:

Your current Docker Compose configuration is quite minimalist and is running in standard (regular) mode. If you plan to implement a large number of automations or heavy workflows, the recommended alternative is to use queue mode. There are also several additional configurations you should refine based on the documentation here: Environment Variables Overview | n8n Docs

Regarding your webhook issue, please add the following environment variables to resolve it:

        - N8N_HOST=n8n.a-impact.io
        - N8N_PORT=5678
        - N8N_PROTOCOL=https
        - N8N_PUSH_BACKEND=websocket
        - NODE_ENV=production
        - WORKFLOWS_DEFAULT_NAME=Workflow
        - N8N_EDITOR_BASE_URL=https://n8n.a-impact.io
        - WEBHOOK_URL=https://n8n.a-impact.io
        - N8N_ENDPOINT_WEBHOOK=v2
        - N8N_ENDPOINT_WEBHOOK_TEST=v2-staging
        - N8N_PROXY_HOPS=1

To improve/optimize your self-hosted n8n deployment, some DevOps knowledge is required to properly adjust resources according to the workload you intend to implement from n8n docs.

I hope this helps!

1 Like

thank you very much. Will try it immediately when I’m back at home. I will let you know :slight_smile: