Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

675 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you