New Gitlab install fails on reconfigure

I installed gitlab-ce on debian 11 and during the install process i get an error on gitlab-rails database migrate
rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (gitlab::database_migrations line 18) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed

This is on a fresh install of debian 11 minimal server running proxmox mail gateway, SMTP and dovecot.