Layout X is invalid or missing - including the "default" Xibo Layout "1"

Hi there,

I have a problem running the following setup:

Server:

Running Xibo Version 2.3.7 inside a Docker Container:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b705859fc17c xibosignage/xibo-cms:release-2.3.7 “/entrypoint.sh” 3 days ago Up 3 days 0.0.0.0:80->80/tcp xibo_cms-web_1
e797a2ce73c3 ianw/quickchart “node --max-http-hea…” 3 days ago Up 3 days 3400/tcp xibo_cms-quickchart_1
1699e2476615 xibosignage/xibo-xmr:release-0.8 “/entrypoint.sh” 3 days ago Up 3 days 0.0.0.0:9505->9505/tcp, 50001/tcp xibo_cms-xmr_1
1e5db22c9cb2 mysql:5.6 “docker-entrypoint.s…” 3 days ago Up 3 days 3306/tcp xibo_cms-db_1

Time & Date

Time and date on the client are set correctly (used “date” to verify).
Output of “date” on the client is identical to output of “date” on the server.

Player Setup:

Ubuntu 18.04, upgraded to 20.04.1, completely fresh install from today.
Installed xibo-player after upgrading and updating the system via snap install xibo-player --channel=stable, so it is running now:
Version 1.8-R5
Code Version 50

Issue

The player is not accepting the layouts, not even the stock layout that comes with the installation (Layout 1).
When running xibo-player, I am presented a default “Xibo Open Source Digital Signage” static view:

Sorry, new users can only put one embedded media item in a post.

OK, basically you can see parts of the things in the screenshot I am not allowed to upload on the next one… If I should upload the other one as well, please let me know…

Pressing “i”, I get this:

I am wondering why Layout 1 is declared an “Invalid Layout” three times… :face_with_raised_eyebrow:

XMR seems not to update even when I tell the display to delete the XMR configuration for this player and resend a a new key via “Edit Display → Advanced → Reconfigure XMR” (I am translating this from a german setup so please excuse if I don´t nail the exact names for these options). I don´t know if this is relevant but I did notice it and I am wondering why this is the case. :thinking:

When running xibo-player from the terminal, I get the following infos listed in the terminal:

[17:16:07.406] [2508] [error]: [LayoutParser] Layout 1 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/1.xlf: cannot open file
[17:16:07.406] [2508] [error]: [LayoutParser] Layout 16 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/16.xlf: cannot open file
[17:16:08.658] [2508] [error]: [LayoutParser] Layout 1 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/1.xlf: cannot open file
[17:16:08.658] [2508] [error]: [LayoutParser] Layout 16 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/16.xlf: cannot open file
[17:21:09.868] [2508] [error]: [LayoutParser] Layout 1 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/1.xlf: cannot open file
[17:21:09.868] [2508] [error]: [LayoutParser] Layout 16 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/16.xlf: cannot open file
[17:26:11.044] [2508] [error]: [LayoutParser] Layout 1 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/1.xlf: cannot open file
[17:26:11.044] [2508] [error]: [LayoutParser] Layout 16 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/16.xlf: cannot open file
[17:31:11.859] [2645] [error]: [1.xlf] Download error: [HTTP] 404 Not Found
[17:31:11.905] [2646] [error]: [16.xlf] Download error: [HTTP] 404 Not Found
[17:36:13.295] [2508] [error]: [LayoutParser] Layout 1 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/1.xlf: cannot open file
[17:36:13.295] [2508] [error]: [LayoutParser] Layout 16 is invalid or missing. Reason: /home/admin_hzgadmin/snap/xibo-player/16.xlf: cannot open file
[17:41:14.146] [3277] [error]: [16.xlf] Download error: [HTTP] 404 Not Found
[17:41:14.147] [3278] [error]: [1.xlf] Download error: [HTTP] 404 Not Found
[17:46:15.245] [3386] [error]: [1.xlf] Download error: [HTTP] 404 Not Found
[17:46:15.275] [3387] [error]: [16.xlf] Download error: [HTTP] 404 Not Found
[17:51:16.306] [3454] [error]: [1.xlf] Download error: [HTTP] 404 Not Found
[17:51:16.321] [3455] [error]: [16.xlf] Download error: [HTTP] 404 Not Found

where Layout 1 is the untouched stock layout that came with the installation and Layout 16 is basically the Riverside Monitor Default Layout I´ve created running along this Tutorial:

Ports 80 and 9505 are LISTENING on the Server when checking from the client.

I can login to the Xibo backend from the client and run the preview of Layout 16 without any problem.

The storage on the client has a total of 1,8MB, so it seems it has never downloaded anything.

Network connectivity has no problem at all, I can access the server from the client via HTTP, SSH, Ping etc. either via the Hostname or the FQDN, which I have used to setup the player.

Since not even the stock design is declared valid, I assume there is no issue with my Layout.

Can anyone give me a hint on how to proceed / further diagnose the issue / solve the problem? :wink:
If you need any more information, please let me know and I will try to provide it.

Best and TIA,
eVel

Never mind.
I switched the player to Windows10 and it just works.
Just because I am curious, if anyone can hint at anything regarding the Problem above, please let me know!

Best,
eVel

Hi,
i see your user is admin_hzgadmin, how did you start your xibo-player? manually or with script? it’s this user ‘admin_hzgadmin’ who need to start xibo-player if you want to use his home folders.
Have you check the rules on the folder ‘/home/admin_hzgadmin/snap/xibo-player/’ for user admin_hzgadmin?
Have you try to use another folder ? for example /home/admin_hzgadmin/Documents/xibo/ ?

Could u try the AppImage version of Xibo Ubuntu Player

Hi Tony,
as stated in my initial post, I ran the player from the terminal to get the “Layout X is invalid or missing.” messages.

I assume you mean I should check the permissions on the folder /home/admin_hzgadmin/snap/xibo-player/, here are the results:

drwxr-xr-x 4 admin_hzgadmin admin_hzgadmin 4096 Dez 10 13:15 xibo-player

and inside the xibo-player folder

drwxr-xr-x 4 admin_hzgadmin admin_hzgadmin 4096 Dez 10 13:15 50
drwxr-xr-x 3 admin_hzgadmin admin_hzgadmin 4096 Dez 10 13:20 common
lrwxrwxrwx 1 admin_hzgadmin admin_hzgadmin 2 Dez 10 13:15 current → 50

As you can see, the user who is running the xibo-player has rwx permission for all the folders…

I have not tried another folder since the permissions are looking good to me and sadly, when I tried it in Windows, it just works… :frowning:

If I misunderstood what you ment by “check the rules”, please let me know!

Best,
eVel

Could u try the AppImage version of Xibo Ubuntu Player

Yep. I did and it is working like a charm! :grinning:
Thanks a lot!

Best,
eVel

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