Upgrade Guide from v1.0.x to v2.0.0¶
This guide explains how to upgrade from IDSTower v1.0.x to v2.0.0, to upgrade please follow the below steps.
Stop your IDSTower service
$ sudo systemctl stop idstower.service
Take a full backup of your current IDSTower database
$ sudo mysqldump -u root -p IDSTower > IDSTower_backup_`date +%F_%H_%M_%S`.sql
Take a backup of your appsettings.json file
$ sudo cp /opt/idstower/appsettings.json appsettings.json.backup
Install Version 2.0.0 of IDSTower without starting the service.
Download the migration script:
$ sudo curl https://download.idstower.com/packages/2.0.0/sql_scripts/IDSTower_upgrade_database_schema_from_1.0.x_to_2.0.0.idempotent.sql --output idstower_schema_upgrade.sql
Apply the database migration script
$ sudo mysql -u [username] -p [DatabseName] < idstower_schema_upgrade.sql
complete the installiation steps of the last version.
Upgrade the service file
$ sudo cp /opt/idstower/idstower.service /etc/systemd/system/
$ sudo chmod 664 /etc/systemd/system/idstower.service
$ sudo systemctl daemon-reload
start the IDSTower service.
$ sudo systemctl start idstower.service
done.