Error "This layout could not be shown"
What happened?
Opening new 26.10.4 Windows x64 Portable Termix and getting this error.
Steps to reproduce
- Downlod 26.10.4 Windows x64 Termix Portable
- Open Termix.exe
- Error is shown
What did you expect?
App opens as expected
Termix version
26.10.4
Platform
Desktop app (Windows)
Server install
Docker
Environment
Windows 11. Previously I had portable 2.8.* Termix, then 2.9.*, then 26.10.2. 26.10.2 wasn't syncing with Server. 26.10.3 had similar "This layout could not be shown" error.
Logs
Anything else?
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
Users encounter 'This layout could not be shown' errors on startup or after updates due to plugin asset 404s and cached SDK mismatches. The core shell needs to handle layout loading retries and cache busting more robustly.
| Field | Value |
|---|---|
| Type | Bug |
| Difficulty | 3/5 (Moderate) |
| Priority | High |
This looks like #1697, which was already fixed. Make sure you are on the latest version. If you are and it still happens, say so here.
A maintainer will take a look. If anything above looks wrong, just say so.
Thanks for the report. Can you open Termix with ?safe-layout=1 (or set TERMIX_SAFE_LAYOUT=1) and tell us what the repair screen shows? Also please send termix-main.log from your Termix data folder (%APPDATA%\Termix on Windows) from when the error appears.
I have the same issue (26.10.5, MSI installation), Termix starts with TERMIX_SAFE_LAYOUT=1, the log is attached
26.10.5
26.10.5 same error
I have the same issue with my Windows app, both server and app on latest release (.5). I do get this error message: Failed to fetch dynamically imported module: http://localhost:30001/plugin-assets/classic-layout/frontend.js?v=c199a31b2ca6
ETA: Works after setting TERMIX_SAFE_MODE=1 and restart
Getting same issue even with safe mode on: Layout: Classic (classic) Plugin: Classic Layout 1.0.2 Reason: The layout failed to start. Error: error loading dynamically imported module: https://internal-url.org/plugin-assets/classic-layout/frontend.js?v=c199a31b2ca6
Fixed for the next release. Plugin assets answer 404 until the plugin has finished starting, and on a slow desktop start the shell asked for the layout before that. The browser then keeps that failure for the URL, so it never recovered. The shell now tries the layout again a few times under a new URL. While reading the attached log I also fixed ACME SSL failing with Cannot find module 'axios' on the desktop. Thanks everyone for the details!
This was fixed in v26.10.6. Update Termix to the latest version to get it. Thanks for the report!
The issue is still ongoing.
I am seeing this on Termix Desktop v26.11.1 after upgrading from v26.11.0
Reopening, since @Dark4Codrutz says this still happens. A maintainer will take another look.
By reinstalling v26.11.1 I was prompted (again ?) with this screen:
By choosing the first option instead of the second option I was able to avoid the layout error.
I'm seeing the same issue after upgrading from v26.11.0 to v26.11.1 — both simple layout and classic layout are available but neither load successfully.
I'm using Termix as an LXC provided by community scripts within Proxmox.
The error I receive is:
The requested module 'https://termix.int.domain.tld/shared/termix-ssh-plugin-sdk-ui.js' doesn't provide an export named: 'LoadingState'
I was able to resolve the issue by deleting all site data and reloading.
same solution here : I was able to resolve the issue by deleting all site data and reloading.
The missing export error after updating (LoadingState not provided) was the browser keeping an old copy of the plugin SDK. Fixed for 26.11.2, see #1796. Clearing site data works until then. If you still see 'This layout could not be shown' on 26.11.2 with a different error, please post the error line and termix-main.log.
This was fixed in v26.11.2. Update Termix to the latest version to get it. Thanks for the report!