Currently running Bitbucket v4.7.1 on Linux and there is a requirement to install a second instance on same server. I require advice on how to do the install where there is an instance already installed. I am aware that a different directory and port need to be used but during the install I receive the message 'it looks like a Bitbucket service is already installed in the target environment'
The tar.gz install process should be used for the additional instance(s) as the bin install may not support multiple instances on a server. Also, if I remember correctly, at most, only one of the bitbucket instances on the server can run the search (seems the ports used by search process are hard-coded/cannot be changed).
_start-webapp.sh: echo "To start the Bitbucket webapp without starting search, run start-bitbucket.sh --no-search"
Also, ensure all instances have different context paths. Ports in URLs are ignored by Atlassian login cookies.
Hi Jason,
Bitbucket Server depends on certain environment variables, and since they would be set to the same for all instances of Bitbucket Server running on the same machine you cannot run more than one instance of Bitbucket Server on a single machine.
Maybe Docker is a solution?
Cheers,
Christian
Premier Support Engineer
Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.