Обновление 1.25.10.2 → 1.25.12.4
Значимые изменения в версии 1.25.12.4, которые следует учитывать системному администратору:
- Обновлены сервисы Api, Api.Logs, а также агенты на Целевых машинах
Машина сервера
- Создайте бэкап БД:
docker exec -it postgres mkdir -p /var/lib/postgresql/data/backups && \
docker exec -it postgres pg_dump -U postgres -d primo-ai-logs -F c -f /var/lib/postgresql/data/backups/logs_$(date +%F).dump && \
mkdir -p /app/Primo.AI/Api/backups && \
sudo mv /app/Primo.AI/Api/volumes/pgsql-data/backups/*.dump /app/Primo.AI/Api/backups/.- Обновите образы.
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=Agent.NlpEngine-linux.zip&downloadStartSecret=uf3pctriscf
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=Agent-linux.zip&downloadStartSecret=uf3pctriscf
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=ai-server-api.tar.7z&downloadStartSecret=uf3pctriscf
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=ai-server-logs.tar.7z&downloadStartSecret=uf3pctriscf
names="ai-server-api ai-server-logs"
for name in $names; do
7z x $name.tar.7z
docker load -i $name.tar
doneЦелевые машины
Обновите дистрибутивы агентов.
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=Agent.NlpEngine-linux.zip&downloadStartSecret=uf3pctriscf
https://disk.primo-rpa.ru/index.php/s/t9BHBjR6PP06Yax/download?path=%2FRelease%2FAI%20Server%2Fdistr&files=Agent-linux.zip&downloadStartSecret=uf3pctriscf
sudo systemctl stop Primo.AI.Agent
sudo rm /app/Primo.AI/Agent/InMemoryProcessStore.json
sudo unzip -o Agent-linux.zip -x "appsettings*" -d /app/Primo.AI/Agent/
sudo chmod +x /app/Primo.AI/Agent/Primo.AI.Agent
sudo chown -R agent:primo-ai /app/Primo.AI/Agent/
sudo systemctl start Primo.AI.Agent
sudo systemctl stop Primo.AI.Agent.NlpEngine
sudo rm /app/Primo.AI/Agent/InMemoryProcessStore.json
sudo unzip -o Agent.NlpEngine-linux.zip -x "appsettings*" -d /app/Primo.AI/Agent.NlpEngine/
sudo chmod +x /app/Primo.AI/Agent.NlpEngine/Primo.AI.Agent.NlpEngine
sudo chown -R agent:primo-ai /app/Primo.AI/Agent.NlpEngine/
sudo systemctl start Primo.AI.Agent.NlpEngine