Install fails for bamboo, need a roadmap for upgrading 4.4.5 to current bamboo

So the roadmap says to reinstall current version (4.4.5) to my new server, first, then import, then upgrade.

The new server has jdk1.8, but apparently 4.4.5 is not compatible with that (see log snippet below).

guessing I will need java8 when I upgrade to current bamboo version. Not sure how to proceed here.

...

This is really a pain man. backup existing bamboo, install old version,get the damn driver for mysql, setup mysql database via sql commands, import old data, then upgrade (sure I am missing steps).... sad

 

2016-04-05 16:45:51,548 ERROR [qtp2117255219-16] [runtime] Expression webResourceManager is undefined on line 22, column 11 in fragments/decorator/decorators.ftl.

Expression webResourceManager is undefined on line 22, column 11 in fragments/decorator/decorators.ftl.
The problematic instruction:
----------
==> ${webResourceManager.requireResourcesForContext(resourceContext)} [on line 22, column 9 in fragments/decorator/decorators.ftl]
in user-directive decorators.displayHtmlHeader [on line 3, column 1 in fragments/decorator/htmlHeader.ftl]
in include "/fragments/decorator/htmlHeader.ftl" [on line 1, column 1 in decorators/main.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression webResourceManager is undefined on line 22, column 11 in fragments/decorator/decorators.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)

1 answer

This widget could not be displayed.

Warren,

I feel your pain. I've encountered something similar when upgrading Bamboo in the past from older versions. You're right, this is a Java 8 compatibility issue. What has worked for me is:

  1. Get the environment up-and-running again
  2. Shut down the environment
  3. Upgrade Java to 1.8, make sure the $JAVA_HOME directory is correctly set to save yourself the headache
  4. Perform the upgrade as usual

To protect yourself in the future, definitely refer to the Supported Platforms for any application before the upgrade, and be sure to read the Upgrade Guide and Release Notes to further save yourself from the headache!

Let me know if you have any questions, or how it goes after you get it back to square 1.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

75 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you