2017-06-13 14:52:31 +00:00
|
|
|
#### If you have NadekoBot 1.x on Windows
|
2016-10-21 13:10:37 +00:00
|
|
|
|
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**.
|
2017-06-09 18:26:33 +00:00
|
|
|
- Navigate to your **old** `Nadeko` folder and copy your `credentials.json` file and the `data` folder.
|
|
|
|
- Paste credentials into the **NadekoBot 1.4x+** `C:\Program Files\NadekoBot\system` folder.
|
2017-06-09 17:06:38 +00:00
|
|
|
- Paste your **old** `Nadeko` data folder into **NadekoBot 1.4x+** `C:\Program Files\NadekoBot\system` folder.
|
2016-10-22 09:57:31 +00:00
|
|
|
- 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-12 14:09:46 +00:00
|
|
|
|
|
|
|
|
2017-06-13 14:52:31 +00:00
|
|
|
#### If you are running Dockerised Nadeko
|
2017-06-12 14:34:37 +00:00
|
|
|
|
|
|
|
- Shutdown your existing container **docker stop nadeko**.
|
|
|
|
- Move you credentials and other files to another folder.
|
|
|
|
- Delete your container **docker rm nadeko**.
|
2017-06-13 07:07:14 +00:00
|
|
|
- Create a new container **docker create --name=nadeko -v /nadeko/:/root/nadeko uirel/nadeko:1.4**.
|
2017-06-12 14:34:37 +00:00
|
|
|
- Start the container **docker start nadeko** wait for it to complain about lacking credentials.
|
2017-06-13 07:07:14 +00:00
|
|
|
- Stop the container **docker stop nadeko** open the nadeko folder and replace the credentials, database and other files with your copies.
|
2017-06-12 14:34:37 +00:00
|
|
|
- Restart the container **docker start nadeko**.
|
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)
|
|
|
|
- Next, use the command `cd ~ && wget -N https://github.com/Kwoth/NadekoBot-BashScript/raw/1.4/linuxAIO.sh && bash linuxAIO.sh`
|
|
|
|
- **For Ubuntu, Debian and CentOS Users Only:** use the option `4. Auto-Install Prerequisites` to install the latest version of .NET Core SDK.
|
|
|
|
- Use option `1. Download NadekoBot` to update your NadekoBot to 1.4.x.
|
|
|
|
- Next, just [run your NadekoBot.](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#running-nadekobot)
|
|
|
|
- *NOTE: 1.4.x uses `NadekoBot.db` file from `NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data` folder.*
|