Skip to content

[Bug Report]: N8n Enable task runners #3967

@sancanella

Description

@sancanella

App Name

n8n

Version (TrueNAS Catalog App Version)

v2.2.1

App Issue

Starting with upcoming versions of n8n (v2.0), there are important breaking changes related to how Code nodes are executed that affect deployments running on TrueNAS.

Breaking changes in n8n

  1. Task runners enabled by default
    https://docs.n8n.io/2-0-breaking-changes/#enable-task-runners-by-default

    n8n will enable task runners by default to improve security and isolation.
    As a result, all Code node executions will run on task runners.

  2. Removal of Pyodide-based Python Code node
    https://docs.n8n.io/2-0-breaking-changes/#remove-pyodide-based-python-code-node-and-tool

    n8n is removing the Pyodide-based Python Code node and tool.
    It is being replaced with a task runner–based implementation using native Python, which provides better security and performance.

From n8n v2.0 onward:

  • Python Code nodes only work with task runners
  • Task runners must be configured in external mode

Impact on the TrueNAS app

Due to these changes, the current TrueNAS n8n app does not provide a way to:

  • Enable or disable task runners
  • Configure task runner execution mode (e.g. external)
  • Configure required settings for native Python execution

This makes it difficult or impossible to use Python Code nodes and may break existing workflows after upgrading n8n.

Request

It would be very helpful if the TrueNAS n8n app could add:

  • An option to enable/configure task runners
  • Configuration fields for external task runner mode
  • Be able to expose the N8N_RUNNERS_BROKER_LISTEN_ADDRESS service so we can configure external runners that interact with the truenas n8n instance

Steps to reproduce the issue:

  • Perform a clean installation of n8n
  • Complete the initial user setup
  • Create a workflow
  • Add a Python (Native) node
  • Execute the node and you will get the following error
    Python runner unavailable: Python 3 is missing from this system Internal mode is intended only for debugging. For production, deploy in external mode: https://docs.n8n.io/hosting/configuration/task-runners/#setting-up-external-mode
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions