Error after upgrading Bamboo 5.x to latest version 6.2.3
Asked by Chad DeShaw:

Bamboo bootstrap failed: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian Support at

I checked the license key and it is correct.


Answers:
author: Ellie Z _they_them_
body: I wanted to circle back and summarize what [@Chad DeShaw](/t5/user/viewprofilepage/user-id/671272) and I worked on for this issue in the Support Ticket I opened from this post.

As Bamboo was connecting to the PostgreSQL database using a JNDI DataSource, we needed to specify the following in the DataSource configuration to set the autocommit to False:

```
defaultAutoCommit="false"
```

Then, as a follow up, after upgrading to the latest version of Bamboo, we had found that the permissions on the Bamboo Installation directory were not granted correctly for the Bamboo user. In this case, we specified Full Control for that user.

Thanks again!

Elias \| Bamboo Support

comments: author: Gonchik Tsymzhitov
body: Thank you for reply here!


author: Gonchik Tsymzhitov
body: Hello Chad,

As I understand you are checked license key in xml using this doc

<https://confluence.atlassian.com/bamkb/unable-to-run-pre-bootstrap-upgrade-tasks-as-your-support-period-has-ended-762874747.html>

Is that correct?

If so, could you provide a more log info?

Cheers,

Gonchik Tsymzhitov

comments: author: Chad DeShaw
body: I would if I didn't have to cleanse the log of urls just to post it here.

If Atlassian wants the starter license to use this as support provide us a better way to post info.


author: Chad DeShaw
body: I keep getting error trying post log says invalid html or post as text, I try that and it won't post.


author: Chad DeShaw
body: 2017-11-30 15:50:08,152 ERROR \[localhost-startStop-1\] \[AbstractUpgradeManager\] org.postgresql.util.PSQLException: Cannot commit when autoCommit is enabled.  
org.postgresql.util.PSQLException: Cannot commit when autoCommit is enabled.  
at org.postgresql.jdbc.PgConnection.commit(PgConnection.java:755)  
at org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.commit(DelegatingConnection.java:367)  
at org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.commit(DelegatingConnection.java:367)  
at com.atlassian.bamboo.utils.db.AbstractDbmsBean.migrateColumnType(AbstractDbmsBean.java:152)  
at com.atlassian.bamboo.upgrade.tasks.v5_15.UpgradeTask51503ConvertVariableValueToLargeText.lambda$doUpgrade$0(UpgradeTask51503ConvertVariableValueToLargeText.java:29)  
at com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask.withDatabaseConnection(AbstractBootstrapUpgradeTask.java:65)  
at com.atlassian.bamboo.upgrade.tasks.v5_15.UpgradeTask51503ConvertVariableValueToLargeText.doUpgrade(UpgradeTask51503ConvertVariableValueToLargeText.java:25)  
at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.runUpgradeTask(AbstractUpgradeManager.java:154)  
at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.doUpgrade(BootstrapUpgradeManagerImpl.java:73)  
at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:286)  
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:77)  
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:117)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)


author: Chad DeShaw
body: Just now restarted and got this

