Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ERROR: Locking this Bitbucket instance failed

Gareth Jones April 21, 2016

We're running a Bitbucket container (atlassian/bitbucket-server:4.2) and using the diy backup script to prepare backup artefacts.

For a time everything was peachy but recently this error message is cropping up in the logs:

[http://localhost:7990] ERROR: Locking this Bitbucket instance failed

This happens after rsync copies the incremental changes to the temporary folder, that bit works fine. But because it can't lock it, it won't progress and create a backup.

This is relevant but there's no activity there.

2 answers

1 accepted

0 votes
Answer accepted
Gareth Jones April 24, 2016

D'oh! The error was caused by the configuration of a proxy for internet access, it needed to be bypassed for the local Bitbucket instance.

I added –noproxy localhost to the curl options in the .var.sh file to resolve this issue.

0 votes
IT Manager February 18, 2020

I ran into this error and found the password started with a symbol and changing the password allowed me to get past this issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events