gitlab-ce upgrade from 12.3.5 to 12.4.0 doesn't work in docker setup

Summary

I'm running a gitlab-ce instance in a docker setup (with docker-compose). I tried to upgrade it from 12.3.5 to 12.4.0 but I get the following error output in the logs: https://pastebin.com/QEkRKZuF

Steps to reproduce

I'm not really sure. I had this only in this one instance. It was running with 12.3.5 on the gitlab/gitlab-ce docker image and i just tried to upgrade it to the :latest version.

What is the current bug behavior?

The above errors were thrown in the log and then the container crashes

What is the expected correct behavior?

Update should run through and the container should eventually start up with as 12.4.0

Relevant logs and/or screenshots

https://pastebin.com/QEkRKZuF

Edited by Andreas 'Segaja' Schleifer