Upgrade instructions

If upgrading from v1 to a newer v1 or from v2 to a newer v2 version the upgrade is described below.

If upgrading to Version 2 for the first time please follow these separate 1.x to 2.0 Upgrade Instructions.


When you upgrade you have just a few steps:

  1. Stop the bot by pressing the Stop ProfitTrailer button in the GUI, going to http://localhost:8081/stop or pressing ctrl + c (Windows, Linux, MacOS) in the console to terminate the process safely.
  2. Make a backup of your currently installed version (the complete folder).
  3. Download the latest version of ProfitTrailer.
  4. Check the release notes and the Changes Since Last Release (preferably all release notes between your version and the one you downloaded). This is to see if there are version specific instructions like settings getting renamed or new settings added. Depending on this you have to alter your settings files or not.
  5. Replace ProfitTrailer.jar in currently installed ProfitTrailer folder with the one from the latest downloaded version.
  6. Restart your updated ProfitTrailer Bot.

Pm2 users on Linux

New version of ProfitTrailer include an update script for pm2 users. This script automates and simplifies the update process for you.

Place the script anywhere you like. I personally move it to the same location as my bot folders but you can leave it in the download location:

/var/opt

Change the working directory to the location of the script.

cd /var/opt

Execute the script. (assuming the file is called linux-update.sh)

./linux-update.sh

The script will walk you through the setup process. It only needs to set up one time unless you are changing the bots you want to update. After that it will remember your saved setup.

  • upgrade_instructions.txt
  • Last modified: 3 months ago
  • by sgtbatten