Bitbucket Server service installed as "BITBUCKET" instead of "Atlassian Bitbucket Server" and fails with code 4

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Service is installed as BITBUCKET instead of "Atlassian Bitbucket Server" and the service does not start with a message:

 

The following appears in the atlassian-bitbucket.log:

Windows could not start BITBUCKET on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service specific error code 4.

Cause

The service was installed with no administrator user

Resolution

  • Run command prompt as administrator
  • Run "service.bat remove" to remove the incorrect server

  • Run "service.bat install" to install the service correctly in the server

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.