1. Create a .tzg

    Special instruction of its contents by Sverre

2. If the sw version is novel, add it to footfall_sensor_type -sql-table, using Django admin interface

2. Log in to remote.innorange.fi

3. copy the .tzg file to its /tmp/ -directory

4. go to anttiwork directory and open sensor_file_upgrade.py file

5. The beginning of the file lists the usage and virtualenv usage


Helpers:


Use the query below (e.g. via Heidi) to monitor sw version upgrade status


SELECT admin_tools_footfallsensortype.*, admin_tools_footfallsensor.reverse_ssh_port,admin_tools_footfallsensor.friendly_name, sensor_id  from admin_tools_footfallsensor

INNER JOIN admin_tools_footfalllocation ON admin_tools_footfalllocation.id=admin_tools_footfallsensor.location_id

INNER JOIN admin_tools_footfallsensortype ON admin_tools_footfallsensortype.id=admin_tools_footfallsensor.sensor_type_id

INNER JOIN admin_tools_shop  ON admin_tools_shop.id=admin_tools_footfalllocation.shop_id

WHERE admin_tools_shop.name ='Myyrmanni'