From 71ab79d7e303fd17ee39b71852035ddf5649d99e Mon Sep 17 00:00:00 2001 From: cjcolvar Date: Wed, 6 Nov 2024 12:00:24 -0500 Subject: [PATCH] Always return 0 from docker init script so startup doesn't halt on concurrent db migrate errors --- docker_init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker_init.sh b/docker_init.sh index 8181cbeb70..5e11471598 100755 --- a/docker_init.sh +++ b/docker_init.sh @@ -8,3 +8,5 @@ cp config/controlled_vocabulary.yml.example config/controlled_vocabulary.yml rm -f tmp/pids/server.pid bundle exec rake db:migrate +#Ignore any errors with db:migrate and go ahead with startup +exit 0