Offline Installation of the SmartPlayer Platform on Ubuntu / Astra Operating Systems
Description of the Situation
This page describes the possibility of performing an independent offline installation of the SmartPlayer platform on Ubuntu and Astra operating systems.
Supported Versions
| Operating System | Operating System Distribution | Recommended for Installation |
|---|---|---|
| Ubuntu Server 24.04 LTS | Link | Yes |
| Ubuntu Server 22.04 LTS | Link | Yes |
| AstraLinux Orel | Link | Yes, for government institutions. Distributor ID: AstraLinuxCE |
| Astra 1.7.9 | Provided by the customer | Yes, but only in exceptional cases, as the package versions are outdated. |
| Astra 1.8.5 | Provided by the customer | Yes. |
| Other platforms | Individually, through a request to managers and preliminary testing. | — |
Installing the SmartPlayer Platform on Ubuntu / Astra Operating Systems Using a RUN Script
Description
A RUN script is generated by default for installing and updating the server application.
The script automatically performs all stages of installation or update of the server application. Simply download the script to the server, grant execution permissions, and run it.
wget https://jenkins_dists_first_install_platform.hb.bizmrg.com/sp_docker_installation_first_time_*.run
chmod +x sp_docker_installation_first_time_*.run
./sp_docker_installation_first_time_*.run
Before installation, the script performs diagnostics and displays warnings if the system does not meet the requirements. Some warnings can be ignored, but in that case there is no guarantee that the application will operate stably.

Installation
During a standard launch, no additional actions are required. The archive will automatically unpack itself and install the server application. At the end of the installation process, the system will display a login and a generated password for the personal account. These credentials must be saved or recorded. They are not stored anywhere else, and the user will not be able to retrieve them again.
Сертификат SSL
При использовании https автоматически генерируется временный сертификат ssl. Цепочку сертификатов (ssl.crt) и приватный ключ (ssl_private.key) необходимо будет заменить в директории: /home/smartplayer/smartplayer/ssl
Затем перезагрузить контейнер — smartplayer-nginx-gateway-1 с помощью команды:
docker restart smartplayer-nginx-gateway-1
Обновление
При обновлении серверное приложение должно быть запущено, потому что скрипт автоматически находит директорию по запущенным контейнерам docker. Если по какой то причине сделать это не удается, то необходимо запрашивать директорию в ручном режиме. В процессе производится:
- снятие дампа mysql;
- обновление конфигураций docker;
- загрузка новых образов;
- миграция базы данных;
- загрузка виджетов