UgandaEMR 2.x Installation
Last updated
Last updated
Launch of the splash screen
License Agreement
Selecting components to install. Select Restore Existing UgandaEMR database if you have any data backed up from any older version of UgandaEMR
Determining Installation directory
Install Java Runtime
8.Install Tomcat This is a silent process in the background
To fix this:
Go to the start menu
Select UgandaEMR and select Connect Database Path and let it run and correct the path
An error similar to the one below is shown in the log files:
Fix: Run the following SQL statement on the openmrs database then restart your computer
During the upgrade process, a configuration file is copied which may cause the system to crash due to a conflict in the sizes of the MySQL log files before upgrade and after upgrade. The steps below are to remove the log files causing the conflict
Open Services console and stop the UgandaEMR MySQL service
Using windows explorer navigate to the MySQL folder, either C:\Program Files\MySQL\Data or C:\Program Files\MySQL 5.5\Data
Delete the files named idblog
Restart your computer
The connection error should be resolved.
There are two issues that have been identified that cause this:
The maximum packet size for the MySQL server is too small so needs to be increased to 16M
The serialized column where the Excel template is stored does not allow the special characters to be saved.
The fix is therefore a 2 step process:
Increase the maximum packet size for the MySQL server:
Open Notepad as an administrator - this is because the configuration file being edited in located in the C:\Program Files folder which has restrictions on who can edit the files.
Open the file my.cnf (or my in case Windows Explorer is configured to hide the extensions for files)
Search for the variable max_allowed_packet and change is value to 16M
If the variable does not exists add it following the steps below:
Search for the section [mysqld]
Add max_allowed_packet=16M
Save the file
Restart your computer
Run the following on the command prompt mysql -u openmrs -p -e "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet'"
which will show 16777216 which means the variable has been changed
Fix the character set of the serialized column by running the following SQL statement on the openmrs database:
Restart your computer
This issue has been identified to be caused by the Improper un-installation process of UgandaEMR.
This is normally done by deleting of the the UgandaEMR Folder in the C:\Program Files folder which is not recommended.
The recommended un-installation process can be found here.
To fix this issue.
Uninstall the UgandaEMR you have just installed in the recommended way
Open the command prompt as an Administrator by searching Command prompt in the windows task bar , and then press Ctrl+Shift+Enter
On your command prompt, type "sc delete UgandaEMRTomcat " without quotes and press enter.
If it shows no error, restart your computer and install UgandaEMR freshly as recommended here.
Confirm start menu item
7.Install MySQL
9.Install Firefox
10.Installing HeidiSQL
11.UgandaEMR Installation completed
Incase the screen below appears,
3. Restart your computer 4. Start UgandaEMR using the Desktop shortcut