Upgrade failed

I think my problem is related to this thread: Problem upgrading multi-site/multi-containers Discourse instance - #5 by jtraulle

I remember that I had upgrade problems before but never investigated them.