Knowledgebase

n8n

Self-hosted workflow automation: install, HTTPS, webhooks, updates and backups

Articles

How to back up and restore n8n (workflows, credentials and encryption key)? Updated 28 September 2026 n8n 2.40 (Docker Compose) A complete n8n backup contains more than an export of your workflows. If you only save workflow files, you lose users, execution history and, above all, the key that... How to fix n8n webhooks that do not work (test URL, production URL, wrong address)? Updated 28 September 2026 n8n 2.40 (self-hosted) Webhooks are how other apps start your n8n workflows. Most webhook problems on a self-hosted n8n have one of three causes: you call the Test URL when the workflow is... How to fix the n8n secure cookie message when you open n8n over HTTP? Updated 11 October 2026 n8n 2.40 (self-hosted) You start n8n, open http://SERVER-IP:5678 and cannot log in, or n8n shows a message that it is configured to use a secure cookie but you are visiting an insecure... How to install n8n with Docker Compose and HTTPS on an Ubuntu VPS? Updated 28 September 2026 n8n 2.40 (Docker Compose) on Ubuntu 24.04 / 26.04 LTS n8n is a workflow automation tool that you can run on your own server. This guide installs it with Docker Compose on an Ubuntu VPS, with a free HTTPS certificate from... How to reset your n8n password or owner account from the server? Updated 28 September 2026 n8n 2.40 (Docker Compose) If you forgot the password of your self-hosted n8n and have no email (SMTP) set up for password resets, you can reset user management from the server with n8n's... How to run n8n behind Nginx with a free SSL certificate? Updated 28 September 2026 n8n 2.40 (Docker) with Nginx and Certbot on Ubuntu 24.04 / 26.04 LTS If Nginx already serves your websites, you can put n8n behind it and use a free Let's Encrypt certificate from Certbot. n8n's documentation recommends a reverse proxy... How to set and back up the n8n encryption key (N8N_ENCRYPTION_KEY)? Updated 28 September 2026 n8n 2.40 (self-hosted) n8n encrypts every saved credential (passwords, API keys, OAuth tokens) with an encryption key before it writes it to the database. On the first start n8n creates a... How to set the n8n timezone so scheduled workflows run at the right time? Updated 28 September 2026 n8n 2.40 (Docker Compose) If a scheduled n8n workflow starts at the wrong hour, the timezone is not set. Out of the box a self-hosted n8n uses America/New_York. Nodes that work with time, such... How to update n8n (Docker Compose)? Updated 28 September 2026 n8n 2.40 (Docker Compose) n8n releases a new minor version almost every week. Update regularly (n8n suggests at least once a month) so that you never have to jump many versions at once. Always... How to use PostgreSQL instead of SQLite with n8n? Updated 28 September 2026 n8n 2.40 with PostgreSQL 18 (Docker Compose) By default n8n stores workflows, credentials and execution history in a small built-in SQLite database. That is fine for trying n8n out. For production, meaning...