Cannot start Docker

Situation
I have just pulled OpenEMR Docker without error. But https://localhost/ produces the Apache 2 Default page and https://localhost/openemr/ produces 404 Not Found.

sudo service apache stop produces “Failed to stop apache.service: Unit apache.service not loaded”.

Apache 2 is installed.

What should I do?

Many thanks.

OpenEMR Version
I’m using OpenEMR version 7.0.0 Docker

Browser:
I’m using: Firefox 103.0.2

Operating System
I’m using: Linux Mint 21

Pulling the image into your repository doesn’t help. You need to launch the image as a container, either through docker run (spoilers: probably not) or through a docker-compose file (like the one discussed at openemr-devops/docker/openemr/7.0.0 at master · openemr/openemr-devops · GitHub ).

In either case, you’d have docker running in the guest container, it wouldn’t have anything to do with Apache running on the host.

@jesdynf

Thank you for your response but I am afraid I do not understand the language. I need simple instructions.

My previous openemr docker installation had a directory called ‘openemr’ in my home directory. I had assumed that simply pulling it from this page would set it up: https://hub.docker.com/r/openemr/openemr/

As you have pointed out, this is not sufficient. But I have forgotten what else I need to do since I last did this several years ago. The instructions on the page you have linked to are clearly intended for technical specialists. To the day-to-day user like myself (a medical professional rather than an IT one) they are opaque jargon of very limited usefulness. Please imagine a doctor explaining to you your critical condition in medical jargon unintelligible to the lay person.

What else do I need to do in simple step-by-step instructions?

Many thanks. I do appreciate it.

Can anyone else help with this? I really need to get it up and running by Friday. I feel it must be a simple thing if you know how but I don’t know how and cannot find any instructions I can understand.

hi @rdh61, thought you were trying to upgrade?

Hello @stephenwaite , this is on a different system.

Hello, Robert.

You’re looking for openemr-devops/docker/openemr/7.0.0 at master · openemr/openemr-devops · GitHub , which has a copy of the docker-compose file, and some other commentary at https://github.com/openemr/openemr/blob/master/DOCKER_README.md may be helpful.

Honestly it sounds to me like you’ve already got a webserver running on your local machine, however, because Apache responded when you asked. It’s not clear from what you’ve explained, but it might be that you are starting docker-compose correctly but the existing webserver is keeping it from binding the ports. I’m not certain how to help you remove that.

Does sudo service apache2 stop work?

No errors were reported from sudo service apache2 stop. But openemr still does not load in my browser.

@jsedynf

Thank you. See my reply to @snailwell above.

I am also adding a new comment below, describing exactly what I have done so far.

Here is what I have done so far:

(1) Installed docker.io.
(2) Run sudo docker pull openemr/openemr.
(3) Installed apache2.
(4) Created folder ‘openemer’ in my home folder.
(5) Copied docker-compose file from https://github.com/openemr/openemr-devops/tree/master/docker/openemr/7.0.0/#openemr-official-docker-image.
(6) Saved above as docker-compose.yml in my ~/openemr folder.
(7) Installed docker-compose and run sudo docker-compose up -d from my ~/openemr folder.
(8) Attempted to bring up openemr in my browser by typing in ‘localhost’. This produces the Apache default page.
(9) Attempted to bring up openemr in my browser by typing in ‘localhost/openemr’. This produces the Apache default page. This produces a 404 Not Found page.
(10) sudo service apache2 stop - No change in behaviour.
(11) Cleared cache from browser - No change in behaviour.
(12) Tried different browser - No change in bahavious.

no need to install apache2, the openemr docker takes care of that

go to ~/openemr

docker-compose up

I have finally found some instructions that I had been looking for till now from @stephenwaite : Blank screen on first start of OpenEMR 5.0.2 - #40 by stephenwaite .

It appears that in my attempts to remember/figure out what needed to be done I have predictably missed out a few steps, namely, after installing docker.io:

  • sudo systemctl enable --now docker
  • sudo usermod -aG docker $USER
  • newgrp docker

I have now done them and run docker-compose up -d again.

No joy.

I read in the same thread that Apache could be competing for ports, so I commented out port 80 in the docker-compose file. No difference. I have now uninstalled apache2.

Now both http://localhost and http://localhost produce ‘Problem loading page. Secure connection failed’.

you can remove apache2 and then exit out of your shell and open another so that your new group permissions take effect

robert@roberts-Lenovo-B590:~/openemr$ docker-compose up
openemr_mysql_1 is up-to-date
openemr_openemr_1 is up-to-date
Attaching to openemr_mysql_1, openemr_openemr_1
openemr_1  | Generating a RSA private key
openemr_1  | ...............++++
openemr_1  | ......................................................................................................................++++
openemr_1  | writing new private key to '/etc/ssl/private/selfsigned.key.pem'
openemr_1  | -----
openemr_1  | Running quick setup!
openemr_1  | Running quick setup!
mysql_1    | 2022-08-16 14:16:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 14:16:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1    | 2022-08-16 14:16:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 14:16:11+00:00 [Note] [Entrypoint]: Initializing database files
mysql_1    | 
mysql_1    | 
mysql_1    | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mysql_1    | To do so, start the server, then issue the following command:
mysql_1    | 
mysql_1    | '/usr/bin/mysql_secure_installation'
mysql_1    | 
mysql_1    | which will also give you the option of removing the test
mysql_1    | databases and anonymous user created by default.  This is
mysql_1    | strongly recommended for production servers.
mysql_1    | 
mysql_1    | See the MariaDB Knowledgebase at https://mariadb.com/kb
mysql_1    | 
mysql_1    | Please report any problems at https://mariadb.org/jira
mysql_1    | 
mysql_1    | The latest information about MariaDB is available at https://mariadb.org/.
mysql_1    | 
mysql_1    | Consider joining MariaDB's strong and vibrant community:
mysql_1    | https://mariadb.org/get-involved/
mysql_1    | 
mysql_1    | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Database files initialized
mysql_1    | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Starting temporary server
mysql_1    | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Waiting for server startup
mysql_1    | 2022-08-16 14:17:13 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 95 ...
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Number of pools: 1
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1    | 2022-08-16 14:17:13 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Using Linux native AIO
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1    | 2022-08-16 14:17:13 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1    | 2022-08-16 14:17:15 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1    | 2022-08-16 14:17:15 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1    | 2022-08-16 14:17:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1    | 2022-08-16 14:17:15 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1    | 2022-08-16 14:17:15 0 [Note] InnoDB: 10.6.8 started; log sequence number 42173; transaction id 14
mysql_1    | 2022-08-16 14:17:15 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1    | 2022-08-16 14:17:15 0 [Warning] 'user' entry 'root@f0991c55a714' ignored in --skip-name-resolve mode.
mysql_1    | 2022-08-16 14:17:15 0 [Warning] 'proxies_priv' entry '@% root@f0991c55a714' ignored in --skip-name-resolve mode.
mysql_1    | 2022-08-16 14:17:15 0 [Note] mysqld: ready for connections.
mysql_1    | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
mysql_1    | 2022-08-16 14:17:15+00:00 [Note] [Entrypoint]: Temporary server started.
mysql_1    | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1    | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
mysql_1    | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mysql_1    | 2022-08-16 14:17:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
mysql_1    | 
mysql_1    | 2022-08-16 14:17:32+00:00 [Note] [Entrypoint]: Stopping temporary server
mysql_1    | 2022-08-16 14:17:33 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
mysql_1    | 2022-08-16 14:17:33 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1    | 2022-08-16 14:17:33 0 [Note] InnoDB: Starting shutdown...
mysql_1    | 2022-08-16 14:17:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 14:17:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:17:33
mysql_1    | 2022-08-16 14:17:34 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1    | 2022-08-16 14:17:34 0 [Note] InnoDB: Shutdown completed; log sequence number 42185; transaction id 15
mysql_1    | 2022-08-16 14:17:34 0 [Note] mysqld: Shutdown complete
mysql_1    | 
mysql_1    | 2022-08-16 14:17:35+00:00 [Note] [Entrypoint]: Temporary server stopped
mysql_1    | 
mysql_1    | 2022-08-16 14:17:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
mysql_1    | 
mysql_1    | 2022-08-16 14:17:35 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Number of pools: 1
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1    | 2022-08-16 14:17:35 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Using Linux native AIO
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1    | 2022-08-16 14:17:35 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: 10.6.8 started; log sequence number 42185; transaction id 14
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 14:17:37 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1    | 2022-08-16 14:17:37 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1    | 2022-08-16 14:17:37 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1    | 2022-08-16 14:17:37 0 [Note] Server socket created on IP: '::'.
mysql_1    | 2022-08-16 14:17:37 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 14:17:37
mysql_1    | 2022-08-16 14:17:37 0 [Note] mysqld: ready for connections.
mysql_1    | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mysql_1    | 2022-08-16 14:19:50 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1    | 2022-08-16 14:19:50 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1    | 2022-08-16 14:19:51 0 [Note] InnoDB: Starting shutdown...
mysql_1    | 2022-08-16 14:19:51 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 14:19:51 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:19:51
mysql_1    | 2022-08-16 14:19:52 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1    | 2022-08-16 14:19:52 0 [Note] InnoDB: Shutdown completed; log sequence number 42341; transaction id 15
mysql_1    | 2022-08-16 14:19:52 0 [Note] mysqld: Shutdown complete
mysql_1    | 
mysql_1    | 2022-08-16 14:21:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1    | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1    | 2022-08-16 14:21:51 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Number of pools: 1
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1    | 2022-08-16 14:21:51 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Using Linux native AIO
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: 10.6.8 started; log sequence number 42341; transaction id 14
mysql_1    | 2022-08-16 14:21:51 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 14:21:51 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1    | 2022-08-16 14:21:51 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 14:21:51
mysql_1    | 2022-08-16 14:21:51 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1    | 2022-08-16 14:21:51 0 [Note] Server socket created on IP: '::'.
mysql_1    | 2022-08-16 14:21:52 0 [Note] mysqld: ready for connections.
mysql_1    | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mysql_1    | 2022-08-16 14:34:37 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1    | 2022-08-16 14:34:37 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1    | 2022-08-16 14:34:37 0 [Note] InnoDB: Starting shutdown...
mysql_1    | 2022-08-16 14:34:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 14:34:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:34:37
mysql_1    | 2022-08-16 14:34:38 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1    | 2022-08-16 14:34:38 0 [Note] InnoDB: Shutdown completed; log sequence number 42353; transaction id 15
mysql_1    | 2022-08-16 14:34:38 0 [Note] mysqld: Shutdown complete
mysql_1    | 
mysql_1    | 2022-08-16 17:31:42+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1    | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1    | 2022-08-16 17:31:45 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Number of pools: 1
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1    | 2022-08-16 17:31:45 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Using Linux native AIO
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: 10.6.8 started; log sequence number 42353; transaction id 14
mysql_1    | 2022-08-16 17:31:45 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 17:31:45 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1    | 2022-08-16 17:31:46 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1    | 2022-08-16 17:31:46 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 17:31:46
mysql_1    | 2022-08-16 17:31:46 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1    | 2022-08-16 17:31:46 0 [Note] Server socket created on IP: '::'.
mysql_1    | 2022-08-16 17:31:46 0 [Note] mysqld: ready for connections.
mysql_1    | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mysql_1    | 2022-08-16 19:05:47 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1    | 2022-08-16 19:05:48 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1    | 2022-08-16 19:05:48 0 [Note] InnoDB: Starting shutdown...
mysql_1    | 2022-08-16 19:05:48 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 19:05:48 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 19:05:48
mysql_1    | 2022-08-16 19:05:49 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1    | 2022-08-16 19:05:49 0 [Note] InnoDB: Shutdown completed; log sequence number 42365; transaction id 15
mysql_1    | 2022-08-16 19:05:49 0 [Note] mysqld: Shutdown complete
mysql_1    | 
mysql_1    | 2022-08-16 19:06:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 19:06:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1    | 2022-08-16 19:06:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1    | 2022-08-16 19:06:49+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1    | 2022-08-16 19:06:49 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Number of pools: 1
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1    | 2022-08-16 19:06:49 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Using Linux native AIO
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1    | 2022-08-16 19:06:49 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: 10.6.8 started; log sequence number 42365; transaction id 14
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1    | 2022-08-16 19:06:50 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1    | 2022-08-16 19:06:50 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1    | 2022-08-16 19:06:50 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 19:06:50
mysql_1    | 2022-08-16 19:06:50 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1    | 2022-08-16 19:06:50 0 [Note] Server socket created on IP: '::'.
mysql_1    | 2022-08-16 19:06:50 0 [Note] mysqld: ready for connections.
mysql_1    | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution

Thank you. From localhost as well as localhost/openemr, I am still getting ‘Problem Loading Page. Secure Connection Failed’.

I see in the above code that I have to:

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mysql_1    | To do so, start the server, then issue the following command:
mysql_1    | 
mysql_1    | '/usr/bin/mysql_secure_installation'

Please could you confirm that I have to do this and if so, how do I “start the server”. Thank you.

Sorry, I don’t understand “exit out of your shell”. I have removed apache2 and rebooted.

when you type exit the terminal closes and then you can reopen, also the - d let’s it run detached so you can continue to use that terminal, docker-compose up -d

give it a sec to load up and then go to http://localhost/interface/login/login.php?site=default since you won’t have https running out of the box

1 Like

Thank you. It is now good to go.

Funny (and annoying) thing is it works now in Firefox but not in Chrome, my preferred browser
(“This site can’t be reached - localhost refused to connect”), even after deleting cache.

After a reboot, I can no longer load openemr in Firefox either. I get “Secure Connection Failed … PR_END_OF_FILE_ERROR”.

SO frustrating!

Any further help, please?