-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: Upgrading - Nanocl | ||
sidebar_label: Upgrade | ||
--- | ||
|
||
# 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][github_issues], create [discussions][github_discussions] on our github repository or join our [discord][discord] server. | ||
::: | ||
|
||
# Upgrading | ||
|
||
To upgrade Nanocl, you will need to follow these steps: | ||
|
||
- Uninstall the current version of Nanocl | ||
```sh | ||
nanocl uninstall | ||
``` | ||
- Remove the current nanocl state by running: | ||
```sh | ||
sudo rm -rf /var/lib/nanocl | ||
``` | ||
- Grap the latest version of the nanocl cli using our [installation guide](/manuals/nanocl/install/overview) | ||
- Install the new version | ||
```sh | ||
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: | ||
|
||
<div class="center"> | ||
<img src="/img/nanocl_upgrade.jpg" /> | ||
</div> | ||
|
||
[github_issues]: https://github.com/next-hat/nanocl/issues | ||
[github_discussions]: https://github.com/next-hat/nanocl/discussions | ||
[discord]: https://discord.gg/WV4Aac8uZg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.