I have already tried pulling and rebasing but no luck there. What is going on?
Sample message with more detail
Counting objects: 13, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 4.15 KiB | 0 bytes/s, done.
Total 13 (delta 8), reused 0 (delta 0)
remote: canceling statement due to conflict with recovery
remote: LINE 1: ...er"."date_joined" FROM "bb_repository" INNER JOIN "auth_user...
remote: DETAIL: User was holding a relation lock for too long.
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'firstname.lastname@example.org:xyz/abcd.git'
Issue #12869 was marked as a duplicate of this issue.
This affects pushing through the web interface too (gives an error 500 internal server error), and applies to all of the bitbucket repositories that I've tried.
It just resolved for me.
Yep, seems fine now.
Bitbucket was experiencing some issues around the time this issue was opened during scheduled maintenance: http://status.bitbucket.org/incidents/v0yb1y8m8ty1
In case you ever face issues again, please feel free to open a ticket in our support system: https://support.atlassian.com/