…CONTRIBUTING.md#code-contributions-local-development
Step 3: docker-compose up HANGS:
ubuntu@ip-10-0-0-128:~/IdeaProjects/openemr/docker/development-easy$ docker-compose up
Recreating development-easy_openldap_1 … done
Recreating development-easy_mysql_1 … done
Recreating development-easy_phpmyadmin_1 … done
Recreating development-easy_couchdb_1 … done
Recreating development-easy_openemr_1 … done
Attaching to development-easy_openldap_1, development-easy_mysql_1, development-easy_phpmyadmin_1, development-easy_couchdb_1, development-easy_openemr_1
mysql_1 | 2021-11-01 01:01:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
mysql_1 | 2021-11-01 01:01:00+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
mysql_1 | 2021-11-01 01:01:01+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
mysql_1 | 2021-11-01 1:01:01 0 [Note] mysqld (mysqld 10.5.12-MariaDB-1:10.5.12+maria~focal) starting as process 1 …
mysql_1 | 2021-11-01 1:01:01 0 [Note] InnoDB: Uses event mutexes
mysql_1 | 2021-11-01 1:01:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
…
(lots of messages)
…
openemr_1 | > Contribute to OpenEMR - Open Collective
openemr_1 |
openemr_1 | Starting apache!
openemr_1 | AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 172.18.0.6. Set the ‘ServerName’ directive globally to suppress this message
couchdb_1 | [notice] 2021-11-01T01:01:20.842081Z nonode@nohost <0.284.0> -------- rexi_server : cluster stable
couchdb_1 | [notice] 2021-11-01T01:01:20.842157Z nonode@nohost <0.288.0> -------- rexi_buffer : cluster stable
(does not continue – CPU noted to be zero usage)
So I tried -arm64 instead (since I’m using an x86_64 bit) — failure associated with MySQL:
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
mysql_1 | standard_init_linux.go:228: exec user process caused: exec format error
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): Host is unreachable in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance
openemr_1 | - MySQL is still starting up and wasn’t ready for connection yet
openemr_1 | - The Mysql credentials were incorrect
docker pull openemr/openemr:flexopenemr_1 | PHP Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance
openemr_1 | - MySQL is still starting up and wasn’t ready for connection yet
openemr_1 | - The Mysql credentials were incorrect
openemr_1 | PHP Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance
openemr_1 | - MySQL is still starting up and wasn’t ready for connection yet
openemr_1 | - The Mysql credentials were incorrect
openemr_1 | PHP Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance
openemr_1 | - MySQL is still starting up and wasn’t ready for connection yet
openemr_1 | - The Mysql credentials were incorrect
openemr_1 | PHP Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance
openemr_1 | - MySQL is still starting up and wasn’t ready for connection yet
openemr_1 | - The Mysql credentials were incorrect
openemr_1 | PHP Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Try again in /var/www/localhost/htdocs/openemr/library/classes/Installer.class.php on line 1322
openemr_1 | PHP Fatal error: Uncaught Exception: ERROR: unable to connect to database as root
openemr_1 | in /var/www/localhost/htdocs/auto_configure.php:47
openemr_1 | Stack trace:
openemr_1 | #0 {main}
openemr_1 | thrown in /var/www/localhost/htdocs/auto_configure.php on line 47
openemr_1 | Couldn’t set up. Any of these reasons could be what’s wrong:
openemr_1 | - You didn’t spin up a MySQL container or connect your OpenEMR container to a mysql instance