Skip to content

Upgrading the App

Here you will find any steps necessary to upgrade the App in your Nautobot environment.

Upgrade Guide

WARNING: The app needs Nautobot 3.2.8 or later. If your Nautobot is older, pip also upgrades Nautobot, and the Nautobot database migrations are hard to undo. Back up the Nautobot database. Upgrade Nautobot with its own upgrade steps before you install or upgrade the app. If you do not want pip to change Nautobot, pin nautobot to your installed version in a constraints file. Then use pip install -c <file>. If your Nautobot is older than 3.2.8, pip then stops with an error and does not install the app.

  1. Read the release notes of each version after your version.
  2. Upgrade the package. For a Git install, use the pip install command of the Install Guide with the SHA of the new commit.

    pip install --upgrade nautobot-containerlab-orchestrator
    
  3. Run the migrations and clear the cache.

    nautobot-server post_upgrade
    
  4. Restart the Nautobot, worker, and scheduler services.

    sudo systemctl restart nautobot nautobot-worker nautobot-scheduler