# Updating Keitaro from 6 to 7

  1. Download script.
  2. Upload to your Keitaro directory.
  3. Open upgrader7.php in your browser and follow the instructions.

# How to downgrade to version 6?

  1. Download script.
  2. Upload to Keitaro directory.
  3. Open upgrader7.php in your browser and follow the instructions.

# Resolving issues after upgrader

  1. Go to page Maintenance > Migrations and execute new migrations.
  2. Go to page Maintenance > Status and look at the errors log.

# Campaign list is empty

Go to page Maintenance → Migrations and run new migrations.

# All filters are missed

Run migrations 39 and 40.

# 1054: Unknown column updated_at in where clause

Rerun migration #72.

# 1146: Table keitaro_campaigns doesn't exist

Rerun migrations #47 and #48.

# 1054: Unknown column datetime in where clause

Run migration #67.

# Unknown column stream_id in field list

Run migration #67.

# Unknown column campaign_id in field list in EXECUTE("INSERT INTO keitaro_ips

Run migration #50.