-
Notifications
You must be signed in to change notification settings - Fork 13
How to update a running BEXIS2 instance to version 2.12.1
Nafiseh Navabpour edited this page Nov 30, 2018
·
6 revisions
It is recommended to update a running BEXIS2 instance into the version 2.12.1.
This is a task of a system manager.
Upgrade the current database
- Be sure that you have a backup of your database. It helps you to return changes in case any failure.
- Find the version of the database. It would be the same as the version of your BEXIS2 instance.
- Find the compatible database update script from the downloaded BEXIS2.12.1 package inside the folder BEXIS2121_full\BEXIS2121\Database update scripts.
- Run the script on the database to upgrade it to the version 2.12.1. Note: From BEXIS2.11.3 to the version 2.12.1 you need to run the first Update_Script_2113to212 and then the Update_Script_212to2121.
- If the query was successfully executed, run also the last line COMMIT.
Upgrade the website
- Copy and replace the inside of the BEXIS2121_full\BEXIS2121\Site folder into the Site folder of the running version. Note: You may avoid copying the Web.config or do the changes inside this file manually.
- Compare the workspace of currently running instance with contents of BEXIS2121_full\BEXIS2121\Workspace. Copy and paste differences.
Update seed data generation
- Open ~\Workspace\Modules\Modules.Catalog.
- Change the value of status for all modules to pending.
- Restart the website.
- Change the value of status for all modules to active.
###Test
Test Database Test of upgrading the database in this point is required. Check if the column token exists in the public table user.
Test Website Restart the website from IIS and run it.
Test update seed data generation After restarting the website when the modules are in pending, statuses should be changed to inactive.
Test Update website Run the new version and log in normally.