Navigation Menu

Click the "+" to see inside a chapter or use the search to the right.

.

Skip to end of metadata
Go to start of metadata

 Upgrade to another version

 Software upgrade process home page
 

Icon

New version for 1809 release added with the name of 7.1809.01 in SVN repositories. Please download the new 7.1809.01 version for upgrade the application to 7.1809 release.

 

 

  1. ItemGroup Database Setup

    1. From 1807 release, we introduced a new Microservice: Item Group. This will be utilized for managing groups of items in future releases.

    2. In order to set it up, we need to configure a new database first.

    3. Open SQL Server Management Studio and connect to the one being used with ExamDeveloper.

    4. Right-click Database node in Object Explorer and select New Database from the context menu.

    5. Name the database Itemgroup on the general tab and accept the default settings. If we are using multiple instances in the same server we need to provide different names for each instance like for example Itemgroup_BETA / Itemgroup_PROD.

    6. Go to Security → Logins, and right-click Properties on the user that is utilized for ExamDeveloper login. For example; ED is shown in below picture

    7. Assign the same permissions given to another database to the Itemgroup database.

    8. Enable Snapshot isolation for ItemGroup database name in step e using the following commands tougher from Microsoft SQL Server Management Studio :

      ALTER DATABASE [ItemGroup]

      SET ALLOW_SNAPSHOT_ISOLATION ON

  2. Property files update

    1. Please add SCHEDULED_REPORT_USERNAME= to the secure.properties file. We have added a new configuration entry to schedule Report Username if you have one. Otherwise, just leave it empty.

    2. Please add SCHEDULED_REPORT_PASSWORD= to the secure.properties file. We have added a new configuration entry to schedule Report Password if you have one. Otherwise, just leave it empty.

    3. ITEMGROUP_CONNECTION_STRING=Data Source=XXXXX;Initial Catalog=ItemGroup;Persist Security Info=True;User ID=ed;Password=XXXXXX

    4. Add CAS_URL= URL if you have one to the self.hosted.properties file. Otherwise, just add CAS_URL = http://locahost/.

    5. Add PREVIEW_URL= URL if you have one to the self.hosted.properties file. Otherwise, just add  PREVIEW_URL = http://locahost/.

  3. Please follow the regular upgrade process to install the Web and previously installed services in Services and Web installation process using power shell script.

  4. Run Scripts

    1. Log in to the application with Admin account and run all scripts.

    2. 3 Scripts will fail as shown in the image below:

    Continue with point 5 for Question Revision Migration Script

  5. Question Revision Migration Script

    This utility will migrate question revisioning data from Question table to QuestionHistory table excluding the latest question version.

    Please follow the steps below to execute the QuestionRevisioningMigration utility.

    1. Extract the <SVNFolder>\Web\web.zip file into a folder. Here, <SVNFolder> is the path where ExamDeveloper files are going to be checked out, which is C:\ExamDeveloper\Repositories\ExamDeveloper\ in our example.

    2. Extract the <Step a Folder Location>\MigrationExe\QuestionRevisioningMigration.zip file into a folder. Here, <Step a Folder Location> is the path where web.zip files are extracted in the above step, which is C:\ExamDeveloper\Repositories\ExamDeveloper\Web\web in our example.

    3. Locate QuestionRevisioningMigration.exe in the <Step b Folder Location> folder. Here, <Step b Folder Location> is the path where QuestionRevisioningMigration.zip files are extracted from the above step b, which is C:\ExamDeveloper\Repositories\ExamDeveloper\Web\web\MigrationExe\QuestionRevisioningMigration in our example.

    4. Open cmd and run the following commands

    5. cd <Step b Folder Location>

    6. QuestionRevisioningMigration.exe "<CONNECTION_STRING>". Here, <CONNECTION_STRING> is your ExamDeveloper database connection string, which is the same as the value of the CONNECTION_STRING token from the secure.properties file.

    7. Thus, if your database connection string is "Data Source=WIN-VSGF1NBSVPB; Initial Catalog=ExamDeveloper; Persist Security Info=True; User ID=ExamDev; Password=P@s$w0rd" as in our example, then the command to run would appear as below:

      QuestionRevisioningMigration.exe "Data Source=WIN-VSGF1NBSVPB;Initial Catalog=ExamDeveloper;Persist Security Info=True;User ID=ExamDev;Password=P@s$w0rd"

    8. Note: Make sure that the connection string is enclosed in double-quotes
    9. This will display the following menu options:

      0: Exit/Cancel

      1: Copy Question revisioning data

      2: Populate user tracking data


    10. Please select 1 it will prompt confirmation message with the total number of questions are going to migrate
    11. Please press y to continue the migration.
    12. This is a long-running process that will take some time.
    13. The command prompt screen will tell you how many Question version update completed and show the progress of migrating question revisioning data.
    14. If there were any errors, you can find them here: <Step b Folder Location>\logs\QuestionRevisioningMigration.log and <Step b Folder Location>\logs\QuestionRevisioningMigrationPerformance.log.
    15. Once this is complete, you may continue with the rest of the upgrade process.
  6. Run Scripts

    1. Again login to the application with Admin account and run all scripts.

    2. All Scripts will execute successfully and the application will be upgraded to 7.1809 version.



Return to the top of the page

 Upgrade to another version

 Software upgrade process home page

 

  • No labels