Upgrade fails on old version of Postgres database

Yes, I’m running Postgres outside the container, do you recommend to not have such setup?