Answer the question
In order to leave comments, you need to log in
Why can't I push to GitLab after an update?
After I upgraded Gitlab from 12.2.1 to 12.4.0, I can't push changes to any branch.
This is what it shows me when I push:
remote: GitLab: This action cannot be performed by internal users
To git.repo.com:repo/main-websites/repo.com.git
! [remote rejected] branch -> branch (pre-receive hook declined)
error: failed to push some refs to '[email protected]:repo/main-websites/repo.com.git'
{
"method":"POST",
"url":"http://127.0.0.1:8080/api/v4/internal/allowed",
"code":"401",
"body":"{
"status":false,
"message":"This action cannot be performed by internal users"
}",
"pid":17255,
"level":"error",
"msg":"Call failed",
"time":"2019-10-23T13:55:33+00:00"
}
Answer the question
In order to leave comments, you need to log in
The key file was broken on the GitLab server.
Fixed it like this:
Everything works again!
The answer was found here: https://stackoverflow.com/a/29765704/1544230
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question