akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Devserver stuck in an inifnite loop #3969

Open jakubfiala opened 11 months ago

jakubfiala commented 11 months ago

Context

I just got Akvo Flow running locally with docker-compose as suggested by the documentation. When the dev server starts, it gets stuck in an infinite loop printing:

akvo-flow_1           | [661]   4665 Done                    jobs -l
akvo-flow_1           |       4666                       | grep "Exit"
akvo-flow_1           |       4667                       | tr -s " "
akvo-flow_1           |       4668 Exit 1                  | grep " $npm_process "

The server is still accessible at localhost:8888. I'm on Ubuntu 23.04 running Docker version 24.0.7 and the latest master revision of this repo.

Problem or idea

I suspect this is caused by this line, which should stop the container but it doesn't: https://github.com/akvo/akvo-flow/blob/master/ci/devserver.sh#L24

Solution or next step

There must be a reason why the script exiting doesn't actually cause the container to stop.