The instructions on this page are for customers who are currently using Bamboo with Crowd, and want to upgrade to Bamboo 3.2. These instructions complement the instructions on the Bamboo 3.2 Upgrade Guide.
In this upgrade process, you may need to upgrade your Crowd installation in addition to upgrading Bamboo.
On this page:
Bamboo 3.2 ships with Crowd 2.3 integration libraries. Before upgrading Bamboo to Bamboo 3.2, you must upgrade your Crowd instance to at least Crowd 2.3.1. This will result in better performance, particularly if you have a large user base. For instructions on how to upgrade Crowd, see the Crowd Upgrade Guide
If you would like to test whether Crowd 2.3.1 will work properly with your existing Bamboo installation, do the following:
Replace your crowd-integration-clientwith version 2.3.1, i.e.
rm Bamboo-3.1.4/webapp/WEB-INF/lib/crowd-integration-client*.jar cp atlassian-crowd-2.3.1/client/crowd-integration-client-2.3.1.jar Bamboo-3.1.4/webapp/WEB-INF/lib rm Bamboo-3.1.4/webapp/WEB-INF/classes/crowd-encache.xml cp atlassian-crowd-2.3.1/client/conf/crowd-encache.xml Bamboo-3.1.4/webapp/WEB-INF/classes
Copy atlassian-user-crowd-provider-3.2.jar from the Bamboo 3.2 distribution into your old Bamboo WEB-INF/libdirectory to avoid "NoClassDef" exceptions due to missing CrowdUserManager class, i.e.
cp Bamboo-3.2/webapp/WEB-INF/lib/atlassian-user-crowd-provider-3.2.jar Bamboo-3.1.4/webapp/WEB-INF/lib
After upgrading Crowd, you can upgrade Bamboo to Bamboo 3.2 using one of the following methods:
This method is similar to a regular Bamboo upgrade. You will install Bamboo 3.2, copy the Crowd settings over from your old Bamboo instance and point your new instance at your old Bamboo home.
rm Bamboo-3.2/webapp/WEB-INF/classes/atlassian-user.xmlcp Bamboo-3.1.4/webapp/WEB-INF/classes/atlassian-user.xml Bamboo-3.2/webapp/WEB-INF/classesrm Bamboo-3.2/webapp/WEB-INF/classes/crowd.propertiescp Bamboo-3.1.4/webapp/WEB-INF/classes/crowd.properties Bamboo-3.2/webapp/WEB-INF/classesbamboo-home (in webapp/WEB-INF/classes/bamboo-init.properties).crowd.properties, atlassian-user.xml and crowd-encache.xml files from Bamboo-3.2/webapp/WEB-INF/classes folder after this, if you wish (as per BAM-9318).This method requires you to install Bamboo 3.2 (including running the setup wizard), update your atlassian-user.xml and crowd.properties files in Bamboo, then import the data from your old Bamboo instance.
Connect your new Bamboo 3.2 instance to your Crowd instance by editing Bamboo-3.2-home/xml-data-configuration/atlassian-user.xml.
Please note this is not the same file as
Bamboo-3.2/webapp/WEB-INF/classes/atlassian-user.xml
Your file should look like this after editing:
<atlassian-user>
<repositories>
<crowd name='Crowd Repository' key='crowd'/>
</repositories>
</atlassian-user>
Bamboo-3.2-home/xml-data-configuration/crowd.properties and update the credentials and URLs.Bamboo-3.2/webapp/WEB-INF/classes/crowd.propertiescrowd.properties, atlassian-user.xml and crowd-encache.xml files from Bamboo-3.2/webapp/WEB-INF/classes folder after this, if you wish (as per BAM-9318).This method is similar to option 2. You are required to install Bamboo 3.2, however data is imported from your old Bamboo instance during the setup wizard. The atlassian-user.xml and crowd.properties files are updated in Bamboo, after the import.
Please be aware, that Bamboo will return error messages stating that the import has failed in this method. However, this is expected behaviour and the resultant upgrade will still work correctly.
Connect your new Bamboo 3.2 instance to your Crowd instance by editing Bamboo-3.2-home/xml-data-configuration/atlassian-user.xml.
Please note this is not the same file as
Bamboo-3.2/webapp/WEB-INF/classes/atlassian-user.xml
Your file should look like this after editing:
<atlassian-user>
<repositories>
<crowd name='Crowd Repository' key='crowd'/>
</repositories>
</atlassian-user>
Bamboo-3.2-home/xml-data/configuration/crowd.properties and update the credentials and URLs.Bamboo-3.2/webapp/WEB-INF/classes/crowd.propertiescrowd.properties, atlassian-user.xml and crowd-encache.xml files from Bamboo-3.2/webapp/WEB-INF/classes folder after this, if you wish (as per BAM-9318).Congratulations! You should now be able to log into your upgraded Bamboo instance and have your users managed by Crowd.
1 Comment
Anonymous
Dec 23, 2011Typo in crowd-encache.xml