Inability to install OpenEMR locally

Hello, I am trying to install OpenEMR using the docker instructions, so far I can access the database

But I can’t access the application using localhost:8300/

here is what docker-compose up returns [https://pastebin.com/efr3jCpP](http://in the terminal)

I have also attempted a re-install, but am told to set config variable in sqlconf.php to 0, the problem is, the value is 0 already, which I think means that my setup was not successful.

Any clues on fixing this issue, I can’t wait to start contributing

unfortunately I am only allowed to add just one picture to my post

try to check the apache error log in this docker
docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") /bin/sh

1 Like

This is what i get

coolife@coolife:~/git-repos/openemr$ docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") /bin/sh

/var/www/localhost/htdocs #

nice, now try
tail /var/log/apache2/error.log

coolife@coolife:~/git-repos/openemr$ tail /var/log/apache2/error.log
tail: cannot open ‘/var/log/apache2/error.log’ for reading: No such file or directory

try the command from the above prompt (after starting a shell in the apache docker)

Thanks, this is what my log looks like https://pastebin.com/YjMs26ff

are you using this guide, openemr/CONTRIBUTING.md at master · openemr/openemr · GitHub

Yes, Am following the guide

from your error.log “PHP Fatal error: Uncaught Error: Class ‘OpenEMR\Common\Logging\EventAuditLogger’ not found in /var/www/localhost/htdocs/openemr/library/ADODB_mysqli_log.php:42” this means there’s a new class that your openemr docker doesn’t know about, so look at step 8 in the guide which will bring in the new classes

Hello @stephenwaite I have been able to solve this issue thanks to help from the community chat.
I was able to solve the issue using the following commands
docker-compose down -v
docker volume prune
docker-compose up -d

1 Like