Upgrade Guide from IDSTower 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.

  1. Stop your IDSTower service

$ sudo systemctl stop idstower.service
  1. Take a full backup of your current IDSTower database

$ sudo mysqldump -u root -p IDSTower > IDSTower_backup_`date +%F_%H_%M_%S`.sql
  1. Take a backup of your appsettings.json file

$ sudo cp /opt/idstower/appsettings.json appsettings.json.backup
  1. Install Version 2.0.0 of IDSTower without starting the service.

  2. 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
  1. Apply the database migration script

$ sudo mysql -u [username] -p [DatabseName] < idstower_schema_upgrade.sql
  1. complete the installiation steps of the last version.

  2. 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
  1. start the IDSTower service.

$ sudo systemctl start idstower.service
  1. done.