campsych / concerto-platform

Concerto Platform - Open-Source Online Adaptive Testing Platform
https://concertoplatform.com/
Apache License 2.0
153 stars 88 forks source link

Docker Installation of Previous Releases Keeps Restarting #235

Closed aboukhary closed 5 years ago

aboukhary commented 5 years ago

Concerto Platform version

concerto5.0.beta.8 and concerto5.0.beta.7

Expected behavior

The docker image for both releases doesn't work properly.

Actual behavior

The server keep restarting. When the log command is used docker logs --tail 50 --follow --timestamps concerto Docker log file shows the following error: 2019-06-04T00:43:46.804373224Z concerto setup (dev) 2019-06-04T00:43:46.804857748Z updating database... 2019-06-04T00:43:46.861081297Z 2019-06-04T00:43:46.862080250Z In AbstractMySQLDriver.php line 103: 2019-06-04T00:43:46.862434707Z 2019-06-04T00:43:46.862731635Z An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused 2019-06-04T00:43:46.863030752Z 2019-06-04T00:43:46.863272140Z 2019-06-04T00:43:46.863750529Z In PDOConnection.php line 47: 2019-06-04T00:43:46.864045993Z 2019-06-04T00:43:46.864367244Z SQLSTATE[HY000] [2002] Connection refused 2019-06-04T00:43:46.864634509Z 2019-06-04T00:43:46.864848962Z 2019-06-04T00:43:46.865302630Z In PDOConnection.php line 43: 2019-06-04T00:43:46.865575656Z 2019-06-04T00:43:46.865831643Z SQLSTATE[HY000] [2002] Connection refused 2019-06-04T00:43:46.866094710Z 2019-06-04T00:43:46.866294898Z 2019-06-04T00:43:46.866662965Z concerto:setup [--admin-pass ADMIN-PASS] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> 2019-06-04T00:43:46.866913606Z

Steps to reproduce the issue

Try to install beta.8 or beta.7; yet the docker image of beta.9 and beta.10 is working fine.