Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
upgrade_instructions [2018/08/02 00:27]
sgtbatten
upgrade_instructions [2018/08/25 00:44] (current)
sgtbatten
Line 7: Line 7:
 ---- ----
 ===When you upgrade you have just a few steps:=== ===When you upgrade you have just a few steps:===
-  - Stop the bot by going to http://​localhost:​8081/​stop, ​pressing the [[web_interface_guide#​settings|Stop ProfitTrailer]] button in the GUI or pressing ctrl + c (Windows, Linux, MacOS) in the console to terminate the process safely.+  - Stop the bot by pressing the [[web_interface_guide#​settings|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.
   - Make a backup of your currently installed version (the complete folder).   - Make a backup of your currently installed version (the complete folder).
   - Download the [[https://​github.com/​taniman/​profit-trailer/​releases|latest]] version of ProfitTrailer.   - Download the [[https://​github.com/​taniman/​profit-trailer/​releases|latest]] version of ProfitTrailer.
   - Check the release notes and the [[changes|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.   - Check the release notes and the [[changes|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.
   - Replace ProfitTrailer.jar in currently installed ProfitTrailer folder with the one from the latest downloaded version.   - Replace ProfitTrailer.jar in currently installed ProfitTrailer folder with the one from the latest downloaded version.
 +  - 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:
 +<​file>​
 +/var/opt
 +</​file>​
 +
 +Change the working directory to the location of the script.
 +<​file>​
 +cd /var/opt
 +</​file>​
 +
 +Execute the script. (assuming the file is called linux-update.sh)
 +<​file>​
 +./​linux-update.sh
 +</​file>​
 +
 +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.1533162448.txt.gz
  • Last modified: 3 months ago
  • by sgtbatten