Difference between revisions of "Obliteration of OpenEMR"
Line 52: | Line 52: | ||
Removal of OpenEMR Package in Windows is equally simple as described [[Dual_Upgrade_of_OpenEMR_and_XAMPP_in_Windows#Deleting_Old_Data|here]]. | Removal of OpenEMR Package in Windows is equally simple as described [[Dual_Upgrade_of_OpenEMR_and_XAMPP_in_Windows#Deleting_Old_Data|here]]. | ||
The user should note that the built-in utility for system image creation in Windows 7 is unreliable. This task is better handle with the Windows PE Rescue disk mentioned above. The creation a system image periodically serves as another layer of backup redundancy. | The user should note that the built-in utility for system image creation in Windows 7 is unreliable. This task is better handle with the Windows PE Rescue disk mentioned above. The creation of a system image periodically serves as another layer of backup redundancy. | ||
Revision as of 11:25, 21 June 2015
A user will find himself at some point needing to delete OpenEMR because of difficulties with installation, upgrade, transfer to a new device or inability to remedy corrupt files. OpenEMR must be removed in order for the user to move forward and begin anew. Some installations lend themselves more readily to deletion than others depending on the operating software, bundling and hosting.
Hosted
Because the command line is unavailable, the user is at a great disadvantage. The workaround would be to save the web directory and then export the database via phpMyAdmin to another site. A new copy of OpenEMR can be installed with the deletion of the old database and the creation of a new database. The four default folders, documents, era, edi and letter_templates are copied and pasted into the new copy of OpenEMR while the old database is imported back with phpMyAdmin.
Linux
Package
If the Ubuntu-Debian Package had been installed, deletion is straightforward with this command in the Terminal:
sudo apt-get remove openemr
If unsuccessful, refer to the next section below for more options.
Generic
If the user had installed a copy that had not been bundled together, the process will require deletions of the following folders:
/var/www/openemr
/etc/openemr
/var/log/openemr
var/lib/mysql/openemr
Nuclear Option
If failure persists, the user must resort to the "nuclear option" of reinstalling the operating system to obliterate all traces of OpenEMR.
The user must be certain that he had properly saved the web directory and the dumpfile of the database to another drive.
Because it is time consuming to reinstall the operating system, the user is advised to select an application of creating a system image minus OpenEMR. Should the "nuclear option" be exercised more than once, the system image will facilitate the repetition.
System Image
Two applications for creating a system image are Clonzilla and Macrium Reflect. There is no reason to clone the hard drive because it is an inefficient use of backup media and it takes an unwarranted expenditure of time.
Clonzilla
Clonzilla is available as a free download with a tutorial.
Macrium Reflect
Macrium Reflect is available only as a trial now. It had been freeware in the past. The application is not needed for the creation of the system image because the Windows PE Rescue Environment can be deployed in place of the application.
Because there is no Linux version of Macrium Reflect, it must be installed in a Windows device or a Windows partition. The application must be installed in order to obtain the .iso for burning the Windows PE Rescue Environment to a CD. The user should be careful to match the .iso to the architecture of the device where it will be deployed. A 32 bit .iso will not work on a 64 bit device and vice versa.
Despite the fact that Macrium Reflect does not have a Linux version, the Windows PE Rescue disk runs independently and external to the operating system; therefore it matters little the operating system. This has the additional advantage of quicker execution time.
The tutorial of creating a system image is no longer readily available in the Macrium Knowledgebase. The process is essentially choosing the Backup tab, selecting "Image this disk" and the partitions to image. Questions about system image creation can be posted in the Fora. Here is the restore tutorial.
OS X
If OpenEMR had been installed with XAMPP, the entire XAMPP folder can be readily disposed of with AppCleaner after stopping Apache and MySQL.
Windows
Removal of OpenEMR Package in Windows is equally simple as described here.
The user should note that the built-in utility for system image creation in Windows 7 is unreliable. This task is better handle with the Windows PE Rescue disk mentioned above. The creation of a system image periodically serves as another layer of backup redundancy.
- OpenEMR has been obliterated. Onward to its revival.
- Yes, it is a peacock. Just pretend it is a phoenix.