Skip to main content

Overview

In the current state of Nanocl, upgrading is not as simple as it should be. This is because Nanocl is still in development and the API is not stable yet. This means that the API can change at any time and upgrading Nanocl can break because of the previous database state.

note

We encourage our community to help us stabilize the API and make upgrading as simple as possible. To do so don't hesitate to create issues, create discussions on our github repository or join our discord server.

Upgrading

To upgrade Nanocl, you will need to follow these steps:

  • Backup your current state by running:

    nanocl backup -o /path/to/backup
  • Uninstall the current version of Nanocl

    nanocl uninstall
  • Remove the current nanocl state by running:

    sudo rm -rf /var/lib/nanocl
  • Grap the latest version of the nanocl cli using our installation guide

  • Install the new version

    nanocl install

Then you need to reapply your Statefiles to recover your previous state.

To compensate the lack of upgrade support you can share this meme with your friends: