# Updating from Keitaro 8 to 9

Update Keitaro to the latest 8th version before launching a script.

# Updating

  1. Download a script upgrader9.
  2. Upload it to a Keitaro 8 directory.
  3. Disable cron job if you have a big traffic volume.
  4. Run a script in a browser http://your_domain/upgrader9.php/
  5. Follow the script's instructions.

# VPS/VDS solution

  1. Run in a terminal:
curl https://files.keitaro.io/scripts/upgrade-php/upgrader9.php.txt > /var/www/keitaro/upgrader9.php
  1. Open in a browser http://your_domain/upgrader9.php/
  2. Follow the script's instructions.
  3. Run in a terminal: rm /var/www/keitaro/upgrader9.php

# Campaigns don't work after an upgrade

If the campaigns don't work after an upgrade, go to Maintenance → Status page and press Reload cache.

# Required migrations after update

After upgrading from Keitaro 8 to Keitaro 9, be sure to rerun the migrations Updating the states of clicks and conversions andAdding x_requested_with to clicks, on the "Maintenance → Migrations".