Inability to install OpenEMR locally

(Onyemenam Ndubuisi) #1

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 [](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

(Stephen Waite) #2

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

(Onyemenam Ndubuisi) #3

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 #

(Stephen Waite) #4

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

(Onyemenam Ndubuisi) #5

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

(Stephen Waite) #6

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

(Onyemenam Ndubuisi) #7

Thanks, this is what my log looks like

(Stephen Waite) #8

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

(Onyemenam Ndubuisi) #9

Yes, Am following the guide

(Stephen Waite) #10

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

(Onyemenam Ndubuisi) #11

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