I just upgraded Java on bamboo, as well as the JAVA_OPTS variable in the server config, as well as ran "flush hosts" on the database that bamboo connects to. This enabled the web page to come back up, but now it's going through the new setup process and asking for the license key. Why is it doing that?
Usually, this happens because Bamboo is not finding its home directory or the home directory does not have the database configuration properly set. This scenario triggers the installation wizard so a new installation can be set.
If you had an installation working before and you want to restore it, you need to make sure:
A Bamboo installation is composed of 3 main parts:
The Bamboo process is started from the installation folder. It knows where is the home directory through the <Bamboo_Installation_Folder>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties file. Once the home directory is located, all the configurations set there can be loaded including the database details. This is how all three parts are connected.
In other words, if the Bamboo home directory is empty the installation wizard will be triggered so a new instance can be configured.