LTS DIGIT Migration - v2.8 To v2.9

Overview

This comprehensive documentation provides step-by-step instructions and best practices for smoothly migrating your DIGIT installation from version 2.8 to the v2.9 (LTS) release.

Pre-requisites

Steps

  • To begin the migration process from DIGIT v2.8 to v2.9 LTS, it's crucial to first upgrade all prerequisite backbone services.

  • Following this, scale down the Zuul replica count to zero using the provided command

kubectl scale deployment <deployment_name> --replicas=0 -n <namespace>
  • Next, proceed with deploying the core service images as outlined in the attached release chart.

Note: You can deploy the images using Jenkins or else using the below go command.

go run main.go deploy -e <env_file> <image_name>
# you can provide multiple images seperated by comma in the above command for multiple deployments
  • Once all deployed services are confirmed to be up and running smoothly, the migration from v2.8 to v2.9 LTS can be considered complete.

Note: It's important to note that all resources related to Zuul should be deleted, as version 2.9 LTS onward transitions to the use of a gateway, deprecating Zuul.

  • Note: If you encounter this (V20180731215512__alter_eg_role_address_fk.sql or version V20180731215512) flyway migration issue in egov-user service, follow these steps to resolve it

    • Connect to postgres pod of your server since we need to run few query to resolve it.

    • Run this SQL query : DELETE FROM egov_user_schema where version = '20180731215512';

    • Now run this SQL query : ALTER TABLE eg_userrole DROP CONSTRAINT eg_userrole_userid_fkey;

    • Restart the egov-user pod after successfullt executing these queries.

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.