Fatal: could not read Username for [gitlab]: terminal prompts disabled

We have the same issue. We updated from ‘18.5.2-ee.0’ to ‘18.6.0-ee.0’

I went to a build dir on the runner and used git remote to find the remote URL with temp token. It says (edit: this was probably wrong):

# git clone https://gitlab-ci-token:glcbt-64_REMOVEDIT@gitlab.example.nl/myrepo.git
Cloning into 'myrepo'...
remote: HTTP Basic: Access denied. If a password was provided for Git authentication, the password was incorrect or you're required to use a token instead of a password. If a token was provided, it was either incorrect, expired, or improperly scoped. See https://gitlab.example.nl/help/topics/git/troubleshooting_git.md#error-on-git-fetch-http-basic-access-denied

Edit: actually, I was in the wrong build dir… When I go the actual build dir, the git remote doesn’t have the gitlab-ci-token stanza anymore. It’s just a plain https url.

Trying to find more info.

I can try downgrading, but I’m not sure if there are DB changes that are incompatible.