Update AstreoBot

  1. Home
  2. Docs
  3. Documentation
  4. Update
  5. Update AstreoBot

From version 1.1.27 AstreoBot has an automatic updater. In the Settings > General sector it’s possible to choose the desired update method from the following options:

Semi-automatic update (recommended)

With the Download and wait for manual confirmation option when a new version is detected, it will be downloaded automatically. It will be notified on the interface and via Telegram or System (if such notifications are active).

Once notified you can enter the provided link and confirm the update which will be done automatically.

Se debe tener en cuenta que la actualización del bot se realiza en pocos segundos, sin embargo la actualización de la base de datos puede necesitar más tiempo para terminar adecuadamente. Además al iniciar el bot comienza el período de Safety Timeout.

It should be noted that updating the bot takes a few seconds, however updating the database may need more time to finish properly. Besides, when the trading engine is enabled, the Safety Timeout period begins.

Important: Before confirming the installation, consider these times and make sure your symbols are not waiting to sell, so as not to lose that window of opportunity.

Automatic update

With the Download, install and restart automatically option when a new version is detected, it will be downloaded and installed automatically.

The bot will restart at the end of the update process.

It should be noted that updating the bot takes a few seconds, however updating the database may need more time to finish properly. Besides, when the trading engine is enabled, the Safety Timeout period begins.

Important: Before confirming the installation, consider these times and make sure your symbols are not waiting to sell, so as not to lose that window of opportunity.

Manual update

With the Only notify option you will only be notified of new updates in the interface and through Telegram or System (if such notifications are active). You will need to download and install manually. To do this, follow the instructions below according to the operating system in which you have installed AstreoBot:

Windows

  1. Disable Trading Engine in the Dashboard and close astreobot
  2. Backup the folder where you currently run the bot.
  3. Go to http://download.astreobot.com/, select Windows as the operating system, the Update package and paste your AstreoBot license. You will get the link to download your version.
  4. Unzip the downloaded files in the folder where you run the bot (since it is an Update version your database won’t be affected)
  5. Run astreobot file.
  6. A window will open while AstreoBot is working.
  7. Wait while the database is updated. It is important to wait until you receive the confirmation message “Database upgraded”.
  8. Open the following URL in a browser (we recommend Chrome): http://localhost:3000 or
    http://VPS-IP:3000

Linux

To update AstreoBot on Linux follow the instructions below. These instructions are oriented to Centos 7, and may vary depending on the chosen distribution:

  1. Enter your VPS or Linux device via console. If you manage a Linux VPS from Windows, you must install a program for this purpose:Download Putty in your Windows PC.
    1. Run the downloaded file.
    2. Complete the Host Name (or IP Address) field with that of your VPS.
    3. Press the Open button. The console will open.
    4. Type root and press the enter key.
    5. Write your VPS password and press the enter key.
  2. Disable Trading Engine in the Dashboard and close astreobot
    pm2 stop all
    pm2 delete all
  3. Backup the folder where you currently run the bot. (modify the file name according to the version you are backing up):
    zip -r backup/astreobot_backup_1.1.5.zip linux64
    If it doesn’t find the backup folder, create it with the command: mkdir backup If you get the “Command not found” error you must run this and then continue with the guide:
    Centos command is: yum install zip -y
    Ubuntu command is: apt install zip

  4. Go to http://download.astreobot.com/, select Linux (64 bits)as the operating system, the Update package and paste your AstreoBot license. You will get the link to download your version with the wget or curl command. Choose one of them and paste it on the console.
  5. Unzip all the files in the folder where you run the bot:
    unzip -o linux64_update_latest.zip
    If you get the “Command not found” error you must run this and then continue with the guide:
    Centos command is: yum install unzip -y
    Ubuntu command is: apt install unzip
  6. Rename the downloaded folder:
    cp linux64_update/* linux64/
  7. Confirm that you want to overwrite existing files by typing y letter for each file you want to overwrite (since it is an Update version your database won’t be affected).
  8. Go to the linux64 folder:
    cd linux64
  9. Run astreobot file:
    pm2 start astreobot
  10. Check pm2 logs:
    pm2 log astreobot
  11. Wait while the database is updated. It is important to wait until you receive the confirmation message “Database upgraded”.
  12. Leave logs with the key combination control + C
  13. Close console:
    exit
  14. Open the following URL in a browser (we recommend Chrome): http://localhost:3000 or
    http://VPS-IP:3000

MacOS

To update AstreoBot on MacOS follow the instructions below:

  1. Disable Trading Engine in the Dashboard and close astreobot
    pm2 stop all
    pm2 delete all
  2. Backup the folder where you currently run the bot. (modify the file name according to the version you are backing up):
    zip -r backup/astreobot_backup.zip macos
  3. Go to http://download.astreobot.com/, select MacOS as the operating system, the Update package and paste your AstreoBot license. You will get the link to download your version with the wget or curl command. Choose one of them and paste it on the console.
  4. Unzip all the files in the folder where you run the bot:
    unzip -o macos_update_latest.zip
  5. Rename the downloaded folder:
    cp macos_update/* macos/
  6. Confirm that you want to overwrite existing files by typing y letter for each file you want to overwrite (since it is an Update version your database won’t be affected).
  7. Go to the macos folder:
    cd macos
  8. Run astreobot file:
    pm2 start astreobot
  9. Check pm2 logs
    pm2 log astreobot
  10. Wait while the database is updated. It is important to wait until you receive the confirmation message “Database upgraded”.
  11. Leave logs with the key combination command + X
  12. Close console:
    exit
  13. Open the following URL in a browser (we recommend Chrome): http://localhost:3000 or
    http://VPS-IP:3000

Raspberry

To update AstreoBot on Raspberryfollow the instructions below:

  1. Disable Trading Engine in the Dashboard and close astreobot
    pm2 stop all
    pm2 delete all
  2. Backup the folder where you currently run the bot. (modify the file name according to the version you are backing up):
    zip -r backup/astreobot_backup.zip raspberry
  3. Go to http://download.astreobot.com/, select Raspberryas the operating system, the Update package and paste your AstreoBot license. You will get the link to download your version with the wget or curl command. Choose one of them and paste it on the console.
  4. Unzip all the files in the folder where you run the bot:
    unzip -o raspberry_update_latest.zip
  5. Rename the downloaded folder:
    cp raspberry_update/* raspberry/
  6. Confirm that you want to overwrite existing files by typing y letter for each file you want to overwrite (since it is an Update version your database won’t be affected).
  7. Go to the raspberry folder:
    cd raspberry
  8. Run astreobot file:
    pm2 start astreobot
  9. Check pm2 logs:
    pm2 log astreobot
  10. Wait while the database is updated. It is important to wait until you receive the confirmation message “Database upgraded”.
  11. Leave logs with the key combination control + X
  12. Close console:
    exit
  13. Open the following URL in a browser (we recommend Chrome): http://localhost:3000 or
    http://VPS-IP:3000