Termix icon indicating copy to clipboard operation
Termix copied to clipboard

Error "This layout could not be shown"

Open Paul-Kalynyn opened this issue 1 month ago • 17 comments

What happened?

Opening new 26.10.4 Windows x64 Portable Termix and getting this error.

Steps to reproduce

  1. Downlod 26.10.4 Windows x64 Termix Portable
  2. Open Termix.exe
  3. 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?

Image

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

Paul-Kalynyn avatar Oct 22 '26 08:10 Paul-Kalynyn

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.

termix-triage-bot[bot] avatar Oct 22 '26 08:10 termix-triage-bot[bot]

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.

LukeGus avatar Oct 22 '26 17:10 LukeGus

I have the same issue (26.10.5, MSI installation), Termix starts with TERMIX_SAFE_LAYOUT=1, the log is attached

termix-main.log

hadimid avatar Oct 22 '26 19:10 hadimid

Image

Umar7417 avatar Oct 22 '26 21:10 Umar7417

26.10.5

Umar7417 avatar Oct 22 '26 21:10 Umar7417

26.10.5 same error

goxofy avatar Oct 23 '26 08:10 goxofy

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

Image

ETA: Works after setting TERMIX_SAFE_MODE=1 and restart

NukeThemTillTheyGlow avatar Oct 23 '26 13:10 NukeThemTillTheyGlow

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

OscarsWorldTech avatar Oct 23 '26 15:10 OscarsWorldTech

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!

LukeGus avatar Oct 29 '26 19:10 LukeGus

This was fixed in v26.10.6. Update Termix to the latest version to get it. Thanks for the report!

termix-triage-bot[bot] avatar Oct 29 '26 23:10 termix-triage-bot[bot]

The issue is still ongoing.

I am seeing this on Termix Desktop v26.11.1 after upgrading from v26.11.0

Dark4Codrutz avatar Nov 09 '26 10:11 Dark4Codrutz

Reopening, since @Dark4Codrutz says this still happens. A maintainer will take another look.

termix-triage-bot[bot] avatar Nov 09 '26 10:11 termix-triage-bot[bot]

By reinstalling v26.11.1 I was prompted (again ?) with this screen:

Image

By choosing the first option instead of the second option I was able to avoid the layout error.

Dark4Codrutz avatar Nov 09 '26 10:11 Dark4Codrutz

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.

j-inc avatar Nov 11 '26 22:11 j-inc

same solution here : I was able to resolve the issue by deleting all site data and reloading.

pinkfloydFR avatar Nov 14 '26 12:11 pinkfloydFR

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.

LukeGus avatar Nov 16 '26 23:11 LukeGus

This was fixed in v26.11.2. Update Termix to the latest version to get it. Thanks for the report!

termix-triage-bot[bot] avatar Nov 18 '26 17:11 termix-triage-bot[bot]