| 1 | = Upgrading to MapGuide Open Source 2.1 From an Earlier Release = |
| 2 | |
| 3 | To upgrade from an earlier release of !MapGuide Open Source, the repositories must be upgraded. |
| 4 | |
| 5 | == Windows == |
| 6 | 1. Stop the earlier release of the !MapGuide Open Source Server if it is running. To do this, open the Services applet. Select “!MapGuide Open Source Server”, and then select Action > Stop. |
| 7 | 1. Open a DOS window and change to the !RepositoryAdmin subdirectory of the server install location. |
| 8 | 1. In the DOS window, run !BackUpOfflineRepositories.bat. Check the output to make sure there are no errors. |
| 9 | 1. In the DOS window, run !RestoreColdBackupRepositories.bat. Check the output to make sure there are no errors. |
| 10 | 1. Install the 2.1 server. |
| 11 | 1. Stop the newly installed server if it is running. |
| 12 | 1. Delete the Repositories subdirectory of the 2.1 server. |
| 13 | 1. Copy the the old Repositories subdirectory of the old server to the 2.1 server. |
| 14 | 1. In the DOS window, change to the !RepositoryAdmin subdirectory of the 2.1 server. |
| 15 | 1. In the DOS window, run !UpgradeRepositories.bat. Check the output to make sure there are no errors. |
| 16 | 1. In the DOS window, run !SetupRepositoryIndices.bat. Check the output to make sure there are no errors. |
| 17 | 1. Start your 2.1 server. |
| 18 | |
| 19 | == Linux == |
| 20 | 1. Stop the earlier release of the !MapGuide Open Source Server if it is running. |
| 21 | 1. Open a shell and change to the !RepositoryAdmin subdirectory of the server install location. |
| 22 | 1. Run !BackUpOfflineRepositories.sh. Check the output to make sure there are no errors. |
| 23 | 1. Run !RestoreColdBackupRepositories.sh. Check the output to make sure there are no errors. |
| 24 | 1. Install the 2.1 server. |
| 25 | 1. Stop the newly installed server if it is running. |
| 26 | 1. Delete the Repositories subdirectory of the 2.1 server. |
| 27 | 1. Copy the the old Repositories subdirectory of the old server to the 2.1 server. |
| 28 | 1. In the shell change to the !RepositoryAdmin subdirectory of the 2.1 server. |
| 29 | 1. Run !UpgradeRepositories.sh. Check the output to make sure there are no errors. |
| 30 | 1. Run !SetupRepositoryIndices.sh. Check the output to make sure there are no errors. |
| 31 | 1. Start your 2.1 server. |