These docs are for Cribl Edge 4.10 and are no longer actively maintained.
See the latest version (4.13).
Manual Rollback
Learn how to rollback back an upgrade manually using a command line interface (CLI).
Manual Rollback
Using CLI commands, it’s possible to explicitly roll back an on-prem Leader, and Nodes, to an earlier release. This works much like an upgrade.
Explicit rollback might be necessary if an automatic rollback fails. Otherwise, Cribl recommends first considering other options – an upgrade, or working with Cribl Support – before performing a manual rollback.
Rollback can encounter these complications:
- Your current configuration might take advantage of dependencies not supported in an earlier release.
Do not manually roll back any Cribl Edge instance running in a container. Instead, locate, download, and launch a container image hosting the earlier version you want.
Rollback Outline
We assume that you are rolling back to a previously deployed version that you know to be stable in your environment. The broad steps are:
Ideally, link your deployment to a Git remote repo, and commit and push your Leader’s configuration to that remote. The repo will provide a stable location from which to restore your config, if necessary.
Stop the Leader instance. (From
$CRIBL_HOME/bin/
, execute./cribl stop
.)Also create a local backup of your Leader’s whole
$CRIBL_HOME
directory.Obtain the installation package for the earlier release and platform you need. (See the Rollback Example.)
Uncompress the earlier version to your original deployed directory. You can do this from the command line or programmatically (see the Rollback Example).
If installing to your existing target directory fails, try the same mitigations we list above for upgrades.
- In a distributed deployment, Nodes must not run a higher
version than the Leader. Repeat steps 2, 3, and 5 above on all Nodes,
substituting “Node” for “Leader.” (On Nodes where you’ve integrated
Cribl Edge with systemd, stop the Cribl server with:
systemctl stop cribl-edge
.)
Rollback Example
While rollbacks can be partially scripted, discovering earlier installation packages cannot be automated – the initial steps here are manual:
Stop and back up the Leader. (Follow steps 1–3 in the Rollback Outline.)
Open the Cribl Past Releases page: https://cribl.io/download/past-releases/.
Locate the earlier version that you want to restore.
Use the adjacent drop-down to select your target platform.
Right-click (or
Ctrl
-click) the corresponding Download button, and copy its URL to your clipboard. In this example, we’ve copied:https://cdn.cribl.io/dl/4.1.0/cribl-4.1.0-6979aea9-linux-arm64.tgz
Swap that URL into an untar command like the following. Run this command from the parent (typically
/opt/
) of your existing$CRIBL_HOME
directory:[sudo] curl -Lso - https://cdn.cribl.io/dl/4.1.0/cribl-4.1.0-6979aea9-linux-arm64.tgz | tar zxv
Repeat the preceding steps to adjust all Nodes to a compatible version.