Windows client (26.11.3) unusable after update, non stop "blinking"
What happened?
Updated Termix to 26.11.3 from .2, both Docker server and Windows client. Both installed went fine, but when I start the Win client all it does is flash between the main (hosts) screen and the "start up" screen (where you pick the theme, etc). App is not functional as its flashes back and forth so fast its hard to see much. I have not restarted Win 11 yet, but will try soon.
Steps to reproduce
Download and install Win client Start up, selected theme and start up/upgrade options App starts flashing. Web UI works fine.
What did you expect?
No response
Termix version
26.11.3
Platform
Desktop app (Windows)
Server install
Docker
Environment
Win 11 Home, latest updates. Chrome, latest updates Docker, running in Debian 13.x VM on Proxmox. Everything updated to latest updates
Logs
Anything else?
No response
Before you submit
- [x] I searched open and closed issues and this is not a duplicate
- [x] I am on the latest version, or I said which version I am on
Auto-triage
Desktop app 26.11.3 enters a rapid flashing loop between the main screen and the layout onboarding step due to a logic error in determining step relevance. Some users also report local server startup failures due to native module version mismatches.
| Field | Value |
|---|---|
| Type | Bug |
| Difficulty | 3/5 (Moderate) |
| Priority | High |
A maintainer will take a look. If anything above looks wrong, just say so.
Confirm, same issue here flashing client on windows and linux (kali with KDE)
Could be related? https://github.com/Termix-SSH/Termix/issues/1959
Same issue here. Tried to install the full version but still the same
The same issue, Win11 Pro latest, the portable app - it just won't start anymore, showing error without any interactive button:
Termix's local server could not start
The local server stopped unexpectedly. Restart Termix, and check the desktop log if this keeps happening.
Same here. Win 11 Pro. Installed via MSI.
I have the same issue. Win 11 Pro as well.
This stems from the layout welcome page I believe.
If you spam click the area where the "Done" button pops up, you can get it to go away.
Didn't work for me as no button appeared on the screen --->>
This stems from the layout welcome page I believe.
If you spam click the area where the "Done" button pops up, you can get it to go away.
Anyway, I solved the issue with simple fresh start. I use a portable version so I just renamed an old folder, unpacked an archive of the latest release and it just worked.
I had also checked logs in C:\Users[user]\AppData\Roaming\termix\termix-main.log. There I had found the following error that forced me to make a fresh start:
[10:13:03] [ERROR] [🚀] Failed to initialize backend services [op:startup_failed] Error: Database decryption failed: The module '\?[MY_HOST_PATH]\termix_windows_x64_portable\resources\app.asar.unpacked\node_modules\better-sqlite3\build\Release\better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 148. This version of Node.js requires NODE_MODULE_VERSION 150. Please try re-compiling or re-installing the module (for instance, using
npm rebuildornpm install).. This prevents data loss. at initializeDatabaseAsync (file:///[MY_HOST_PATH]/termix_windows_x64_portable/resources/app.asar.unpacked/dist/backend/backend/database/db/index.js:138:19) at async initializeCompleteDatabase (file:///[MY_HOST_PATH]/termix_windows_x64_portable/resources/app.asar.unpacked/dist/backend/backend/database/db/index.js:175:5) at async Module.initializeDatabase (file:///[MY_HOST_PATH]/termix_windows_x64_portable/resources/app.asar.unpacked/dist/backend/backend/database/db/index.js:1808:5) at async file:///[MY_HOST_PATH]/termix_windows_x64_portable/resources/app.asar.unpacked/dist/backend/backend/starter.js:197:9 Caused by: Error: The module '\?[MY_HOST_PATH]\termix_windows_x64_portable\resources\app.asar.unpacked\node_modules\better-sqlite3\build\Release\better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 148. This version of Node.js requires NODE_MODULE_VERSION 150. Please try re-compiling or re-installing the module (for instance, usingnpm rebuildornpm install). at process.func [as dlopen] (node:internal/electron/js2c/node_init:3:6351) at Object.(node:internal/modules/cjs/loader:2097:18) at Object.func [as .node] (node:internal/electron/js2c/node_init:3:6351) at Module.load (node:internal/modules/cjs/loader:1658:32) at Module._load (node:internal/modules/cjs/loader:1450:12) at wrapModuleLoad (node:internal/modules/cjs/loader:268:19) at Module.require (node:internal/modules/cjs/loader:1681:12) at require (node:internal/modules/helpers:157:16) at getBinding ([MY_HOST_PATH]\termix_windows_x64_portable\resources\app.asar.unpacked\node_modules\better-sqlite3\lib\binding.js:34:26) at new Database ([MY_HOST_PATH]\termix_windows_x64_portable\resources\app.asar.unpacked\node_modules\better-sqlite3\lib\database.js:57:17)
Same issue in MacOS Silicon
Same issue on macOS Apple Silicon with desktop 26.11.3 linked to a remote server. Repeatedly pressing Escape eventually dismissed the flashing overlay.
After comparing 26.11.2 and 26.11.3, I think I've narrowed down the regression to the newly introduced layout onboarding step.
Potential root cause
The [26.11.3 release commit](https://github.com/Termix-SSH/Termix/commit/7fd85ccbfe52afaac0007bf5b23295aecc447496) introduces layout: 1 in CORE_ONBOARDING_STEPS and adds the following relevance condition in [onboarding-steps.ts](https://github.com/Termix-SSH/Termix/blob/7fd85cc/src/ui/onboarding/onboarding-steps.ts#L32-L43):
isRelevant: (ctx) =>
listLayouts().length > 1 ||
(ctx.isAdmin && !ctx.pluginsManagedElsewhere),
However, [OnboardingHost.tsx](https://github.com/Termix-SSH/Termix/blob/7fd85cc/src/ui/onboarding/OnboardingHost.tsx#L78-L112) hardcodes pluginsManagedElsewhere: false when determining whether partial onboarding is pending.
[OnboardingStage.tsx](https://github.com/Termix-SSH/Termix/blob/7fd85cc/src/ui/onboarding/OnboardingStage.tsx#L69-L95) subsequently fetches the actual onboarding plugin state and uses managedByLinkedServer.
For a linked desktop administrator with one available layout and an unseen layout step, this appears to create the following loop:
- OnboardingHost incorrectly considers the layout step relevant.
- OnboardingStage mounts and fetches the actual linked-server state.
- The layout step becomes irrelevant and disappears from the flow.
- The empty flow automatically finishes and writes onboarding preferences without marking the layout step as seen.
- The host rechecks after 750 ms and opens onboarding again.
OnboardingHost, OnboardingStage, startup.ts, and UiPreferencesContext are unchanged between 26.11.2 and 26.11.3. The new layout step appears to expose this pre-existing context inconsistency.
Supporting diagnostics
The following requests repeat approximately every 800 ms, all returning HTTP 200:
GET /plugins/developer-mode
GET /plugins/onboarding
GET /plugins/registry
GET /plugins
PUT /ui-preferences
This closely matches RECHECK_DELAY_MS = 750 in OnboardingHost.
The Escape workaround also makes sense given the partial onboarding keyboard handler: pressing Escape while the layout step is still present may mark it as seen before it disappears.
Suggested fix
Use the actual linked-server management status in OnboardingHost and pass the resolved plugin onboarding list into OnboardingStage. Both components should evaluate eligibility using the same context. Additionally, empty-flow completion should avoid redundant preference writes.
Regression coverage
The new [onboarding-steps tests](https://github.com/Termix-SSH/Termix/blob/7fd85cc/src/ui/tests/onboarding/onboarding-steps.test.ts#L84-L118) already test that the layout step is skipped for a linked desktop administrator. However, OnboardingHost.test.tsx mocks the core steps and onboarding stage, so this interaction isn't covered.
An integration test using the actual layout step, a linked administrator, one available layout, and an unseen layout version should verify that onboarding does not repeatedly mount or write preferences.
[Full comparison: v26.11.2...v26.11.3](https://github.com/Termix-SSH/Termix/compare/v26.11.2...v26.11.3)
This is a source-level diagnosis consistent with the observed symptoms and network trace; I haven't tested a patch yet.
The fix for the setup screen loop ships in 26.12.0. In 26.12.0 the "local server could not start" screen also shows the error lines and a button to open the log folder.
This was fixed in v26.12.0. Update Termix to the latest version to get it. Thanks for the report!