Install the Player on Linux (EPD/MQTT)
Requirement
The player software for E-Paper Displays runs on the server and provides the content to be displayed on the EPDs.
This guide requires an installed and working iSign Server on Linux.
Installation
Connect to the server and run:
wget -qO- https://releases.de-signo.de/isign/9.0/install.sh | bash -s -- isign-mqtt-player
Available options
--testinguses the testing repository.- Install a specific version with
isign-player=<version>, for exampleisign-player=9.0.26. - If the iSign version contains a hyphen, such as
9.0.20-rc, replace it with a plus sign, such as9.0.20+rc.
Because iSign Server runs in Docker, use isign-server-docker-issrvconfig instead of issrvconfig. The former runs issrvconfig inside the container environment.
Set the configuration options:
sudo nano /etc/isign/player/compose/player-setup.jsonc
Enter the server details in player-setup.jsonc:
// iSign Player configuration file
{
"display-server": {
// Enter the server URLs here
"serverUrl": "https://YOUR_SERVER.isigncloud.de/ContentApi",
"issuerUrl": "https://YOUR_SERVER.isigncloud.de/ID",
"enablePlayerApiAuthentication": true,
},
"mqtt": {
// Configure the MQTT broker here.
// For encrypted mode, use mqtts.
"certificateFindValue": "YOUR_SERVER.isigncloud.de",
"broker": "mqtts://YOUR_SERVER.isigncloud.de:8883/",
// Configure authentication
"userName": "iSign",
"password": "iStMMb4a",
},
}
Apply the configuration and start the player:
sudo isign-player-docker-apply-config
isign.player.conf
The isign.player.conf file defines system parameters for the isign.server service, such as paths and CPU or performance limits.
This file is optional and is located at /etc/isign/player/isign.player.conf. Default values and descriptions of the variables are in isign.player.default.conf.
Some paths in isign.player.conf are mounted into Docker containers. A container cannot access symbolic links in these directories if they point to files outside the directories. Use hard links instead.
Security Notes
The iSign configuration creates a user on the MQTT broker for server access. This account is intended for server authentication. Use these credentials on an EPD only for testing. For a secure system, create separate credentials for each EPD and restrict each account to that EPD's topics. See the Mosquitto configuration manual.
Performance Tuning
Player load depends heavily on the number of connected displays. Recommended hardware:
| Number of players | RAM | CPU | Disk |
|---|---|---|---|
| 10–100 | 8 GB | 2 cores | 50 GB |
| 100–1,000 | 16 GB | 8 cores | 100 GB |
| More than 1,000 | 64 GB | 32 cores | 200 GB |
Host Swap
The MQTT Player host should have enough swap space. We recommend a swap file as large as the system's RAM.
Create an 8 GB swap file, for example:
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
# Enable immediately
sudo swapon /swapfile
# Enable after reboot
echo '/swapfile swap swap defaults 0 0' | sudo tee -a /etc/fstab
Docker
The default configuration limits the memory available to player components. Adjust it as follows:
sudo nano /etc/isign/player/isign.player.conf
Set the values as needed:
# Player resources
player_max_cpu=31
player_max_mem=63G
If other services, such as iSign Server, run on the same system, leave enough memory for the operating system and the other services.
inotify
Some systems have a low inotify limit, which can cause problems. Set fs.inotify.max_user_instances to 8192:
echo "fs.inotify.max_user_instances=8192" | sudo tee /etc/sysctl.d/70-isign.conf
Update
Update iSign and all system packages to the latest versions with:
sudo apt-get update
sudo apt-get install isign-player-mqtt-docker-compose
sudo isign-player-docker-apply-config
You can usually accept the default option for prompts during installation.
To install a specific version, replace the second command with:
sudo apt-get install isign-player-mqtt-docker-compose=9.0.19