People, I am now beginning to pull my hair out. After another reboot, openemr no longer loads in the browser again. I feel like I’m going nowhere.
Thank you @snailwell for that command. But I do not know what to do with that information. It appears that there is nothing listening on either port 80 or port 443 (the ports specified in my docker-compose.yml file.
robert@roberts-Lenovo-B590:~$ sudo ss -ltpn
[sudo] password for robert:
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=769,fd=14))
LISTEN 0 128 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=971,fd=8))
LISTEN 0 4096 127.0.0.1:35225 0.0.0.0:* users:(("containerd",pid=987,fd=13))
LISTEN 0 128 [::1]:631 [::]:* users:(("cupsd",pid=971,fd=7))
A thought, I had been in the process of restoring a backup to this installation, but became unstuck. Perhaps this has something to do with the latest inability to load openemr in the browser? I had been following the instructions here, but the command docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") /bin/sh
(step 9) produces this error:
robert@roberts-Lenovo-B590:~/Downloads$ docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") /bin/sh
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.
Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
Run a command in a running container
Thank you. What is the context for this suggestion, please? How does it help me?
robert@roberts-Lenovo-B590:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f0991c55a714 mariadb:10.6 "docker-entrypoint.s…" 3 days ago Up 9 minutes 3306/tcp openemr_mysql_1
robert@roberts-Lenovo-B590:~$
Your OpenEMR docker container doesn’t exist at all, which is why your patch issues in the other thread are biting you there too. I’m honestly not sure what you’ve done here at this point, and it still feels like you have an Apache httpd listening somewhere. I don’t know how to fix what’s going on here other than “burn everything to ground”.
Which is what I’d consider. My Lightstail script can take a fresh, unconfigured Ubuntu 20 and turn it into a running, Dockerized OpenEMR; it’s not Mint, but it sounds like you need something people can help you support more than you need a specific OS.
Your OpenEMR docker container doesn’t exist at all
How do you see that that is the case?
Yesterday I could open openemr in my browser normally.
I’m honestly not sure what you’ve done here at this point
I have simply followed the instructions, as best as I can, that I have received in previous threads or on the openemr websites, as to installing, patching and restoring backups. On those other occasions, those instructions worked, eventually. I say “as best as I can” and “eventually” because often I find that the technical language used in the instructions is above my head. What is needed on the website for the sole practitioner like myself, are updated, foolproof, step-by-step instructions written in plain English, omitting no small detail that may seem obvious to the IT person, as to installation, patching, restoring backups.
I don’t know how to fix what’s going on here other than “burn everything to ground”.
So how do I do that safely, please.
My Lightstail script can take a fresh, unconfigured Ubuntu 20 and turn it into a running, Dockerized OpenEMR; it’s not Mint, but it sounds like you need something people can help you support more than you need a specific OS.
Thanks for the suggestion but I do not want to change my OS: I do not know what Lightstail is, I like Linux Mint, I have the docker installation running on Linux Mint on another machine, and other people here have previously recommended Linux Mint to me.
It seems I am banging my head against a brick wall.
In the evident absence of any fix, please could someone tell me how to safely remove all traces of this docker installation of openemr from my computer?
Given that I have not received a response, I wiped the disk clean and reinstalled Linux Mint 21. Then I followed the instructions here except I got the up-to-date docker image from here. docker-compose up -d ran without error (see below). But both http://localhost and http://localhost/interface/login/login.php?site=default give “Problem loading page. The connection was reset. The connection to the server was reset while the page was loading”. This docker installation is not so super simple as it is supposed to be. It is quite demoralising. Please help. I will pay if necessary.
Thank you. I am now able to open openemr in my browser (Firefox).
Now please could you confirm that the instructions you gave me here are still good to restore my backup?
Secondly, I am puzzled by this: The docker-compose.yml file states that the site is at /var/www/localhost/htdocs/openemr/sites but there is no /var/www directory. Why is this?
mostly, would add steps 6.5 to drop and recreate database: mysql -uroot -proot
then at the mysql prompt drop database openemr create database openemr
then exit back to maria shell and proceed with step 7
step 10 is now wget https://github.com/openemr/openemr/blob/rel-700/sql_upgrade.php
/var/www/localhost is the web server filesystem in the docker
I think based upon the level of your frustration you may want to contact one of the vendors on the vendor support page or some of the people here on the thread and describe your need and your budget. If things are truly urgent they can probably walk through a setup with you on a screen share and get you up and running so you can move onto the next aspects for your project that you are desiring. Just a thought. If you’ve got time and patience then people can continue to answer your questions.
Docker can be quite a different experience if you’ve never used docker before.