Upgrading Console¶
Overview¶
We plan to provide a seamless upgrade path from the v1.0 release, ensuring that no database deletion is required.
Upgrading from Beta to v1.x¶
When upgrading from Beta to v1.x, the config.yml file has undergone changes. You will need to either create a new one or let Console generate it for you automatically.
Steps to upgrade from Beta to v1.x¶
-
Stop the Beta Console:
Close the terminal running the Console executable. Simply closing the browser window will not stop the Console. -
Locate the Existing
config.ymlFile:
Theconfig.ymlfile is typically located at~/config/config.yml, relative to the path whereconsoleapplication is located. -
Rename or Delete the Existing
config.yml:- If you don't need the old configuration, delete the
config.ymlfile. - If you want to keep your old configuration, rename config.yml to something like
config_old.ymlas an example.
- If you don't need the old configuration, delete the
-
Download and Run the New v1.x Console:
- Download the latest
v1.xexecutable. - Copy the downloaded executable to the same directory where the Beta executable is located.
- Run the new
v1.xConsole executable.
- Download the latest
-
Confirm the New
config.ymlIs Generated:
A freshconfig.ymlwill automatically be generated in the same directory. -
Make Changes to
config.yml(Optional):- Stop the Console.
- Edit the
config.ymlfile to update fields like the username, password, or any other necessary settings based on the values from your old configuration file (e.g.,config_old.yml). - After making the changes, run the new Console executable for them to take effect.
Upgrading from Alpha to Beta¶
Starting from Beta release, all sensitive data in the SQLite database will be encrypted using an encryption key. Due to this security enhancement, you'll need to delete the existing database file before upgrading.
Steps to Delete Database¶
-
Navigate to the directory where the
consoledatabase file is stored:%APPDATA%\device-management-toolkit~/.config/device-management-toolkit~/Library/Application Support/device-management-toolkit -
Delete the
consoledatabase file.
Add all the devices¶
After deleting the database and running the Console executable, you'll need to reconfigure or add all your devices again, as the previous data cannot be migrated due to the encryption changes.