Manual agents update from server console¶
- Create a config named AGENT_UPDATE. 
- Move all the agents that need to be updated to AGENT_UPDATE. 
- 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;