Ok. So I have an AWS EC2/RDS(MySQL) test system now thanks to substantial help from everyone above.
Now I’m trying to do the upgrade on the test system as explained by @brady.miller above …
Step 1 - DONE: sudo bash … then cd /root/openemr-devops/packages/standard/ as given by brady.
Step 2 - DONE: Modify docker-compose.yaml file
Change the image: openemr/openemr:5.0.1
line in docker-compose.yaml to:
image: openemr/openemr:5.0.2
Step 3 - DONE:
root@ip-10-0-1-179 : /root/openemr-devops/packages/standard # /root/openemr-devops/packages/standard/docker-compose up -d
Removing elegant_goldstine
Removing nervous_elion
Removing affectionate_carson
Removing epic_kalam
Removing eloquent_mcnulty
Pulling openemr (openemr/openemr:5.0.2)…
5.0.2: Pulling from openemr/openemr
050382585609: Pull complete
4d61f28ee280: Pull complete
76e61a049383: Pull complete
bf5110788d99: Pull complete
0f871c9e49bb: Pull complete
61236122513d: Pull complete
343af72d1676: Pull complete
3ab4fbedcac6: Pull complete
9af2c76c95e8: Pull complete
b8fe35ac4f01: Pull complete
553e8e64c900: Pull complete
9674cacacb05: Pull complete
9ce5ad550ce6: Pull complete
Digest: sha256:616140a6039bb381ef1efecb573e4e30aa2e207c14339818d205664235c05430
Status: Downloaded newer image for openemr/openemr:5.0.2
Recreating standard_openemr_1 …
Recreating standard_openemr_1 … done
root@ip-10-0-1-179 : /root/openemr-devops/packages/standard OpenEMR Development
Then
docker logs standard_openemr_1
Plan to try an upgrade from 0 to 1
Attempting upgrade
Start: Processing fsupgrade-1.sh upgrade script
Start: Upgrade to docker-version 1
Start: Ensure have all directories in default
Completed: Ensure have all directories in default
Start: Update new directory structure in default
Completed: Update new directory structure in default
Start: Clear smarty cache in default … etc. etc. (lots of information)…
……
Completed: Upgrade database for default from 5.0.1
Completed: Upgrade to docker-version 1
Completed: Processing fsupgrade-1.sh upgrade script
Completed upgrade
Setting user ‘www’ as owner of openemr/ and setting file/dir permissions to 400/500
Default file permissions and ownership set, allowing writing to specific directories
Removing remaining setup scripts
Setup scripts removed, we should be ready to go now!
Love OpenEMR? You can now support the project via the open collective:
> Contribute - Open Collective
Starting cron daemon!
Starting apache!
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 172.18.0.2. Set the ‘ServerName’ directive globally to suppress this message
Looks like it worked.
Now try it out…
Seems to work well. I will test this test system out for a few days before I upgrade the production system.
Thank you, everyone!!
–Ralf