How To Install n8n on Your Webdock Server
Last updated: June 18th 2025
Introduction
n8n is an open-source workflow automation tool that allows you to connect apps, services, and custom logic using a visual, low-code interface. It supports hundreds of integrations—from CRMs and databases to cloud services and messaging platforms—enabling you to automate repetitive tasks, sync data across tools, and build complex workflows without heavy programming. In your workflow, n8n can save time, reduce errors, and improve efficiency by automating processes like lead capture, email notifications, file management, or even triggering custom scripts based on specific conditions or events.
In this guide, we’ll show you how to install n8n on your server so you can start automating your workflows.
Prerequisites
- A Webdock Ubuntu Noble server
- Root or sudo access to your server
Node and NPM Installation
N8N requires Node to be installed.
Let's start by system update and upgrade.
$ sudo apt update $ sudo apt upgrade
Install NVM.
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
Source config after NVM installation.
$ \. "$HOME/.nvm/nvm.sh"
Install Node
$ nvm install 22
The above command installs Node version 22, along with NPM.
Verify the Node.js version.
$ node -v # Should print "v22.16.0". $ nvm current # Should print "v22.16.0".
Verify npm version:
$ npm -v # Should print "10.9.2".
Now that we have installed Node and NPM, let's install n8n
N8N Installation
Run the below command to install n8n
$ npm install n8n -g
Now, to run n8n, we use the command:
$ n8n start
Now, you should visit your server’s ip with the port 5678 and view your n8n instance.
http://server-ip:5678
The app will not start automatically; for it to do so, you will need to create a service for it.
Switch to root first.
$ sudo su
Create a service file.
# touch /etc/systemd/system/n8n.service
Open the file with your favorite file editor. I choose nano.
# nano /etc/systemd/system/n8n.service
Add the below lines to the service file.
Note: You must change the ExecStart command by replacing the /home/admin with your shell user home directory. And the "User" with your shell username.
[Unit] Description=n8n Documentation=https://n8n.io After=network.target [Service] Environment=NODE_PORT=5678 Environment=N8N_SECURE_COOKIE=false Type=simple User=admin ExecStart=/home/admin/.nvm/versions/node/v22.16.0/bin/n8n Restart=on-failure [Install] WantedBy=multi-user.target
Then run the command daemon-reload, to load the new service to systemd.
# systemcl daemon-reload
And finally, to get it to auto-start, use the commands.
# systemctl enable n8n.service # systemctl start n8n.service
To make sure it’s running use the command.
# systemctl status n8n.service
It should say that’s enabled and active.
As a sidenote
If you get the following error, make sure ssl is installed on your server, or use the below commands as a workaround.
Note: Make sure to run the below commands as the same shell user you run the n8n (using n8n start).
$ echo 'export N8N_SECURE_COOKIE="false"' >> ~/.bashrc $ source ~/.bashrc
This is a temporary solution, as for best practices, it is more secure to run SSL on your server.
Conclusion
This guide outlined steps to setup n8N on your Webdock server. We hope this tool fits your automation needs!
Please reach out to Webdock Support if you need any further assistance.
This article was written by Webdock Support Specialist Jose Porras. Jose is passionate about Cloud Hosting and helping Webdock Customers succeed wherever he can.
Related articles
-
How to install OpenLiteSpeed on Webdock
In this article we show you how you can install the OpenLiteSpeed web server on Ubuntu Jammy.
Last updated: March 29th 2023
-
How to Deploy your First Node.js Application on your Ubuntu Web Server
Deploy a Node.js application on your Ubuntu server and how to issue SSL certificates for your Node application.
Last updated: July 19th 2023
-
How to set up WireGuard on your Webdock Server
This article details how you can quickly and easily install WireGuard on your Webdock Server.
Last updated: February 17th 2025
-
How to set up OpenVPN on your Webdock Server
This article details how you can quickly and easily set up a VPN on your Webdock server.
Last updated: February 17th 2025
-
How to Install and configure aaPanel on Ubuntu
Install aaPanel on Ubuntu as well as building a LEMP stack, pointing your domain to your server and setting SSL certificates with Let's Encrypt.
Last updated: February 24th 2025
-
How to install azuracast on Webdock
This guide shows you how to work around certain issues when installing azuracast on Webdock.
Last updated: February 19th 2025
-
How to set up Runcloud on Webdock
This article details the steps you need to go through in order to install Runcloud on a Webdock server.
Last updated: July 29th 2024
-
How to set up cPanel on Webdock
This article details the steps you need to go through in order to install cPanel on a Webdock server.
Last updated: February 25th 2025
-
How to set up Gridpane on Webdock
This article details the steps you need to go through in order to install Gridpane on a Webdock server.
Last updated: February 25th 2025
-
How to set up Ploi on Webdock
This article details the steps you need to go through in order to install Ploi on a Webdock server.
Last updated: February 25th 2025
-
How to set up Laravel Forge on Webdock
This article details the steps you need to go through in order to install Laravel Forge on a Webdock server.
Last updated: February 25th 2025
-
How to set up Plesk on Webdock
This article details the steps you need to go through in order to install Plesk on a Webdock server.
Last updated: February 26th 2025
-
How to set up Cyberpanel on Webdock
This article details the steps you need to go through in order to install Cyberpanel on a Webdock server.
Last updated: February 22nd 2025
-
How to set up SpinupWP on Webdock
This article details the steps you need to go through in order to installSpinupWP on a Webdock server.
Last updated: March 8th 2025
-
How to set up DirectAdmin on Webdock
This article details the steps you need to go through in order to install DirectAdmin on a Webdock server.
Last updated: February 19th 2025
-
How to set up Hestia on Webdock
This article details the steps you need to go through in order to install Hestia on a Webdock server.
Last updated: February 25th 2025
-
How to set up Virtualmin on Webdock
This article details the steps you need to go through in order to install Virtualmin on a Webdock server.
Last updated: February 25th 2025
-
How to install and create pipelines in Jenkins
This guide describes the step-by-step procedure of installing Jenkins and creating pipelines in Jenkins.
Last updated: February 20th 2025
-
Basic WordPress site setup with aaPanel
In this guide, we will install and setup a basic WordPress site with aaPanel.
Last updated: January 23rd 2023
-
How to use Nginx as reverse proxy and secure connections with SSL certificates
Using Nginx to proxy pass your site with SSL security.
Last updated: February 19th 2025
-
Setting up monitoring with Netdata on your Webdock server
Setting up monitoring on your server to receive alerts and to know real-time resource consumption on your server.
Last updated: February 21st 2025
-
How to Setup Python Web Application With Flask Gunicorn and Nginx
A simple Python Flask web app hosting with Gunicorn and Nginx
Last updated: July 19th 2023
-
How to Daemonize an Application with Systemd
Using systemd to autostart your application on system startup.
Last updated: July 19th 2023
-
Set-up New Relic Monitoring on Your Webdock Server
This guide provides step-by-step instructions to install New Relic to monitor your VPS.
Last updated: February 21st 2025
-
Getting Started with Ruby on Rails on Webdock
In this guide, we will show you how to get started with Ruby on Rails on your Webdock server
Last updated: February 21st 2025
-
How to Install VaultWarden on Your Webdock Server
This guide provided step-by-step instructions to Vaultwarden, an open-source Password Manager on your Webdock Server.
Last updated: July 19th 2023
-
How to Install the Latest Version of HTOP on Ubuntu Server
Instructions to install latest htop package on your Ubuntu server
Last updated: July 29th 2024
-
How to Install ImageMagick 7 on Ubuntu LEMP/LAMP stacks
Simple instructions to install ImageMagick 7 along with the PHP extension
Last updated: November 1st 2023
-
A Quick Guide to Installing Rust on Ubuntu
Instructions to install Rust
Last updated: December 18th 2023
-
How To Install Proxmox on Your Webdock Server
This article provides instructions on how to install Proxmox on your Webdock server
Last updated: July 29th 2024
-
How To Run Nextcloud on Your Webdock Ubuntu Server
Instructions to Install Nextcloud on your server with Docker
Last updated: February 13th 2024
-
The Ultimate Guide to Setting Up Mastodon server
A detailed guide with instructions to set up Mastodon on your Webdock server
Last updated: February 12th 2025
-
A Guide To Setting Up Mindustry Game Server on Ubuntu
Step-by-step instructions to set up your own Mindustry server
Last updated: February 12th 2025
-
A Guide to Installing ERPNext on Your Webdock Server
Step-by-step instructions to install ERPNext - a resource planning software - on your server
Last updated: February 21st 2025
-
A Beginner's Guide to Installing Apache Kafka on Ubuntu
Detailed instructions to get Kakfa running on Ubuntu!
Last updated: February 25th 2025
-
A Quick Guide To Installing Rocket Chat on Ubuntu
Instructions to install Rocket Chat on your Ubuntu server
Last updated: February 12th 2025
-
How to Install Ghost CMS on a Webdock Server
Easily install Ghost CMS on your Webdock server with these instructions!
Last updated: February 24th 2025
-
How to Install cPanel on a Webdock Ubuntu Server
Instructions for setting up cPanel on an Ubuntu server
Last updated: September 23rd 2024
-
How to Install VSCode Server on Your Webdock VPS
A short article on how to install vscode server on your Webdock server to do development right from the browser!
Last updated: January 9th 2025
-
How to Install and Configure Litespeed Cache on WordPress
This guide shows how to configure LightSpeed Cache on your Wordpress site
Last updated: January 13th 2025
-
How to Create a Child Nameserver in WHM
This guides outlines how you can create a child nameserver in WHM
Last updated: January 22nd 2025
-
Upgrading or Downgrading NodeJS Versions with NVM
A short article with instructions to change NodeJS version with Node Version Manager (NVM)
Last updated: February 26th 2025
-
How to Host Pocketbase on Your Webdock Server
A mini guide on hosting Pocketbase to help backend developers with their serverless needs.
Last updated: January 29th 2025
-
How to Install Java on Your Webdock Ubuntu Server
Short article with instructions to install Java on your Ubuntu server
Last updated: February 23rd 2025
-
How To Install Uptime Kuma on Your Webdock Server
Instructions to install UptimeKuma - a fancy selfhosted monitoring tool
Last updated: February 27th 2025
-
Setting Up Opensource VPN (OpenVPN)
Simple instructions for setting up OpenVPN on a Webdock server
Last updated: March 25th 2025
-
How to Install Changedetection.io on Your Webdock Ubuntu Server
This is our favorite change detection software. This article is on how to install it
Last updated: April 21st 2025
-
Selfhost All Your Sites with A Few Clicks using Coolify
Quickly deploy your apps/sites using Coolify
Last updated: May 6th 2025
-
Selfhosting MeiliSearch with Webdock for 5 Bucks
Using Coolify to host MeiliSearch on your Webdock Server
Last updated: May 7th 2025
-
How to Host Redis on Webdock for 5 Bucks
Using Coolify to host Redis on your Webdock Server
Last updated: May 7th 2025
-
Selfhosted PostgreSQL for 5 bucks with Coolify
Using Coolify to host PostgreSQL
Last updated: May 7th 2025
-
How to Install Cal.com on Your Webdock Ubuntu Server
Your own instance of Cal.com on your own Webdock Server
Last updated: June 9th 2025
-
How to Install Activepieces on Your Webdock Ubuntu Server
Instructions to host your own instance of Activepieces on your WD server
Last updated: June 9th 2025