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

Bitbucket LDAP configuration issue

Hyung Choi September 18, 2017

After updating LDAP configuration, Bitbucket is no longer responding.  Docker container is up but UI is timing out.  How to reset LDAP configuration manually from server file system without UI access?

1 answer

0 votes
Mark A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2017

Hi Hyung,

Here are some steps you can use to try to get back into Bitbucket Server and revert your change.

Bitbucket Server 4.x

  • Stop Bitbucket Server
  • Open the setenv.sh in <BITBUCKET_INSTALLATION/bin>
  • Add -Dcrowd.polling.startdelay=2700000 to the sentenv.sh file in the JVM_SUPPORT_RECOMMENDED_ARGS section. This will delay the synchronization of LDAP for 45 minutes after the restart
  • Start Bitbucket Server

Bitbucket Server 5.x

Linux running as service

  • Stop Bitbucket Server
  • Open the _start-webapp.sh in <BITBUCKET_INSTALLATION/bin>
  • Add -Dcrowd.polling.startdelay=2700000 to the _start-webapp.sh file in the JVM_SUPPORT_RECOMMENDED_ARGS section. This will delay the synchronization of LDAP for 45 minutes after the restart.
  • Start Bitbucket Server

Windows running as service

  • Open the command window from Start >> Run >> type in 'cmd' >> Enter
  • cd to the bin directory of the Bitbucket Server Installation (<Bitbucket Server Installation dir>/bin).
  • Run from there:
bservmgr.exe //ES/AtlassianBitbucket

 

  • A window will pop up. Click on the Java tab to see the list of current start-up options. Under "Java Options:" form, input the value:
-Dcrowd.polling.startdelay=2700000

 

  • Restart Bitbucket Server.

Not running as a Service for Windows and Linux

  • Create environment variable for JVM_SUPPORT_RECOMMENDED_ARGS
  • Set environment variable value for -Dcrowd.polling.startdelay=2700000

I hope this helps. I look forward to your results.

Cheers,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events