[GH-ISSUE #5570] Service stuck on "Updating service..." and cluster shown as "All" after switching domain from default to custom #10806

Open
opened 2026-08-05 01:27:20 -04:00 by saavagebueno · 7 comments
Owner

Originally created by @SuperKali on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5570

Description

When editing an existing service and changing the domain from the default NetBird domain (e.g. proxy.example.com) to a custom/internal domain (e.g. internal.example.com), the service gets stuck in the "Updating service..." state and never completes the update.

Additionally, after refreshing the page, the cluster column no longer shows the correct cluster name — instead it displays "All", which appears to be a fallback/default value rather than the originally assigned cluster.

Steps to Reproduce

  1. Open an existing service that is configured with the default NetBird domain (e.g. router-home.proxy.example.com)
  2. Edit the service and change the domain to a custom domain (e.g. router-home.internal.example.com)
  3. Click Save Changes
  4. Observe the toast notification showing "Updating service..." — it never resolves
Image
  1. Refresh the page
  2. Observe the Cluster column for the affected service now shows "All" instead of the correct cluster name
Image

Expected Behavior

  • The service update should complete successfully
  • The cluster column should continue to display the correct assigned cluster name after the domain change

Actual Behavior

  • The service remains stuck in "Updating service..." indefinitely
  • After a page refresh, the cluster is shown as "All" instead of the previously assigned cluster (e.g. proxy.example.com)

Environment

  • NetBird version: 0.66.3
  • Browser: Chrome
  • OS: MacOS

Additional Context

The issue only appears when modifying an existing service's domain. Creating a new service with a custom domain from scratch has not been tested in this context.

Originally created by @SuperKali on GitHub (Mar 11, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5570 ## Description When editing an existing service and changing the domain from the default NetBird domain (e.g. `proxy.example.com`) to a custom/internal domain (e.g. `internal.example.com`), the service gets stuck in the "Updating service..." state and never completes the update. Additionally, after refreshing the page, the cluster column no longer shows the correct cluster name — instead it displays **"All"**, which appears to be a fallback/default value rather than the originally assigned cluster. ## Steps to Reproduce 1. Open an existing service that is configured with the default NetBird domain (e.g. `router-home.proxy.example.com`) 2. Edit the service and change the domain to a custom domain (e.g. `router-home.internal.example.com`) 3. Click **Save Changes** 4. Observe the toast notification showing "Updating service..." — it never resolves <img width="1070" height="728" alt="Image" src="https://github.com/user-attachments/assets/71fa4f53-7bbf-437d-96ec-18aaec10b3cd" /> 5. Refresh the page 6. Observe the Cluster column for the affected service now shows **"All"** instead of the correct cluster name <img width="1562" height="528" alt="Image" src="https://github.com/user-attachments/assets/9b03e683-238f-4aa5-95d9-d27ad2a478d4" /> ## Expected Behavior - The service update should complete successfully - The cluster column should continue to display the correct assigned cluster name after the domain change ## Actual Behavior - The service remains stuck in "Updating service..." indefinitely - After a page refresh, the cluster is shown as "All" instead of the previously assigned cluster (e.g. `proxy.example.com`) ## Environment - NetBird version: `0.66.3` - Browser: `Chrome` - OS: `MacOS` ## Additional Context The issue only appears when **modifying** an existing service's domain. Creating a new service with a custom domain from scratch has not been tested in this context.
Author
Owner

@pascal-fischer commented on GitHub (Mar 12, 2026):

Hi @SuperKali,
are you running on cloud or selfhosted?
When you switched to the custom domain what cluster was this domain assigned to?
In case you do selfhosted, when the request gets stuck on the dashboard can you find the related log messages on the management logs so we might get an idea where it gets stuck?

<!-- gh-comment-id:4047677085 --> @pascal-fischer commented on GitHub (Mar 12, 2026): Hi @SuperKali, are you running on cloud or selfhosted? When you switched to the custom domain what cluster was this domain assigned to? In case you do selfhosted, when the request gets stuck on the dashboard can you find the related log messages on the management logs so we might get an idea where it gets stuck?
Author
Owner

@SuperKali commented on GitHub (Mar 12, 2026):

Hello @pascal-fischer, i'm using a selfhosted instance, the cluster is the same, i just switched the domain from the cluster domain to a custom domain to a service.

Could you tell me which logs would be useful (from which container)?

<!-- gh-comment-id:4048853755 --> @SuperKali commented on GitHub (Mar 12, 2026): Hello @pascal-fischer, i'm using a selfhosted instance, the cluster is the same, i just switched the domain from the cluster domain to a custom domain to a service. Could you tell me which logs would be useful (from which container)?
Author
Owner

@pascal-fischer commented on GitHub (Mar 31, 2026):

@SuperKali sorry, i forgot about this one. I fixed some potential issue with switching domain here https://github.com/netbirdio/netbird/pull/5585. Can you confirm if this solved your issue or do you still have trouble switching the domain?

<!-- gh-comment-id:4162709305 --> @pascal-fischer commented on GitHub (Mar 31, 2026): @SuperKali sorry, i forgot about this one. I fixed some potential issue with switching domain here https://github.com/netbirdio/netbird/pull/5585. Can you confirm if this solved your issue or do you still have trouble switching the domain?
Author
Owner

@SuperKali commented on GitHub (Mar 31, 2026):

@pascal-fischer will check it soon and I let you know.

<!-- gh-comment-id:4162937142 --> @SuperKali commented on GitHub (Mar 31, 2026): @pascal-fischer will check it soon and I let you know.
Author
Owner

@SuperKali commented on GitHub (Mar 31, 2026):

@pascal-fischer stuck in updating from a custom domain to proxy domain:

Image
<!-- gh-comment-id:4163125261 --> @SuperKali commented on GitHub (Mar 31, 2026): @pascal-fischer stuck in updating from a custom domain to proxy domain: <img width="919" height="697" alt="Image" src="https://github.com/user-attachments/assets/eb59dc09-3dcb-4daa-9351-e56e64e5536c" />
Author
Owner

@SuperKali commented on GitHub (Mar 31, 2026):

After page refresh:

Image

All is totally wrong, should be the cluster domain like proxy.example.com

<!-- gh-comment-id:4163132195 --> @SuperKali commented on GitHub (Mar 31, 2026): After page refresh: <img width="1836" height="105" alt="Image" src="https://github.com/user-attachments/assets/c939098f-76c6-4c88-809c-91b6c5ab8b80" /> All is totally wrong, should be the cluster domain like proxy.example.com
Author
Owner

@SuperKali commented on GitHub (May 17, 2026):

I resolved the issue by migrating the current SQLite database to PostgreSQL.

The problem arises from the query itself. The database locks because multiple queries are executed simultaneously.

<!-- gh-comment-id:4469701690 --> @SuperKali commented on GitHub (May 17, 2026): I resolved the issue by migrating the current SQLite database to PostgreSQL. The problem arises from the query itself. The database locks because multiple queries are executed simultaneously.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10806