On Thu, Dec 20, 2018 at 05:02:13PM +0100, Remi Duraffort wrote:
Hello,
This solves another problem that I had with the official server
container: Sometimes (often) on subsequent starts, the DB migration startup step would happen before postgres had fully started, causing startup to fail.
That's a bug then: https://git.lavasoftware.org/lava/pkg/docker/issues/6
I just pushed a new commit on lava/pkg/docker to update lava-server entrypoint. Now the script is waiting for postgresql to be up and running before doing the migrations.
When you have time, could you test this new entrypoint to see if that's fixing the issue.
Tested and fixed @ https://git.lavasoftware.org/lava/pkg/docker/merge_requests/9. I do wonder if it should have a maximum wait time.
Thanks, Dan
Rgds
-- RĂ©mi Duraffort LAVA Team