# Xibo Docker CMS: Image widgets inserted as "global" widgets and Layout Designer crashes until page reload

**URL:** https://community.xibo.org.uk/t/xibo-docker-cms-image-widgets-inserted-as-global-widgets-and-layout-designer-crashes-until-page-reload/37942
**Category:** CMS Installation
**Created:** [May 14, 2026, 4:24am UTC](https://community.xibo.org.uk/t/xibo-docker-cms-image-widgets-inserted-as-global-widgets-and-layout-designer-crashes-until-page-reload/37942 "2026-05-14T04:24:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wolfgang.huebsch](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/w/ed655f/32.png) [@wolfgang.huebsch](https://community.xibo.org.uk/u/wolfgang.huebsch)
#### Post date: [May 14, 2026, 4:24am UTC](https://community.xibo.org.uk/t/xibo-docker-cms-image-widgets-inserted-as-global-widgets-and-layout-designer-crashes-until-page-reload/37942/1 "2026-05-14T04:24:55Z")

</div>

Hello,

I have a reproducible issue with the Xibo layout designer in Docker deployments.

Environment:

- Xibo CMS 4.3.1 and also tested with 4.2.3

- Docker Compose installation

- Ubuntu Server

- Apache reverse proxy with SSL

- Browser tested:

Problem:  
When inserting an image widget into a layout, the designer immediately throws JavaScript errors and the inserted element is not visible until the page is reloaded manually with F5.

After reloading:

- the image is correctly present

- the widget exists

- editing works

So persistence/storage works, but the live designer state breaks.

JavaScript error:

```auto
Uncaught TypeError: Cannot read properties of undefined
at lD.selectObject (...)

```

Originally the database created widgets with:

```auto
type='global'

```

instead of:

```auto
type='image'

```

Example:

```auto
SELECT widgetId, type, playlistId
FROM widget;

```

returned:

```auto
8 global
9 global
11 global

```

while `lkwidgetmedia` correctly referenced image media.

I manually repaired them with:

```auto
UPDATE widget w
JOIN lkwidgetmedia lwm ON lwm.widgetId=w.widgetId
SET w.type='image'
WHERE w.type='global';

```

After this:

- existing broken image widgets worked correctly

- BUT newly inserted images still fail in the live designer

Additional findings:

- `/playlist/widget/resource/...` preview works correctly

- uploads work

- media table entries are valid

- image widgets are eventually stored correctly after reload

- issue persists across versions 4.3.1 and 4.2.3

- issue persists with fresh database and fresh install

- issue persists across browsers

Apache reverse proxy:

```auto
ProxyPass / http://127.0.0.1:8089/
ProxyPassReverse / http://127.0.0.1:8089/
RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME}

```

Question:  
Has anyone seen image widgets being temporarily created as `global` widgets in the designer or the designer failing in `selectObject()` after `PUT /playlist/widget/.../elements`?

Thank you.

---

<div class="post-metadata">

### Author: ![Erik\_Romo](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/erik_romo/32/16594_2.png) [@Erik\_Romo](https://community.xibo.org.uk/u/Erik_Romo)
#### Post date: [May 25, 2026, 10:52pm UTC](https://community.xibo.org.uk/t/xibo-docker-cms-image-widgets-inserted-as-global-widgets-and-layout-designer-crashes-until-page-reload/37942/2 "2026-05-25T22:52:41Z")

</div>

Hi Wolfgang, regarding this case, I highly suggest trying it on 4.4.3 and testing it on our trial CMS. If everything goes well, it should certainly go smoothly on your self-hosted instance.

---

<div class="post-metadata">

### Author: ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)
#### Post date: [August 25, 2026, 4:53am UTC](https://community.xibo.org.uk/t/xibo-docker-cms-image-widgets-inserted-as-global-widgets-and-layout-designer-crashes-until-page-reload/37942/3 "2026-08-25T04:53:06Z")

</div>

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
