3.1 KiB
3.1 KiB
04 - Upgrading, Rollback and Delete
With TrueCharts we always push new versions of an App for any change. Even for the containers. This ensures upgrading the App always gives you the Latest-and-Greatest from TrueCharts
Requirements
- Make sure your storage-pool is created and working
- Make Make sure you selected your storage-pool when you first opened the "Apps" interface, if not please refer to quick-start guide
01 - First time Apps setup
- Make sure you have a working internet connection and can reach github and truecharts.org from the host system.
- Make sure you already added the TrueCharts catalog from guide 02
- Make sure your App is installed and, preferably, working
Upgrading
Upgrading the App using the GUI
- Go to
Installed Applications
- Make sure your App reports that an Upgrade is available on the App Card.
- Make note of the current version, you might want to revert to this version in the future.
- click the menu button on the right side of the App card
- Select
Upgrade
- Confirm your wish to upgrade
The App will then go through a process of backuping(!) and upgrading your App your changes. If the proces fails, your changes will not be submitted and the edit will be reverted. After the process popup disapears, it might take a few minutes to actually deploy your newly upgraded App, due to some things that happen in the background.
Rollback
Reverting using the GUI
Reverting using the CLI
- enter cli to enter the SCALE command line interface
- enter app chart_release rollback It should give you this screen:
- Enter the release name and item_version like this: (be sure to remove the # before the releasename)
- Click save then click quit It should show something like this, confirming the rollback:
Finding the last installed version
Sadly enough, SCALE does not lists which versions are available to roll-back to, but does required a version to be entered. There is a short walk-through to get the versioning history for the App in question:
- run export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
- run helm history jackett -n ix-jackett where "jackett" should be replaced with the name of the App that broke your UI You'll see this: Take note of the "Chart" column, it lists the version numbers you can enter in the rollback interface, prefixed by the App Name. Ofcoarse only enter the version number in the GUI or CLI, not the name