hi @rdh61, no prob, we’re up for
let’s bring in the db first
- extract the contents of
emr_backup.tar
on yourto your Downloads folder
- go there in your terminal prompt;
cd ~/Downloads
gzip -d openemr.sql.gz
-
docker ps
we’re looking for the container id for the mariadb to use in the next step docker cp /home/$USER/Downloads/openemr.sql <mariadb container id>:.
docker exec -it <mariadb container id> /bin/bash
mysql -uroot -proot openemr < openemr.sql
exit
docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") /bin/sh
wget https://raw.githubusercontent.com/openemr/openemr/rel-502/sql_upgrade.php
- run the upgrade script even though not “upgrading” :); go to localhost/sql_upgrade.php in your browser
- back to terminal and
rm sql_upgrade.php
exit
- go to localhost to login and see your data