Glint
Glint copied to clipboard
web_1 | /bin/sh: 1: ./start.sh: not found -> glint_web_1 exited with code 127
Hello, I´m running this command: $ docker-compose -f docker-compose.yml up
and get that output:
Starting glint_redis_1 ... done Starting glint_web_1 ... done Attaching to glint_web_1, glint_redis_1 web_1 | /bin/sh: 1: ./start.sh: not found redis_1 | 1:C 10 Jan 2020 10:25:30.825 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 10 Jan 2020 10:25:30.825 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 10 Jan 2020 10:25:30.825 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1 | 1:M 10 Jan 2020 10:25:30.826 * Running mode=standalone, port=6379. redis_1 | 1:M 10 Jan 2020 10:25:30.826 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 10 Jan 2020 10:25:30.826 # Server initialized redis_1 | 1:M 10 Jan 2020 10:25:30.826 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. redis_1 | 1:M 10 Jan 2020 10:25:30.826 * DB loaded from disk: 0.000 seconds redis_1 | 1:M 10 Jan 2020 10:25:30.826 * Ready to accept connections glint_web_1 exited with code 127
In the dockerfile we copy the start.sh. I have no idea whats wrong here...
Hello, thanks for submitting an issue 😄
Typically I run this with the following command:
docker-compose up
This works fine on my computer. I have noticed a small issue with environment variables, and have updated the code to reflect this.
Which environment are you running this on?
Running Win10 Docker Desktop with Linux Containers
After your last commit:
$ docker-compose up Starting glint_redis_1 ... done Recreating glint_web_1 ... done Attaching to glint_redis_1, glint_web_1 redis_1 | 1:C 12 Jan 2020 09:26:28.395 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 12 Jan 2020 09:26:28.395 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 12 Jan 2020 09:26:28.395 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1 | 1:M 12 Jan 2020 09:26:28.396 * Running mode=standalone, port=6379. redis_1 | 1:M 12 Jan 2020 09:26:28.396 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 12 Jan 2020 09:26:28.396 # Server initialized redis_1 | 1:M 12 Jan 2020 09:26:28.396 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. redis_1 | 1:M 12 Jan 2020 09:26:28.396 * DB loaded from disk: 0.000 seconds redis_1 | 1:M 12 Jan 2020 09:26:28.396 * Ready to accept connections web_1 | /bin/sh: 1: ./start.sh: not found glint_web_1 exited with code 127
Hi @mobsean, sorry I'm unable to reproduce this error. We tried running it on a windows laptop with docker installed, and it seemed to run fine.
Can you try pruning all of your docker images and caches? Maybe something messed up during the installation.