Closed jwjohns closed 5 years ago
We merged some PR about Docker bugs. Could you please retry ?
Thanks
I am still seeing similar behavior.
docker-compose logs --follow nestdatagraph
Attaching to nest-datagraph_nestdatagraph_1
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
: invalid option namentrypoint.sh: line 2: set: pipefail
nest-datagraph_nestdatagraph_1 exited with code 2```
if I can figure it out I will submit a PR
docker-compose logs --follow nestdatagraph
Attaching to nest-datagraph_nestdatagraph_1
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
: invalid option namentrypoint.sh: line 2: set: pipefail
nestdatagraph_1 | /entrypoint.sh: line 3: $'\r': command not found
: invalid option | /entrypoint.sh: line 4: set: -
nestdatagraph_1 | set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
nestdatagraph_1 | /entrypoint.sh: line 5: $'\r': command not found
nestdatagraph_1 | /entrypoint.sh: line 6: syntax error near unexpected token `$'{\r''
'estdatagraph_1 | /entrypoint.sh: line 6: `check_database_connection() {
nest-datagraph_nestdatagraph_1 exited with code 2
@gchenuet I think I figured it out. entrypoint.sh has CRLF
line endings. Needed to be LF
nestdatagraph_1 | Starting Nest Datagraph! ...
nestdatagraph_1 | + /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
nestdatagraph_1 | 2019-10-15 11:04:00,650 CRIT Set uid to user 0
nestdatagraph_1 | 2019-10-15 11:04:00,689 INFO RPC interface 'supervisor' initialized
nestdatagraph_1 | 2019-10-15 11:04:00,689 CRIT Server 'unix_http_server' running without any HTTP authentication checking
nestdatagraph_1 | 2019-10-15 11:04:00,690 INFO supervisord started with pid 25
nestdatagraph_1 | 2019-10-15 11:04:01,695 INFO spawned: 'php5-fpm' with pid 28
nestdatagraph_1 | 2019-10-15 11:04:01,699 INFO spawned: 'nginx' with pid 29
nestdatagraph_1 | 2019-10-15 11:04:02,920 INFO success: php5-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
nestdatagraph_1 | 2019-10-15 11:04:02,920 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
I setup the ini, built the images, but when i run the app, it fails to start properly and throws
nest-datagraph_nestdatagraph_1 exited with code 2
repeatedly.I try and
docker exec -it
into the container and it fails as the container is continually restarting. This is posing an issue in debugging it.