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

Cannot read properties of undefined (reading 'includes') when saving git settings #13588

Open
Fank opened this issue Feb 28, 2025 · 4 comments
Open
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 Feb 28, 2025

Bug Description

When pressing the "Save settings" button:

Image

I get:

Image

PATCH https://<hostname>/rest/source-control/preferences

{
    "code": 400,
    "message": "Cannot read properties of undefined (reading 'includes')"
}

Container logs:

Set local git repository to track remote

It also happend, that it lost the enviroment setup after some time.

To Reproduce

  1. Setup Environments for the first time
  2. change color
  3. press "Save settings"

Expected behavior

Its working fine.

Operating System

docker

n8n Version

1.80.5

Node.js Version

latest in docker

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented Feb 28, 2025

Hey @Fank,

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

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Feb 28, 2025
@Fank
Copy link
Author

Fank commented Feb 28, 2025

This happend:
Image

After pressing the Push button:
Image

@Fank
Copy link
Author

Fank commented Feb 28, 2025

e.g. using this:
Image

works fine:
Image

@Joffcom Joffcom added the In Review We are reviewing the issue label Feb 28, 2025
@Fank
Copy link
Author

Fank commented Feb 28, 2025

I am using multi main like described in here:
https://docs.n8n.io/hosting/scaling/queue-mode/#multi-main-setup

with:

EXECUTIONS_MODE: queue
N8N_MULTI_MAIN_SETUP_ENABLED: "true"

@Joffcom Joffcom added in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue and removed in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue labels Feb 28, 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