NadekoBot/docs/guides/Upgrading Guide.md

27 lines
1.7 KiB
Markdown
Raw Normal View History

# This section is for users who are upgrading from versions older than 1.4 to 1.4+
2017-06-13 14:52:31 +00:00
#### If you have NadekoBot 1.x on Windows
- Go to `NadekoBot\src\NadekoBot` and backup your `credentials.json` file; then go to `NadekoBot\src\NadekoBot\bin\Release\netcoreapp1.0` and backup your `data` folder.
2017-06-13 14:52:31 +00:00
- Follow the [Windows Guide](http://nadekobot.readthedocs.io/en/latest/guides/Windows%20Guide/) and install the latest version of **NadekoBot**.
- Paste your `credentials.json` file into the `C:\Program Files\NadekoBot\system` folder.
- Paste your `data` folder into `C:\Program Files\NadekoBot\system` folder.
- If it asks you to overwrite files, it is fine to do so.
2016-12-02 11:33:04 +00:00
- Next launch your **new** Nadeko as the guide describes, if it is not already running.
2017-06-13 14:52:31 +00:00
#### If you are running Dockerised Nadeko
2017-06-12 14:34:37 +00:00
2017-09-26 15:18:20 +00:00
- There is an updating section in the docker guide.
2017-06-13 14:52:31 +00:00
2017-06-13 14:57:34 +00:00
#### If you have NadekoBot 1.x on Linux or macOS
2017-06-13 14:52:31 +00:00
- Backup the `NadekoBot.db` from `NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data`
- Backup the `credentials.json` from `NadekoBot/src/NadekoBot/`
- **For MacOS Users Only:** download and install the latest version of [.NET Core SDK](https://www.microsoft.com/net/core#macos)
2017-09-26 15:18:20 +00:00
- Next, use the command `cd ~ && wget -N https://github.com/Kwoth/NadekoBot-BashScript/raw/1.9/linuxAIO.sh && bash linuxAIO.sh`
2017-06-13 14:52:31 +00:00
- **For Ubuntu, Debian and CentOS Users Only:** use the option `4. Auto-Install Prerequisites` to install the latest version of .NET Core SDK.
2017-09-26 15:18:20 +00:00
- Use option `1. Download NadekoBot` to update your NadekoBot to 1.9.x.
2017-06-13 14:52:31 +00:00
- Next, just [run your NadekoBot.](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#running-nadekobot)
2017-09-26 15:18:20 +00:00
- *NOTE: 1.9.x uses `NadekoBot.db` file from `NadekoBot/src/NadekoBot/bin/Release/netcoreapp2.0/data` folder.*