Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15516

Cannot push to master branch because of a lock file on the server

XMLWordPrintable

      Last week when I was trying to push, I got an error message which was saying that Bitbucket was recovering from an internal crash. Since then no users can no longer push to the master branch of git@bitbucket.org:digitalur/configuration_kpif.git. The error message is pasted below. From what I found this can only be fixed by bitbucket staff. Thanks in advance.

      #!bash
      $ git push
      Total 0 (delta 0), reused 0 (delta 0)
      remote: error: cannot lock ref 'refs/heads/master': Unable to create '/data/c01/n07/p/vp0657/data/d-297/r-28982297/refs/heads/master.lock': File exists.
      remote:
      remote: If no other git process is currently running, this probably means a
      remote: git process crashed in this repository earlier. Make sure no other git
      remote: process is running and remove the file manually to continue.
      To bitbucket.org:digitalur/configuration_kpif.git
       ! [remote rejected] master -> master (failed to update ref)
      error: failed to push some refs to 'git@bitbucket.org:digitalur/configuration_kpif.git'
      
      $ git remote -v
      origin	git@bitbucket.org:digitalur/configuration_kpif.git (fetch)
      origin	git@bitbucket.org:digitalur/configuration_kpif.git (push)
      

              Unassigned Unassigned
              a11d3dbbc441 adrienartaud
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: