Skip to content

Devserver stuck in an inifnite loop  #3969

@jakubfiala

Description

@jakubfiala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions