Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n8n shows two active workflows, but only one is in use #13820

Open
Fank opened this issue Mar 11, 2025 · 4 comments
Open

n8n shows two active workflows, but only one is in use #13820

Fank opened this issue Mar 11, 2025 · 4 comments
Labels
in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue

Comments

@Fank
Copy link

Fank commented Mar 11, 2025

Bug Description

Following view shows two active workflows:

Image

But when I filter the overview for active it shows only one:

Image

Also running workflows export shows me one active workflow:

~ $ n8n export:workflow --all --pretty --output=exportall.json
Invalid timestamp value for N8N_RELEASE_DATE: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
User settings loaded from: /home/node/.n8n/config
Successfully exported 58 workflows.
~ $ ls
exportall.json
~ $ cat exportall.json | jq -c '[.[] | select(.active == true)] | length'
1

But for what ever reason this workflow, still creates execution like if it is still active:

Image

Image

Which informations do you need?
You can also contact me in discord (username: Fank), its maybe faster for research.

Debug info

core

  • n8nVersion: 1.82.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.3
  • database: postgres
  • executionMode: scaling
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: 03176d77-824f-4ef2-83db-39f7bc022c2f

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: s3

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/134.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-03-11T09:06:59.241Z

To Reproduce

no clue

Expected behavior

Show the correct amount of active works as when i filter for active workflows in overview.

Operating System

docker (self-hosted)

n8n Version

1.82.1

Node.js Version

20.18.3

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented Mar 11, 2025

Hey @Fank,

We have created an internal ticket to look into this which we will be tracking as "GHC-1141"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 11, 2025
@Fank Fank changed the title n8n shows two active works, but only one is in use n8n shows two active workflows, but only one is in use Mar 11, 2025
@Fank
Copy link
Author

Fank commented Mar 11, 2025

I talked with @Joffcom on discord, he recommended disabling the workflows on all main nodes and enable it again.
This so far caused to an increase of 1, now overview is correct with 2 but 3 workflows are in use:

Image

Image

@Fank
Copy link
Author

Fank commented Mar 11, 2025

The json entry for "Chat Agent" from n8n export:workflow shows "triggerCount": 2, but the workflow itself does only have one trigger node.

@Joffcom
Copy link
Member

Joffcom commented Mar 11, 2025

@Fank reproduced the issue and I have raised it internally to find out which team is best suited to resolve this.

@Joffcom Joffcom added Needs Feedback Waiting for further input or clarification. In Review We are reviewing the issue and removed Needs Feedback Waiting for further input or clarification. labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue
Projects
None yet
Development

No branches or pull requests

2 participants