-
Bug
-
Resolution: Fixed
-
Low
-
6.8.0
-
2
-
Severity 3 - Minor
-
Issue Summary
If the upgrade is performed with expired license, Bamboo fail to load the error page
Steps to Reproduce
- Install old Bamboo with old license
- Shutdown old Bamboo
- Install Bamboo 6.8.0 and configure it to use the same Bamboo Home
- Start Bamboo 6.8.0
Expected Results
It will fail to upgrade and display error page with the following message:
Bamboo bootstrap failed: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian Support at https://support.atlassian.com
Actual Results
Bamboo fail to load the error page. The following exception is shown with the URL http://localhost:8085/bootstrap/selectSetupStep.action :
This page isn’t working localhost redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
The following is thrown in the atlassian-bamboo.log file:
2019-03-05 16:57:41,109 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet. 2019-03-05 16:57:41,165 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized 2019-03-05 16:57:41,676 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy 2019-03-05 16:57:42,484 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised 2019-03-05 16:57:42,539 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy 2019-03-05 16:57:43,161 INFO [localhost-startStop-1] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)> 2019-03-05 16:57:43,213 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy 2019-03-05 16:57:43,291 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised 2019-03-05 16:57:43,324 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy 2019-03-05 16:57:56,403 INFO [http-nio-8085-exec-1] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action' 2019-03-05 16:57:56,416 INFO [http-nio-8085-exec-2] [AccessLogFilter] 0:0:0:0:0:0:0:1 GET http://localhost:8085/bootstrap/selectSetupStep.action 581370kb 2019-03-05 16:57:56,672 INFO [http-nio-8085-exec-2] [SelectSetupStepAction] Current setup step is /setup/complete.action 2019-03-05 16:57:56,687 INFO [http-nio-8085-exec-3] [AccessLogFilter] 0:0:0:0:0:0:0:1 GET http://localhost:8085/setup/complete.action 444051kb 2019-03-05 16:57:56,707 INFO [http-nio-8085-exec-4] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action' 2019-03-05 16:57:56,712 INFO [http-nio-8085-exec-5] [AccessLogFilter] 0:0:0:0:0:0:0:1 GET http://localhost:8085/bootstrap/selectSetupStep.action 434647kb 2019-03-05 16:57:56,716 INFO [http-nio-8085-exec-5] [SelectSetupStepAction] Current setup step is /setup/complete.action 2019-03-05 16:57:56,721 INFO [http-nio-8085-exec-6] [AccessLogFilter] 0:0:0:0:0:0:0:1 GET http://localhost:8085/setup/complete.action 432766kb
Notes
- It seems to be trying to load the setup page continuously till it break.
- The same problem will happen if MySQL driver is not added to Bamboo yet
Workaround
- Shutdown Bamboo
- Replace the license in the file <bamboo-home>/bamboo.cfg.xml with the new license in my.atlassian.com , for example:
<property name="license.string">license line 1 license line 2 license line 3 license line 4 etc</property>
- Restart Bamboo
- duplicates
-
BAM-20392 Bamboo UI accessible after post-bootstrap upgrade task fails and build plans aren't visible
-
- Closed
-