How to upgrade App Gateway version 4 to 5

For upgrade

  • App Gateway will be restarted for the upgrade.
  • If there are multiple App Gateways,
    • This process is required for all App Gateways.
    • Stop all App Gateways before upgrade. (If not stopped, rollback may be impossible)

How to stop App Gateway

If you have multiple App Gateways, please stop all App Gateways. If you have only one App Gateway, you can proceed "Upgrade Procedure".

  1. Login to an App Gateway's server
  2. Stop App Gateway
    sudo docker-compose -f /etc/cyolo/config/docker-compose.yml down

Upgrade Procedure

  1. Login to an App Gateway's server
  2. Start Safous CLI Menu
    sudo safous
  3. The following is Safous CLI Menu. Perform "[5] Upgrade version 4 to 5".v4-to-v5-01
    Input "5" and enter key.
  4. Safous CLI Menu displays confirmation as the followingv4-to-v5-02
    Input "Y" and enter key.
  5. Once the upgrade to version 5 is complete, Safous CLI Menu will display the following.v4-to-v5-03
    Input enter key.
  6. Backed to Main Menu. Input "0" and finish Safous CLI Menu.

How to rollback (In case of upgrade failure)

Stop all App Gateways before rollback if there are multiple App Gateways.

  1. Start Safous CLI Menu
    sudo safous
  2. The following is Safous CLI Menu. Perform "[5] Rollback version to 4".v4-to-v5-04
    Input "5" and enter key.
  3. Safous CLI Menu displays confirmation as the following
    v4-to-v5-05
    Input "Y" and enter key.
  4. Once the rollback to version 4 is complete, Safous CLI Menu will display the following.v4-to-v5-03
    Input enter key.
  5. Backed to Main Menu. Input "0" and finish Safous CLI Menu.