Xibo Linux player offline install

Hello everybody,
I’m trying to setup a Xibo Linux Client on a set of devices that are connected to a private network without access to Internet. I will install Xibo CMS on a private hosting PC, using Docker.

In order to operate in the disconnected device, I downloaded a Xibo Snap using the command:

  • sudo snap download ubuntu-core
    
  • sudo snap download xibo-player
    

Then I copied those files on the disconnected client and tried the following step: First

  • sudo snap ack ubuntu-core_1797.assert
    
  • sudo snap ack xibo-player_108.assert
    

Both steps have been successful.
Then I tried:

  • sudo snap install  ubuntu-core_1797.snap
    

it works fine

Finally the command:

  • sudo snap install xibo-player_108.snap
    

fails, because it search connecting to the web.
Here is the error message:

error: cannot perform the following tasks:
Ensure prerequisites for “xibo-player” are available (Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io on [::1]:53: read udp [::1]:55750->[::1]:53: read: connection refused)

If I perform the same operation on a connected system, I get the following message:

**sudo snap install xibo-player_108.snap**
**error: cannot install snap file: experimental feature disabled - test it by**
**       setting 'experimental.layouts' to true**

I have no idea where I should operate: may be upgrading snapd?

Here is my system setup:

  • 16.04.6-LTS
  • snap 2.38
  • snapd 2.38
  • series 16
  • ubuntu 16.04
  • kernel 4.15.0-50-generic

Is there some different approach that I should use in order avoid cheching for Prerequisites when operating offline? Furthermore, is Ubuntu 16.04 supported?

Best regards and thank you for your help.
Giovanni

Here is my system setup:

  • 16.04.6-LTS
  • snap 2.38
  • snapd 2.38
  • series 16
  • ubuntu 16.04
  • kernel 4.15.0-50-generic

Is there some different approach that I should use in order avoid cheching for Prerequisites when operating offline?
Best regards and thank you for your help.
Giovanni

Hi,
I never try by this way but if you want to use xibo on a private network you can use AppImage :
https://github.com/xibosignage/xibo-linux/releases/download/1.8-R6/xibo_player.tar.gz

Or compile the snap with git source and with snapcraft command for to do it

Hi Tony, first thank you for your help.
I really appreciate it.
I will give it a try with your solution.

The strange thing is that Xibo company states that the selected package format for distribution is snap (I found some reference to AppImage when, at October 2020, there has been some issue related to video playing on Linux).

Moreover Ubuntu natively supports snap, as far as I know.
I will provide additional information in the next few hours.
Thanks again for your help.
Giovanni

Thank you for your help, however looking at Xibo company documentation, it seems that AppImage approach requires at least Ubuntu 18.04 (Request for testing: AppImage packaging option).
The AppImage approach doesn’t work on my Ubuntu 16.04 system.

I will perform additional test, thank you again.

ups i forgot that for AppImage and Ubuntu version.
Maybe you could try to compile snap with snapcraft but i think the better way is to use ubuntu 18.04 ou 20.04 now (16.04 will be outdated sound for Maintenance updates)

Hi Tony, thanks again for your help.
My main issue is that at present time I have lot of devices installed with this SW version, so I should further investigate if I can use the old Linux version.
However, great news, it seems I found what snap I should download:
core18
core20
gnome-3-28-1804
gtk-common-themes
snapd
ubuntu-core
xibo-player

I will perform some test, I will tell you and the community what happens.
Thank you for your help and your advices.
Best regards
Giovanni

Hello everybody,
I have been able to make things work.
I share the steps that I followed, please let me know if this post is fine, or if it better to delete it.

From an online PC, with the same OS version of those that operate offline, perform command:

sudo snap download core18
sudo snap download core20
sudo snap download gnome-3-28-1804
sudo snap download gtk-common-themes
sudo snap download ubuntu-core
sudo snap download xibo-player

Copy the downloaded file into the offline PC and perform the following steps

sudo snap ack core18_1988.assert
sudo snap ack core20_904.assert
sudo snap ack gnome-3-28-1804_145.assert
sudo snap ack gtk-common-themes_1514.assert
sudo snap ack ubuntu-core_1797.assert
sudo snap ack xibo-player_108.assert

sudo snap install core18_1988.snap
sudo snap install core20_904.snap
sudo snap install gnome-3-28-1804_145.snap
sudo snap install gtk-common-themes_1514.snap
sudo snap install ubuntu-core_1797.snap
sudo snap install xibo-player_108.snap

Now from a NON root shell, start xibo-player.config
Everything works fine.
Best regards

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