XAMPP version for EMR - 5.0.2. Windows 10

All you need to do is, just install Linux Mint on new computer.
Backup you data from Open EMR.

INSTALL OPENEMR 5.0.1 ON MINT

OpenEMR 5.0.1 Ubuntu-Debian Package Installation with PHP7

INTRUCTIONS FOR INSTALL:

https://www.open-emr.org/wiki/index.php/OpenEMR_5.0.1_Ubuntu-Debian_Package_Installation_with_PHP7

THEN FALLOW RESTORE PROCEDURE BELOW

https://www.open-emr.org/wiki/index.php/Backing_Up_Using_the_Built_In_Tools

  1. Restore script can be found in openemr/contrib/util as an executable file.
  2. Copy emr_backup.tar and restore script to the home directory.

OPEN TERMINAL
sudo ./restore

/home/your home directory username/emr_backup.tar

in gaglae

/var/www/openemr/gacl.

Terminal Output

nerik@nerik:~$ sudo ./restore

WARNING: This script is experimental.

It may have serious bugs or omissions.

Use it at your own risk!

Now you will be asked for the backup file.

By default this is named emr_backup.tar, although you may have saved it as something else.

Enter path/name of backup file: /home/nerik/emr_backup03262020.tar

Extracting /home/nerik/emr_backup03262020.tar …

tar: Substituting `.’ for empty member name

Extracting /tmp/emr_backup/openemr.tar.gz …

Extracting /tmp/emr_backup/phpgacl.tar.gz …

tar: Substituting `.’ for empty member name

Do you want to specify site ID, locations or database names for the restore? [N/y] Y

Current values are shown in [brackets]. Just hit Enter to leave them as-is.

Site ID [default]? - enter

OpenEMR database name [openemr]? - enter

OpenEMR database user [openemr]?- enter

OpenEMR database password [escargot]?- enter

New OpenEMR web directory [/var/www/openemr]?- enter

New phpGACL web directory [ $phpgacl_location = dirname(FILE).’/…/gacl’;]? /var/www/openemr/gacl.

If you have a particular requirement for the UTF-8 collation to use,

then please specify it here. Hit Enter to accept the default ‘utf8_general_ci’.

Enter ‘none’ if you do not want UTF-8.

UTF-8 collation [utf8_general_ci]?- enter

Your Site ID will be ‘default’.

I will install a new OpenEMR web directory ‘/var/www/openemr’ from the backup.

I will restore the OpenEMR database backup to the MySQL database ‘openemr’.

The OpenEMR database user will be ‘openemr’ with password ‘escargot’.

MySQL will use character set ‘utf8’ with collation ‘utf8_general_ci’.

I will copy the phpGACL web directory backup to ‘/var/www/openemr/gacl.’.

Please check the above very carefully!

Any existing databases and directories matching these names will be DESTROYED.

Do you wish to continue? [N/y] y

In order to create MySQL databases and users on this computer, I will need to

log into MySQL as its ‘root’ user. The next question asks for the MySQL root

user’s password for this server, the one that you are restoring to. This is

a MySQL password, not a system login password. It might be blank.

Enter the password, if any, for the MySQL root user:

Dropping old OpenEMR database if it exists …

Database “openemr” dropped

Restoring OpenEMR database …

mysql: [Warning] Using a password on the command line interface can be insecure.

mysql: [Warning] Using a password on the command line interface can be insecure.

mysql: [Warning] Using a password on the command line interface can be insecure.

Restoring OpenEMR web directory tree …

Modifying /var/www/openemr/sites/default/sqlconf.php …

Restoring phpGACL web directory tree …

Modifying /var/www/openemr/library/acl.inc …

All done. :cowboy_hat_face:

UPGRADE TO 5.0.2

Stable Production Release (Version 5.0.2)

https://www.open-emr.org/wiki/index.php/OpenEMR_Downloads

RENAME OPENEMR FOLDER TO OPENEMR_BK

DOWN LOAD: openemr-5.0.2.tar.gz

DOUBLE CLIC ON IT TO UNPACK IT

THAN MOVE IT IN TO VAR/WWW/

THAN GO TO OPENEMR_BK/SITES/DEFAULT/SQLCOFIG.PHP AND COPY IT

THAN GO TO OPENEMR SITES/DEFAULT/SQLCOFIG.PHP AND REPLACE IT

Copy following directories from openemr_bk to - openemr directory (copy in the same order as listed below):

openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents 
openemr_bk/sites/default/edi (COPY TO) => openemr/sites/default/documents/edi 
openemr_bk/sites/default/era (COPY TO) => openemr/sites/default/documents/era 
openemr_bk/sites/default/letter_templates/custom_pdf.php (COPY TO) => openemr/sites/default/custom_pdf.php 
openemr_bk/sites/default/letter_templates (COPY TO) => openemr/sites/default/documents/letter_templates 
openemr_bk/sites/default/procedure_results (COPY TO) => openemr/sites/default/documents/procedure_results 

THAN GO TO : http://localhost/openemr/sql_upgrade.php

INSTRUCTIONS: https://www.open-emr.org/wiki/index.php/Linux_Upgrade_5.0.1_to_5.0.2

1 Like