Updating

This guide will go over updating your NotArb platform to the latest. There are multiple ways to do this and we will go over performing updates from within your CLI terminal and using FTP.

Updating from Within Linux

1

Stop the bot

2

Find the latest from the Releases Page

3

In this example, the notarb-0.1.80-alpha-unix.tar.gz will be used:

https://github.com/NotArb/Jupiter/releases/download/release-0.1.80-alpha/notarb-0.1.80-alpha-unix.tar.gz

4

Log into your Server via SSH

5

Delete the old libs directory

Delete the old libs folder by using

Example: rm -rf /bot/libs

6

Make an update directory

mkdir update

7

Enter the update directory

cd update

8

Download the file using wget

wget https://github.com/NotArb/Jupiter/releases/download/release-0.1.80-alpha/notarb-0.1.80-alpha-unix.tar.gz

9

Uncompress the file

tar -xvzf notarb-0.1.80-alpha-unix.tar.gz

10

Enter the directory

cd notarb-unix

11

Copy the libs directory to the working one

cp -r /update/notarb-unix/libs /bot

  • cp is the copy command.

  • -r tells cp to copy directories recursively, including all files and subdirectories.

  • /update/notarb-unix/libs is the source directory you want to copy.

  • /bot is the destination where you want the libs folder to go.

This command will create a copy of the libs folder in the /bot directory, preserving the original folder structure and contents.

12

Restart the bot

Updating from your Computer via FTP

You can also update your bot through FTP from your computer.

Ensure you are able to FTP and download WinRAR

1

Stop the bot

2

Find the latest from the Releases Page

Download the file to whatever directory is easiest for you.

3

Unzip the tar.gz

Unzipping will extract the files inside.

4

Open your FTP program

In this case, we will be using FileZilla. Navigate on your local machine and the server machine to where your bot files are.

5

Delete the old files in the libs folder

In this case, you can delete:

  • install_java.sh

  • jupiter-swap-api

  • notarb jar

  • notarb_java.sh

6

Upload the updated libs files

Upload the following:

  • install_java.sh

  • notarb jar file

  • notarb_java.sh

7

Restart the bot

Last updated