Read about OpenEMR's Response to the COVID-19 Pandemic at https://www.open-emr.org/covid19/

Demo farm and up for grabs demos are back!

Hi,

The demo farm and up for grabs demos are back. Can see them here:
http://www.open-emr.org/wiki/index.php/Development_Demo#Overview

Have made some drastic changes (shifting away from appliances served from a server in my closet to docker containers served on AWS cloud). No longer using special ports either, so folks can use demos from work now. There’s still some debugging to do and a couple fixes pending (like Zend), which is really easy to do on docker. After get bugs straightened out, will then convert the main 5.0.0 demo to the new system.

-brady

3 Likes

The demo farm bugs have been worked out and they are now fully functional. So, the new demo farm is now serving the main demo:
http://www.open-emr.org/wiki/index.php/OpenEMR_Demo
(the prior 5.0.0 demo is now a Backup demo)

Great work!

Just Added another cool feature. For the development daily build demo, also builds demos for Ubuntu 17.04 and 17.10 (in addition to the normal Ubuntu 16.04 demo; Ubuntu 17.10 uses php 7.1, so will be a nice testing ground):
http://www.open-emr.org/wiki/index.php/Development_Demo#Daily_Build_Development_Demo
(I’ve been pretty blown away by this docker/aws stuff; currently have 8 demos working on 1 t2.medium ec2 aws instance…)

2 Likes

Hi,
Just updated the demos to use https/ssl, so can now test that (they also still support standard http).
-brady

Hello Brady,
We did test the link shared by you and we have few questions

  1. http://one.openemr.io/wordpress - In this link, We clicked on “Register” and enteted a valid username and email address. But we have not received any password to the registered email and unfortunately was not able to login.
  2. http://eight.openemr.io/wordpress - In this link, When clicked on “Login” the page is blank.

Thanks,
Visolve

Hi,

I am not sure how the wordpress stuff is supposed to work. Does it allow new patients to register/login?

Note demo eight is a development demo on php7.1, so guessing this is a error with php7.1. Note there are error log links that are included with the demo links; for example, eight is:
https://eight.openemr.io/log/logPhp.txt

-brady

Hello Brady,
Yes, that link has option to Register and Login, but once registered it does not send the password via email.
Reg the error log we will check and get back you on this for more questions.

Thanks,
ViSolve

Regarding wordpress, is the standard demo (Main Demo) working as it should:
http://www.open-emr.org/wiki/index.php/OpenEMR_Demo

Hello Brady,
We have tried to register in the Main Demo and it successfully registers the user. But the mail is not received to the users whom are registered.
Are there any documents related to this that you could point us to? Not sure if we are doing the right steps.

Thanks,
ViSolve

Hi @visolveemr ,

I am not sure how the workflow is supposed to go with the wrodpress demo. @sunsetsystems can probably enlighten us about whether the user is supposed to get an email after doing the registration. Could also try it on the old demo (uses appliances instead of dockers) here to see if it’s an issue with the new demos:
http://www.open-emr.org/wiki/index.php/Development_5.0.0_Demo#Backup_Demo

-brady

Wordpress needs access to mail transport for supporting registration and other things. I remember in the old demos Postfix was installed for that purpose. Another method is described here:

http://www.sunsetsystems.com/node/37

@sunsetsystems and @visolveemr ,

I’ll plan to test this a bit.

The mechanism to bring in postfix did change a little in the new docker demo farm and is not done in real time(sets it up when building the original docker image) to increase the speed of the demo restarts:


(I am suspicious that the slash in Internet\ Site may be messing things up)

The older mechanism (which the Backup Demo uses) does this at run time:

So, if the Backup Demo is working, then means that I am messing things up with the slash in the Internet\ Site. Actually, it just hit me that I may need to start the postfix service for the docker demo, will try that first.

-brady

Hi,

Added 2 more daily development demos for Alpine 3.5/3.6 linux OS’s. This is a super small OS that get’s lots of use in dockers, so figured it would be a good idea to begin testing this as the openemr dockers are built out.

Note there are also development demos for ubuntu 16.04/17.04/17.10 . And 2 of these 5 demos are using PHP 7.1, and these 2 would be very helpful for folks to test and fix the php errors/warnings/deprecated stuff. Note the demos also have links to the php error log. We should try to fully support PHP 7.1 by the next release (which will likely be in 2 months or so).

Here’s the link to the daily build development demos:
http://www.open-emr.org/wiki/index.php/Development_Demo#Daily_Build_Development_Demos

(btw, still working out the postfix wordpress email issues)

-brady

@sjpadgett ,
Just pointing out that the above daily build development demos are using your wkhtmltopdf-openemr package (via some docker magic). So, is a good testing/demo ground for folks on that feature.
-brady

maybe a memory issue during openemr installation on https://ten.openemr.io/log/logPhp.txt ?

@stephenwaite ,
Thanks for pointing that out. Most those php errors happen when trying to use openemr when the database isn’t installed yet (I likely did that since I checked it too early after i restarted that demo). There’s probably a 15-60 second window of time per day that this will happen in the demos. Plan to fix this though (easy thing to do), so this can never happen(just need to migrate the starting of the apache process to after the install is fully completed on the demo install script).
-brady

1 Like

Hi,
Looks like all the new demos have crashed. I have 1 docker mysql instance that supports all of the 10 docker demos, and guessing the mysql docker got overwhelmed with connections. Will reset them all when get home this evening and will optimize the mysql docker to prevent this in the future.
-brady

Regarding mysql optimization, what setting do folks usually use for the max_connections setting?
-brady

To answer my own question, found some helpful information here: