Delete indexes and workloads after Helm upgrade

When you upgrade your Helm chart because of a major release, like moving from 1.4.x to 1.5.x, you need to delete the workloads before your next deployment. You also need to recreate the indexes folder from your Author environment.

Delete index

Here, we show you how to delete index folders.

  • Cockpit

  • k8s

To delete the index folders:

  1. Go to Environments.

  2. Click the Manage tab.

  3. Click Delete indexes for the desired environment.

    delete index

To delete the index folders:

  1. In Rancher, click on the Execute shell navigation item on the desired Author environment.

    rancher execute shell screenshot

  2. Run the following commands:

    cd /mgnl-home/repositories/magnolia/workspaces/ (1)
    find . -name index -exec rm -rf {} \; (2)
    1 Changes to your workspaces directory.
    2 Finds and removes the index folders.