2017-11-30 19:02:32,789 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] Starting BootstrapLoaderListener  
2017-11-30 19:02:32,804 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-11-30 19:02:32,804 INFO \[localhost-startStop-1\] \[lifecycle\] \* Bamboo is starting up \*  
2017-11-30 19:02:32,804 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-11-30 19:02:32,804 INFO \[localhost-startStop-1\] \[ServletContextHolder\] Setting servlet context: Bamboo  
2017-11-30 19:02:32,898 INFO \[localhost-startStop-1\] \[lifecycle\] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.\*,sun.\*,com.sun.\*,org.w3c.dom.\*,org.apache.xerces.\*  
2017-11-30 19:02:33,179 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] App classloader is the same as web app classloader  
2017-11-30 19:02:35,971 INFO \[localhost-startStop-1\] \[lifecycle\] Starting Bamboo 6.2.3 (build #60210 Mon Nov 20 09:34:22 CST 2017) using Java 1.8.0_112 from Oracle Corporation  
2017-11-30 19:02:35,987 INFO \[localhost-startStop-1\] \[lifecycle\] Real path of servlet context: C:\\Program Files\\Bamboo\\atlassian-bamboo\\  
2017-11-30 19:02:36,517 WARN \[localhost-startStop-1\] \[AbstractDom4jXmlConfigurationPersister\] Unable to move F:\\bamboo-home\\bamboo.cfg.xml1335557852894921486tmp to F:\\bamboo-home\\bamboo.cfg.xml. Falling back to non-atomic overwrite.  
2017-11-30 19:02:36,658 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] Unable to run pre-bootstrap upgrade tasks as your support period has ended  
2017-11-30 19:02:36,658 INFO \[localhost-startStop-1\] \[lifecycle\] Bamboo home directory: F:\\bamboo-home  
2017-11-30 19:02:36,658 INFO \[localhost-startStop-1\] \[lifecycle\] Default charset: windows-1252, file name ecoding: Cp1252  
2017-11-30 19:02:36,673 INFO \[localhost-startStop-1\] \[UpgradeLauncher\] Upgrades not performed since the application has not been set up yet.  
2017-11-30 19:02:36,673 INFO \[localhost-startStop-1\] \[CompressingFilter\] CompressingFilter has initialized  
2017-11-30 19:02:37,360 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 19:02:38,358 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-11-30 19:02:38,420 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 19:02:39,700 INFO \[localhost-startStop-1\] \[AccessLogFilter\] AccessLogFilter initialized. Format is: \<user\> \<url\> \<starting memory free (kb)\> +- \<difference in free mem (kb)\> \<query time (ms)\>  
2017-11-30 19:02:39,762 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 19:02:39,902 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-11-30 19:02:39,949 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 19:02:40,090 ERROR \[localhost-startStop-1\] \[EmbeddedServletOptions\] The scratchDir you specified: C:\\Program Files\\Bamboo\\work\\Catalina\\localhost\\ROOT is unusable.  
2017-11-30 19:03:01,118 INFO \[http-apr-8085-exec-4\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'


author: Chad DeShaw
body: 2017-11-30 23:34:40,442 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] Starting BootstrapLoaderListener  
2017-11-30 23:34:40,457 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-11-30 23:34:40,457 INFO \[localhost-startStop-1\] \[lifecycle\] \* Bamboo is starting up \*  
2017-11-30 23:34:40,457 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-11-30 23:34:40,457 INFO \[localhost-startStop-1\] \[ServletContextHolder\] Setting servlet context: Bamboo  
2017-11-30 23:34:40,535 INFO \[localhost-startStop-1\] \[lifecycle\] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.\*,sun.\*,com.sun.\*,org.w3c.dom.\*,org.apache.xerces.\*  
2017-11-30 23:34:40,769 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] App classloader is the same as web app classloader  
2017-11-30 23:34:42,033 INFO \[localhost-startStop-1\] \[lifecycle\] Starting Bamboo 6.2.3 (build #60210 Mon Nov 20 09:34:22 CST 2017) using Java 1.8.0_112 from Oracle Corporation  
2017-11-30 23:34:42,033 INFO \[localhost-startStop-1\] \[lifecycle\] Real path of servlet context: C:\\Program Files\\Bamboo\\atlassian-bamboo\\  
2017-11-30 23:34:42,267 WARN \[localhost-startStop-1\] \[AbstractDom4jXmlConfigurationPersister\] Unable to move F:\\bamboo-home\\bamboo.cfg.xml3125048913447356143tmp to F:\\bamboo-home\\bamboo.cfg.xml. Falling back to non-atomic overwrite.  
2017-11-30 23:34:42,329 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] Unable to run pre-bootstrap upgrade tasks as your support period has ended  
2017-11-30 23:34:42,329 INFO \[localhost-startStop-1\] \[lifecycle\] Bamboo home directory: F:\\bamboo-home  
2017-11-30 23:34:42,329 INFO \[localhost-startStop-1\] \[lifecycle\] Default charset: windows-1252, file name ecoding: Cp1252  
2017-11-30 23:34:42,345 INFO \[localhost-startStop-1\] \[UpgradeLauncher\] Upgrades not performed since the application has not been set up yet.  
2017-11-30 23:34:42,360 INFO \[localhost-startStop-1\] \[CompressingFilter\] CompressingFilter has initialized  
2017-11-30 23:34:42,875 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 23:34:43,749 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-11-30 23:34:43,811 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 23:34:44,482 INFO \[localhost-startStop-1\] \[AccessLogFilter\] AccessLogFilter initialized. Format is: \<user\> \<url\> \<starting memory free (kb)\> +- \<difference in free mem (kb)\> \<query time (ms)\>  
2017-11-30 23:34:44,544 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 23:34:44,685 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-11-30 23:34:44,716 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-11-30 23:34:44,841 ERROR \[localhost-startStop-1\] \[EmbeddedServletOptions\] The scratchDir you specified: C:\\Program Files\\Bamboo\\work\\Catalina\\localhost\\ROOT is unusable.  
2017-11-30 23:34:45,012 INFO \[http-apr-8085-exec-2\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/admin/systemErrors.action' to '/error/errorEvents.action'  
2017-11-30 23:34:45,028 INFO \[http-apr-8085-exec-3\] \[AccessLogFilter\] 172.25.42.159 GET http://sstgit01:8085/error/errorEvents.action 395031kb  
2017-11-30 23:36:10,407 INFO \[http-apr-8085-exec-5\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/admin/systemErrors.action' to '/error/errorEvents.action'  
2017-11-30 23:36:10,407 INFO \[http-apr-8085-exec-6\] \[AccessLogFilter\] 172.25.42.159 GET http://sstgit01:8085/error/errorEvents.action 446158kb  
2017-11-30 23:36:19,377 INFO \[localhost-startStop-2\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed  
2017-11-30 23:36:19,392 INFO \[localhost-startStop-2\] \[CompressingFilter\] CompressingFilter is being destroyed...  
2017-11-30 23:36:19,392 INFO \[localhost-startStop-2\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed  
2017-11-30 23:36:19,439 INFO \[localhost-startStop-2\] \[BambooPluginManager\] Plugin state will no longer be persisted.


author: Chad DeShaw
body: Does Anyone got any idea what I need to look at to fix this?


author: Ellie Z _they_them_
body: Hi [@Chad DeShaw](/t5/user/viewprofilepage/user-id/671272),

This is Elias from Bamboo Support. Thank you for reaching out.

From this error line in your most recent log snippet, it looks like your Support license has indeed expired:

```
2017-11-30 23:34:42,329 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Unable to run pre-bootstrap upgrade tasks as your support period has ended
```

If you have a current and valid license for Bamboo, is it possible that the Bamboo Home directory that you're connecting to has an old license in the bamboo.cfg.xml file?

Valid licenses are required to perform Bamboo upgrades, so do you have the current Bamboo license that you can apply to your instance?  
If so, the license key can be applied to your instance by updating the license.string value in

```
F:\bamboo-home\bamboo.cfg.xml
```

This would be, for example:

```
    <property name="license.string">YOUR_NEW_LICENSE_STRING</property>
```

Please let me know if you have any additional questions!

Thanks,

Elias \| Bamboo Support


author: Chad DeShaw
body: I have cut and paste the current valid key 4 times now and put it into that same file,I don't know why it isn't working.


author: Chad DeShaw
body: Here is new log from startup after changing the key yet again.

2017-12-01 13:32:12,478 INFO \[http-apr-8085-exec-9\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/favicon.ico' to '/error/errorEvents.action'  
2017-12-01 13:32:12,509 INFO \[http-apr-8085-exec-10\] \[AccessLogFilter\] 172.25.42.159 GET http://sstgit01:8085/error/errorEvents.action 388508kb  
2017-12-01 13:32:14,288 INFO \[http-apr-8085-exec-12\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'  
2017-12-01 13:32:14,288 INFO \[http-apr-8085-exec-13\] \[AccessLogFilter\] 172.25.42.159 GET http://sstgit01:8085/error/errorEvents.action 384002kb  
2017-12-01 13:32:32,821 INFO \[localhost-startStop-2\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed  
2017-12-01 13:32:32,836 INFO \[localhost-startStop-2\] \[CompressingFilter\] CompressingFilter is being destroyed...  
2017-12-01 13:32:32,836 INFO \[localhost-startStop-2\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed  
2017-12-01 13:32:32,914 INFO \[localhost-startStop-2\] \[BambooPluginManager\] Plugin state will no longer be persisted.  
2017-12-01 13:36:18,449 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] Starting BootstrapLoaderListener  
2017-12-01 13:36:18,449 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-12-01 13:36:18,449 INFO \[localhost-startStop-1\] \[lifecycle\] \* Bamboo is starting up \*  
2017-12-01 13:36:18,449 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2017-12-01 13:36:18,449 INFO \[localhost-startStop-1\] \[ServletContextHolder\] Setting servlet context: Bamboo  
2017-12-01 13:36:18,620 INFO \[localhost-startStop-1\] \[lifecycle\] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.\*,sun.\*,com.sun.\*,org.w3c.dom.\*,org.apache.xerces.\*  
2017-12-01 13:36:18,964 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] App classloader is the same as web app classloader  
2017-12-01 13:36:20,243 INFO \[localhost-startStop-1\] \[lifecycle\] Starting Bamboo 6.2.3 (build #60210 Mon Nov 20 09:34:22 CST 2017) using Java 1.8.0_112 from Oracle Corporation  
2017-12-01 13:36:20,243 INFO \[localhost-startStop-1\] \[lifecycle\] Real path of servlet context: C:\\Program Files\\Bamboo\\atlassian-bamboo\\  
2017-12-01 13:36:20,539 WARN \[localhost-startStop-1\] \[AbstractDom4jXmlConfigurationPersister\] Unable to move F:\\bamboo-home\\bamboo.cfg.xml8512291097087746916tmp to F:\\bamboo-home\\bamboo.cfg.xml. Falling back to non-atomic overwrite.  
2017-12-01 13:36:20,617 INFO \[localhost-startStop-1\] \[DefaultBootstrapManager\] Running validation tasks  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 1 : Validate that JDBC driver is available in classpath (bootstrap)  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 1 completed successfully.  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2 : Validate if build number in home directory matches database (bootstrap)  
2017-12-01 13:36:20,804 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2 completed successfully.  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2901 : Test if build number is applicable for upgrade (bootstrap)  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2901 completed successfully.  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ------------------------------------------------------------  
2017-12-01 13:36:21,429 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2902 : Test if plan keys are correctly formatted (bootstrap)  
2017-12-01 13:36:21,444 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ------------------------------------------------------------  
2017-12-01 13:36:21,522 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2902 completed successfully.  
2017-12-01 13:36:21,522 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------  
2017-12-01 13:36:21,522 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 4300 : Make sure there's single row in HIBERNATE_UNIQUE_KEY table (bootstrap)  
2017-12-01 13:36:21,522 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 4300 completed successfully.  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 4410 : Make sure that all branch keys start with their master's chain key (bootstrap)  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 4410 completed successfully.  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51010 : Check if lucene index root dir exists (bootstrap)  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51010 completed successfully.  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51012 : Make sure that MySQL server uses InnoDB engine for tables (bootstrap)  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51012 completed successfully.  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] --------------------------------------------------------------------------  
2017-12-01 13:36:21,553 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51102 : Make sure server key has been initialized and is valid (bootstrap)  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] --------------------------------------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51102 completed successfully.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51111 : Verify DB compatibility (bootstrap)  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[DatabaseIsSupported\] Testing compatibility of \[PostgreSQL\] 9.3.0 (9.3.5) using JDBC driver \[PostgreSQL Native Driver\] 9.3.0 (PostgreSQL 9.3 JDBC4 (build 1102)) with this version of Bamboo.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[DatabaseIsSupported\] Detected POSTGRESQL version \[PostgreSQL\] 9.3.0 (9.3.5), your DBMS version is supported.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51111 completed successfully.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51210 : Verify file name encoding (bootstrap)  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------  
2017-12-01 13:36:21,569 WARN \[localhost-startStop-1\] \[FileNameEncodingIsReasonable\] Encoding \[Cp1252\] used to encode file names is not capable of handling extended character sets. You may encounter failures during artifact transfers.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51210 completed successfully.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51301 : Test if collation and commit isolation is set correctly (bootstrap)  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51301 completed successfully.  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51302 : Check that MySQL tables are case insensitive (bootstrap)  
2017-12-01 13:36:21,569 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51302 completed successfully.  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51404 : Make sure OSGi bundle cache directory is empty, clean it if needed. (bootstrap)  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51404 completed successfully.  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 60001 : Make sure JNDI location of mail server is valid (bootstrap)  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------  
2017-12-01 13:36:21,585 INFO \[localhost-startStop-1\] \[MailServerJndiLocationIsValid\] Validating JNDI location of mail server in configuration file 'F:\\bamboo-home\\bamboo-mail.cfg.xml'.  
2017-12-01 13:36:21,694 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 60001 completed successfully.  
2017-12-01 13:36:21,694 INFO \[localhost-startStop-1\] \[DefaultBootstrapManager\] Running pre-bootstrap upgrade tasks  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Found 11 bootstrap upgrade tasks  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[AbstractUpgradeManager\] -----------------------------------------------------------------  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[AbstractUpgradeManager\] 51502 : Updating shared credential names to be unique (bootstrap)  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[AbstractUpgradeManager\] -----------------------------------------------------------------  
2017-12-01 13:36:21,834 ERROR \[localhost-startStop-1\] \[AbstractUpgradeManager\] java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.getSchema() is not yet implemented.  
java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.getSchema() is not yet implemented.  
at org.postgresql.Driver.notImplemented(Driver.java:729)  
at org.postgresql.jdbc4.AbstractJdbc4Connection.getSchema(AbstractJdbc4Connection.java:239)  
at org.postgresql.jdbc4.Jdbc4Connection.getSchema(Jdbc4Connection.java:21)  
at org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.getSchema(DelegatingConnection.java:992)  
at org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.getSchema(DelegatingConnection.java:992)  
at com.atlassian.bamboo.utils.db.AbstractDbmsBean.getSchemaUncached(AbstractDbmsBean.java:391)  
at com.atlassian.bamboo.utils.db.AbstractDbmsBean.getSchema(AbstractDbmsBean.java:383)  
at com.atlassian.bamboo.utils.db.AbstractDbmsBean.isTablePresent(AbstractDbmsBean.java:225)  
at com.atlassian.bamboo.utils.db.PostgreSqlDbmsBean.isTablePresent(PostgreSqlDbmsBean.java:149)  
at com.atlassian.bamboo.upgrade.tasks.v5_15.UpgradeTask51502UniqueSharedCredentialNames.lambda$doUpgrade$0(UpgradeTask51502UniqueSharedCredentialNames.java:34)  
at com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask.withDatabaseConnection(AbstractBootstrapUpgradeTask.java:65)  
at com.atlassian.bamboo.upgrade.tasks.v5_15.UpgradeTask51502UniqueSharedCredentialNames.doUpgrade(UpgradeTask51502UniqueSharedCredentialNames.java:32)  
at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.runUpgradeTask(AbstractUpgradeManager.java:154)  
at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.doUpgrade(BootstrapUpgradeManagerImpl.java:73)  
at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:286)  
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:77)  
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:117)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[AbstractUpgradeManager\] Task 51502 completed successfully.  
2017-12-01 13:36:21,834 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] Pre-bootstrap upgrade tasks failed  
com.atlassian.upgrade.UpgradeException: Pre-bootstrap upgrade tasks failed: \[Task for build 51502 failed with exception: Method org.postgresql.jdbc4.Jdbc4Connection.getSchema() is not yet implemented.\]  
at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:288)  
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:77)  
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:117)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[lifecycle\] Bamboo home directory: F:\\bamboo-home  
2017-12-01 13:36:21,834 INFO \[localhost-startStop-1\] \[lifecycle\] Default charset: windows-1252, file name ecoding: Cp1252  
2017-12-01 13:36:21,850 INFO \[localhost-startStop-1\] \[UpgradeLauncher\] Upgrades not performed since the application has not been set up yet.  
2017-12-01 13:36:21,850 INFO \[localhost-startStop-1\] \[CompressingFilter\] CompressingFilter has initialized  
2017-12-01 13:36:22,427 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-12-01 13:36:23,191 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-12-01 13:36:23,254 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-12-01 13:36:23,956 INFO \[localhost-startStop-1\] \[AccessLogFilter\] AccessLogFilter initialized. Format is: \<user\> \<url\> \<starting memory free (kb)\> +- \<difference in free mem (kb)\> \<query time (ms)\>  
2017-12-01 13:36:24,003 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-12-01 13:36:24,252 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised  
2017-12-01 13:36:24,330 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy  
2017-12-01 13:36:24,627 ERROR \[localhost-startStop-1\] \[EmbeddedServletOptions\] The scratchDir you specified: C:\\Program Files\\Bamboo\\work\\Catalina\\localhost\\ROOT is unusable.  
2017-12-01 13:36:24,876 INFO \[http-apr-8085-exec-2\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'  
2017-12-01 13:36:24,892 INFO \[http-apr-8085-exec-3\] \[AccessLogFilter\] 172.25.42.159 GET http://sstgit01:8085/error/errorEvents.action 363651kb


author: Ellie Z _they_them_
body: Hi Chad,

So that I can double check the license key on our side, would you be able to add the last 10 characters of the key, and your Support Entitlement Number (SEN) to this post? You can remove those characters from the post as soon as we confirm we've received it (we can't see edit history).

Could you please also confirm the email address on your my.atlassian.com account? I'd like to move this to a Support ticket, and the email address will allow us to contact you directly.

Thanks,  
Elias


author: Chad DeShaw
body: It is here in edit history.


author: Ellie Z _they_them_
body: Hi Chad,

You should be receiving an email from our Support system with the ticket I've just created.

Please let me know if you have any issues accessing it.

Thanks!

Elias