I´m having an issue with my onprem gitlab instance.
I’m getting this errors when pushing to a repository:
# git push Username for 'https://gitlab.local': xxxxxx Password for 'https://email@example.com': Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Writing objects: 100% (3/3), 259 bytes | 259.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 remote: error: cannot lock ref 'refs/heads/1-test-push': is at 20597970dee76c610869d452b396c263ae36039d but expected dca88ff561e19920ffc956416f7aaaa2cd57955e To https://gitlab.local/my_user/test-project.git ! [remote rejected] 1-test-push -> 1-test-push (failed to update ref) error: failed to push some refs to 'https://gitlab.ibm.lab/fmtrasan/test-project.git'
Steps to reproduce:
1 - Create a new project.
2 - Create a new issue and a MR with a branch.
3 - Clone the repo from the branch issue or checkout that branch issue.
4 - make a change and commit.
5 - push the change.
I get that error, if I push again I get an “up to date”, but when I go to the MR I don´t see the commit on the history tab, but If I go to the branch History, it is there.
This started a few weeks ago, the version I´m running now is 14.5.2-ee.
I don´t know if I’m doing something wrong or there is a bug, because up till this started happening, always worked the same way.
Any input would be appreciated.