I am following the 5.0.2 to 6.0.0 upgrade instructions here (don’t ask me to do docker.compose up because I have tried that 3 times and each time the EC2 instance became unresponsive to webserver messages):
Here are the steps given:
- Move current (5.0.2) /openemr directory to a backup directory openemr_bk
- Unpackage 6.0.0 openemr into web directory and rename the directory to openemr
- Copy following directory from old 5.0.2 version to /openemr directory:
openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents
- Copy the openemr/sites/default/sqlconf.php file from your old 5.0.2 version into the new openemr version
- In the openemr/sites/default/sqlconf.php file, set the $config variable (found near bottom of file within bunch of slashes) to 1 ($config = 1;)
- Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.2 and click ‘Upgrade Database’
- Configure optional settings in openemr/sites/default/config.php files
Of note, in step 5, $config=1; is set already
In step 6, the sql_upgrade.php generates an error as follows:
Check that mysqld is running.
Note that the MySQL server is running on a separate AWS instance, not locally. Is there another method for upgrading the MySQL database from 5.0.2p5 to 6.0.0 (and eventually will be patched to patch 1 etc.).
I’m using OpenEMR version 5.0.2 patch 5 upgrading to version 6.0.0 patch 1.