How to update n8n at Hostinger

Learn how to update n8n docker instance

Updated 2 days ago

Update your n8n Docker instance at Hostinger to access the latest features, improvements, and security patches.

Before you start

  • It’s recommended to download a backup before updating and following the steps below to keep your data safe.
  • Prepare your workflows before upgrading from n8n 2.x to n8n 3.0, as described in How to prepare your Hostinger VPS for n8n 3.0.

If you’re running n8n via Docker Manager, there are two ways to update your instance.

Update using Docker Manager

  1. Access Docker Manager.

  2. Find the project that runs n8n, open the three-dot menu (⋮), and select Update. The project name can differ from n8n, for example root. Open the project to confirm that it contains the n8n container.

NOTE

  • The update can take a few minutes. Do not select Update again while Docker Manager applies it.

Update using SSH

  1. Access your VPS through a web console:

  2. Navigate to the n8n directory. If the /docker/n8n directory does not exist, use the Docker Manager update steps above instead.

    cd /docker/n8n
  3. Pull the latest version of the n8n image:

    docker compose pull
  4. Stop and remove the currently running containers:

    docker compose down
  5. Start n8n with the updated image:

    docker compose up -d

Your n8n instance should now be running the latest version. To verify the version, open the n8n dashboard at https://n8n.[your-vps-hostname]. See How to use the n8n VPS template at Hostinger for details.