Manual agents update from server console

  1. Create a config named AGENT_UPDATE.

  2. Move all the agents that need to be updated to AGENT_UPDATE.

  3. On the server, in the terminal, you need to run a command in which you only need to update NEEDED_VERSION.

echo "UPDATE agent_config SET agent_build_number=NEEDED_VERSION where id=(select id from agent_config where name_ru='AGENT_UPDATE' or name_en='AGENT_UPDATE')" |staffcop sql;