youngmon/atlassian-qna huggingface dataset:
Is there a recommendation for upgrade order of Atlassian products?
Asked by Susan DiMaggio:

I currently have these Atlassian products:

Crowd 2.11, Confluence 5.9.4, Jira 7.0.10 and Bitbucket 4.4.2.

It is now time to upgrade, and the users want these versions:

Crowd 3.0.2, Confluence 6.5.1, Jira 7.6.1 and Bitbucket 5.5.4

Is there a recommended order for upgrading these products? I assume I start with crowd, but I am not sure about any dependencies the other products might have.

thanks for any helpful hints.


Answers:
author: AnnWorley
body: We don't have an official recommendation but I am inclined as you are, to upgrade Crowd first, if everything depends on Crowd to authenticate. Crowd 3.1.1 has been released, do your users have a reason they would rather have Crowd 3.0.2?

I asked a Jira engineer about Jira and Bitbucket and there is no preference for the sequence of upgrading the two of them. From Confluence 5.9.4 to 6.5.1 is a major upgrade because Collaborative editing was introduced in Confluence 6.0.

I strongly recommend trying the upgrades in a test environment first to avoid surprises in Production. Mirror Production as much as possible, for example, if the applications in Production have application links between them, link the test apps the same way.

I hunted down some docs that should help you get started:

**Crowd**

[Upgrading Crowd](https://confluence.atlassian.com/display/CROWD030/Upgrading+Crowd)

[Crowd 3.1 Release Notes](https://confluence.atlassian.com/display/CROWD/Crowd+3.1+Release+Notes) (in case they want the latest)

[Crowd 3.0 Release Notes](https://confluence.atlassian.com/display/CROWD/Crowd+3.0+Release+Notes)

**Bitbucket**

[Install or upgrade Bitbucket Server](https://confluence.atlassian.com/display/BitbucketServer/Install+or+upgrade+Bitbucket+Server)

[Bitbucket Server 5.5 release notes](https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+5.5+release+notes)

**Jira**

[Upgrading JIRA applications](https://confluence.atlassian.com/display/ADMINJIRASERVER/Upgrading+JIRA+applications)

[JIRA Software 7.6.x upgrade notes](https://confluence.atlassian.com/jirasoftware/jira-software-7-6-x-upgrade-notes-938027185.html)

**Confluence**

[Confluence 6.5 Upgrade Notes](https://confluence.atlassian.com/display/DOC/Confluence+6.5+Upgrade+Notes)

[Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html)
Is it possible to re-import Confluence users into the same directory multiple times?
Asked by Steinar Bang:

Versions:

* [Atlassian Crowd](https://www.atlassian.com/software/crowd/) Version: 2.12.0 (Build:#751 - 2017-04-25)
* [Atlassian Confluence](http://www.atlassian.com/software/confluence) 5.10.2

I'm in the process of transferring user management of an existing Confluence installation from Confluence itself to a crowd directory.

I already have a crowd directory containing an earlier import of the Confluence database and would have liked to reimport into that, and just get the updates (ie. just get new users and update the group memberships).

Is this possible?

Thanks!

- Steinar


Answers:
author: AnnWorley
body: Hi Steiner,

The user import utility ([Importing Users from Atlassian Confluence](https://confluence.atlassian.com/crowd/importing-users-from-atlassian-confluence-30736434.html)) doesn't have an incremental option.

If you don't want to risk your existing Crowd directory, please consider creating a new internal Crowd directory and doing a full import from Confluence to that one. Your original directory would be intact in case anything goes awry.

Regards,

Ann


author: Steinar Bang
body: Hi Ann,

Thanks for your answer!

I think what I will do, is to rename the existing directory and do a fresh import.


Tags: confluence
How to Modify Bulk users in a Crowd Group
Asked by Kumar.Abhishek@macquarie.com:

Hi Team

Please suggest how we can update users in bulk inside a crowd group.

We are currently using Crowd version 3.0.0


Answers:
author: Marcin Kempa
body: Hi [Kumar.Abhishek@macquarie.com](/t5/user/viewprofilepage/user-id/1154348)

As [@Bruno Vincent](/t5/user/viewprofilepage/user-id/853568) suggested your best option is to use Crowd REST API.

I am wondering what kind of bulk operation would you like to do with users? Is it about changing users group membership or maybe deactivating those users?

Best Regards,

Marcin Kempa

comments: author: Kumar.Abhishek@macquarie.com
body: Hi Marcin

The major usage for me will be to use it for the purpose of license cleanup . Please suggest if we have any alternate ways also to automate the entire license cleanup process.


author: Bruno Vincent
body: Hi Kumar,

Your best option is to use Crowd REST API: <https://docs.atlassian.com/atlassian-crowd/3.0.0/REST/>

comments: author: Joe Ben Clark
body: can you elaborate or direct me to documentation that gives specific guidance on how to build this using a list of usernames in excel/csv?

or based on last login date in confluence?
Error in Database Configuration
Asked by Ayesha Karunaratne:

I have created a database called CrowdTest. Given below the link to start

step4 Database configuration  
<https://confluence.atlassian.com/crowd/running-the-setup-wizard-192479.html>

Tried JDBC Connection and JNDI data source. In both instances following errors pop up.

Appreciate any assistance to proceed fro this step.

JDBC Connection  
Could not connect to the database: java.sql.SQLException: Network error IOException: Connection refused: connect

JNDI datasource  
Error accessing datasource: Could not locate datasource: jdbc/CrowdTest![JDBC_Config.png](/t5/image/serverpage/image-id/10549i23D222FD32D3DDE4/image-size/large?v=v2&px=999 "JDBC_Config.png")![JNDI_Config.png](/t5/image/serverpage/image-id/10550i97A9E2176C2E1E6B/image-size/large?v=v2&px=999 "JNDI_Config.png")


Answers:
author: AnnWorley
body: In the first screenshot, when the direct JDBC option was chosen, the Crowd database name, CrowdTest should be at the end of the JDBC URL instead of "Crowd"

To use the datasource option it is necessary to first have the datasource defined in the \<crowd_install\>/apache-tomcat/conf/server.xml file. The JNDI name matches the datasource name in the server.xml.

Direct JDBC connections are easier to administer; especially since this seems to be a test instance I recommend using the Direct JDBC option and changing the database name at the end of the JDBC URL.

I look forward to hearing whether you can connect that way.

comments: author: Ayesha Karunaratne
body: Appreciate your reply. I checked with my DBA. I need something like the following. Database is CrowdTest. I haven't found the port ID yet

\<servername\>:\<port\>/\<databasename\>
Configure Crowd with external LDAP to authenticate BitBucket
Asked by Siva Polamarasetti:

I am trying to configure external LDAP to Authenticate BitBucket user, that means I will use userID/Password of LDAP user. I am not supposed to set password in Crowd. But Crowd is not allowing to add user without setting password. How to configure Crowd without having set the password, just use password which is already been set in LDAP directory.


Answers:
author: AnnWorley
body: I understand you want to connect Crowd to LDAP and authenticate Bitbucket users via Crowd. You will need to set up an LDAP directory in Crowd and a Crowd User Directory in Bitbucket.

To pull the LDAP user into Crowd, please follow: [Adding a Directory](https://confluence.atlassian.com/crowd/adding-a-directory-18579549.html)

To connect BitBucket to Crowd, please see this guide: [External user directories - Crowd](https://confluence.atlassian.com/bitbucketserver/external-user-directories-776640394.html#Externaluserdirectories-Crowd)

Please let us know any follow up questions.


Tags: bitbucket

jira
Connecting Crowd 3.x to Azure AD
Asked by Christophe Houberdon:

Hello,

We are try trying to configure our Azure AD as a directory in Crowd 3.1 as it is described in the documentation <https://confluence.atlassian.com/crowd/configuring-azure-active-directory-935372375.html>

However, the following sentence makes me doubt:
> Crowd will automatically pull data from Azure AD. If that doesn't happen, you can click **Synchronise now** . Once the synchronization is complete, you can check your users and groups from Azure AD by going to **Users/Groups** in the top navigation bar.

Does that mean that ALL the AD users will be imported in Crowd? In our case: 300.000+

Thanks for your answer

Christophe


Answers:
author: Bruno Vincent
body: Hi [@Christophe Houberdon](/t5/user/viewprofilepage/user-id/182213),

You might want to take a look at our [Office 365 Directory Connector for Crowd](https://marketplace.atlassian.com/plugins/com.cleito.odcc/server/overview) (ODCC).

ODCC actually has a filter option that allows you to retrieve only the users who belong to specific Azure AD groups.

You can get more details about the ODCC plugin on our website: <https://www.cleito.com/products/odcc/>

comments: author: Christophe Houberdon
body: Hi Bruno,

Thanks for your answer. We tested ODCC and it seems very promising (e.g. group filtering, incremental synchronization). My main concern is about the sustainability of the plugin which will depend on the Atlassian roadmap and future Crowd features.


author: Bruno Vincent
body: Hi [@Christophe Houberdon](/t5/user/viewprofilepage/user-id/182213),

I understand your concern about the future of the plugin. However since as of today we have unique features (e.g. filtering options, Azure Germany support, 2FA users), we are definitely continuing to maintain and develop the plugin.

You might want to take a look at our comparison table here: <https://www.cleito.com/products/odcc/#comparison>

(Please note that as of today ODCC does not support incremental synchronisation)


author: Timothy
body: Yes. That is correct. Crowd will pull all the user, groups and membership that it can find in the selection that you allow it too. There are available options to filter out / in users, groups and memberships:

* <https://confluence.atlassian.com/crowd/restricting-ldap-scope-for-user-and-group-search-169118612.html>

comments: author: Christophe Houberdon
body: Hi Timothy, we already did that when we connected Crowd to our LDAP. But in our case we would like to play with a user directory of type "Azure Active Directory".


author: Timothy
body: I don't have a Crowd instance available to me at the moment but I would assume that it would be the same kind of filters enabled.
Can't login to CROWD with AD Account
Asked by Bender Bending Rodriguez:

Hello,

I have installed CROWD 3.0.2 on a Server. I added an Active Directory Directory to the CROWD Server via the Connector option. I can run successful synchs. However, I am unable to login to CROWD with an AD account.

I have created a few test accounts in my AD. I create group in my AD called crowd-administrators and assigned those test accounts to that group.

If I do searches for Users or Groups within CROWD, no results will show when I select the AD Directory.

What am I missing?

Thank you.


Answers:
author: Marcin Kempa
body: Hi [@Bender Bending Rodriguez](/t5/user/viewprofilepage/user-id/563103)!

As I understand you do not see your users nor groups in Crowd that were created in AD?

In this situation I would suggest checking the Base DN option if it points to the correct path as well as User object filter and Group object filter in Configuration tab.

Additionally do you see any errors in Crowd's log file?

Once you can see those users and groups, in order to be able to log into Crowd please make sure that this AD directory [is mapped to Crowd application](https://confluence.atlassian.com/crowd/mapping-a-directory-to-an-application-18579599.html) (you might already did that, but I did not get this from your description)

Hope that helps

Marcin Kempa

comments: author: Bender Bending Rodriguez
body: I did have to adjust my Base DN and also map CROWD.

Thank you.


Tags: active-directory

ldap
Crowd wont load its full GUI just white background and text
Asked by Mladen Popov:

For quite some time my crowd instance looks that (screen shots included.) I tried cleaning the plugins on the instance, cleared cache on browsers and tied it on different work stations with no luck. When try to create a support.zip nothing happens.![Screenshot_2017-11-30_10-09-04.png](/t5/image/serverpage/image-id/10216i22F1F1D2B4907B17/image-size/large?v=v2&px=999 "Screenshot_2017-11-30_10-09-04.png")![Screenshot_2017-11-30_09-56-53.png](/t5/image/serverpage/image-id/10215iB0C7416628837DCC/image-size/large?v=v2&px=999 "Screenshot_2017-11-30_09-56-53.png")


Answers:
author: Mladen Popov
body: found a workaround solution here -\> <https://jira.atlassian.com/browse/CWD-4968>
Jira is running I need to install Crowd
Asked by Charlie:

Hi,

I would like to install Crowd on our Jira server. We don't yet have a SEN number for Crowd, we plan on purchasing it. But is it possible to install the trial version of Crowd now, while we complete the PO? Also what version of Crowd should I be installing? We're running Jira and BitBucket on RHEL 7.4 servers.


Answers:
author: AnnWorley
body: For the license, you may generate an evaluation license at <https://my.atlassian.com>, it's no problem installing Crowd before paying for the license.

Please install the latest version of Crowd, Crowd 3.1.1 which was[just released](https://confluence.atlassian.com/crowdkb/crowd-3-1-1-released-940684313.html). It has lots of improved features and bug fixes.

comments: author: Charlie
body: Hi Ann,

Thanks for your response, in the Download area, there's a drop down menu with a few options. There's a .tar.gz file, CrowdID Server, Crowd Server, and Zip Archive. Which is the correct package?


author: AnnWorley
body: Please download the tar.gz file for your Linux server. Crowd does not come with a setup program, or a bundled Java runtime environment. Please see these instructions for detailed installation steps: [Installing Crowd and CrowdID](https://confluence.atlassian.com/crowd/installing-crowd-and-crowdid-191862.html)


Tags: jira-software
View License
Asked by Mathias Weisheit:

I can not find out the server serial number, to generate the new license.

Because crowd opens everytime the url:

<https://crowd.cetima.de:2443/crowd/console/license.action>


Answers:
author: Marcin Kempa
body: HI [@Mathias Weisheit](/t5/user/viewprofilepage/user-id/646862)!

If you would like to generate another evaluation license you may follow the 'Atlassian website' link that it listed in the license text area at the bottom of the screen you've posted.

If you would like to renew your license you may try to use the <https://www.atlassian.com/purchase/renew>

Hope that helps,

Marcin Kempa
Unable to find Start_crowsbat for windows in {CROWD_INSTALL}
Asked by Ayesha Karunaratne:

![CROWD_INSTALL.png](/t5/image/serverpage/image-id/10075iDC78B66593A65DBC/image-size/large?v=v2&px=999 "CROWD_INSTALL.png")

Cannot see a Start_Crowd.bat for Windows in C:\\SW_Inst\\atlassian-crowd-3.0.2\\atlassian-crowd-3.0.2\\crowd-webapp\\WEB-INF\\classes


Answers:
author: Marcin Kempa
body: Hi [@Ayesha Karunaratne](/t5/user/viewprofilepage/user-id/1163505)

<br />

Assuming that you downloaded archive like atlassian-crowd-3.0.zip, when you extract it for example into c:\\SW_Inst directory you should have a structure like that:  
c:\\SW_Inst  
\`-- atlassian-crowd-3.0.2  
\|-- apache-tomcat  
\|-- build.bat  
\|-- client  
\|-- crowd-openidclient-webapp  
\|-- crowd-openidserver-webapp  
\|-- crowd-webapp  
\| \|-- META-INF  
\| \|-- WEB-INF  
\| \| \|-- classes  
\| \| \| \|-- com  
\| \| \| \|-- crowd-init.properties  
\| \| \| \`-- database-defaults  
\|-- etc  
\|-- licenses  
\|-- start_crowd.bat  
\`-- stop_crowd.bat

(I only listed relevant directories content)  
So to answer you question, In your example, as you seem to unzip crowd in c:\\SW_inst\\atlassian-crowd-3.0.2 you should look for start_crowd.bat in c:\\SW_Inst\\atlassian-crowd-3.0.2\\atlassian-crowd-3.0.2

Hope that helps  
Marcin Kempa


author: Roopesh N
body: Hi,

Thanks for your reply.

i agree to you, when i am extracting the zip file .bat files are not available. please find the attached snapshot \& kindly advise on further steps.

![atlassian.png](https://community.atlassian.com/t5/image/serverpage/image-id/14688i07C975BDCECC8063/image-size/large?v=v2&px=999 "atlassian.png")

comments: author: Marcin Kempa
body: Hi [@Roopesh N](/t5/user/viewprofilepage/user-id/1185142),

I can see that you've downloaded Crowd's WAR distribution. Do you want to install Crowd on your own, self hosted application server? Please note that at the moment the only [supported application server](https://confluence.atlassian.com/crowd/supported-platforms-191851.html) is Apache Tomcat, and with Crowd 3.1 we've [deprecated WAR distribution](https://confluence.atlassian.com/crowd/crowd-3-1-upgrade-notes-935393894.html#Crowd3.1UpgradeNotes-Deprecationnotices).

I believe that you are after installing Crowd standalone distribution which comes with bundled Apache Tomcat application server. Here is the link to a standalone distribution where you will find start_crowd.bat script: <https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-3.1.2.zip>

Hope that helps,

Marcin Kempa
Found syntax error in start_crowd.sh (start_crowd.sh: 12: [: unexpected operator)
Asked by Fabian Laule:

Hello together,

thanks to my starter license, I'm unable to file an issue to the staff directly.

<br />

When I want to start Crowd 3.0.2 via start_crowd.sh, I'm running into an issue because of a syntax error in the .sh-script.

```
...
if [ "$PRGRUNMODE" == "true" ] ; then
 exec apache-tomcat/bin/catalina.sh run "$@"
else
...
```

Crowd starts successfully but the script ends with an error: *start_crowd.sh: 12: \[: unexpected operator*

Solution: Remove one of the two equals in if condition block (the other if conditions do all have only one equal character).

```
...
if [ "$PRGRUNMODE" = "true" ] ; then
 exec apache-tomcat/bin/catalina.sh run "$@"
else
...
```

Could someone file a bug for this issue?  
Thanks!


Answers:
author: Marcin Kempa
body: Hi [@Fabian Laule](/t5/user/viewprofilepage/user-id/1166095)!

Thanks for reporting this issue and I am sorry for any inconvenience caused by it.

We are tracking this problem here [CWD-4988](https://jira.atlassian.com/browse/CWD-4988).

Best Regards,

Marcin Kempa
How do I fault find a Crowd AD LDAP connectivity issue in a demo environment?
Asked by Chris Nicholls:

I've created a demo environment which includes a new Active Directory domain on a new forest root, a Jira demo installation and a Crowd server (demo license) on a CentOS machine. These are all fresh and the account I'm using is an Enterprise Admin (crowdsync).

All firewalls have been disabled and they are on the same subnet.

When I try to do a test connection on the AD directory config under Crowd I either get a genuine LDAP error if I set the OU 'Users' to 'cn=Users' (code 49, data 52e) which suggests my credentials are incorrect or I get a 'Test failed popup with no details. I know the ou should be set to ou so I'm leaving that. I've also tried 'crowdsync@demo.local' which I know is wrong but I thought I'd check.

My settings are:

URL - ldap://demo.local:389

'Enable incremental sync' checked

Base DN - dc=demo,dc=local

Username - cn=crowdsync,ou=Users,dn=demo,dn=local

I've reset the password and tested it. I've also confirmed I can authenticate to the domain from the CentOS Crowd host.

My plan is to test the Jira Crowd integration so I can assist our third party in configuring this in our Azure environment.

Help :)


Answers:
author: Bruno Vincent
body: The username does not seem to be valid.

If the Base DN of your AD is 'DC=demo,DC=local', then the username's DN is probably 'CN=crowdsync,++**CN**++ =Users,++**DC**++ =demo,**++DC++**=local'

Check the username's distinguishedName attribute in the Attribute Editor on AD (please follow these instructions if you do not see the Attribute Editor: <http://activedirectoryfaq.com/2014/10/ad-attribute-editor-missing-make-search-visible/>)

comments: author: Chris Nicholls
body: Hi Bruno, Thanks for the prompt reply.

I did try this but this is results in the LDAP error code 49, data 52e mentioned above. This suggests that the password or username are incorrect but these have been validated by connecting to the same DC from CentOS by mapping a drive.


author: Bruno Vincent
body: Try to run a simple *ldapsearch* command in a shell on your CentOS machine and let's see what you get:

```
ldapsearch -x -h demo.local -p 389 -s one -b "CN=crowdsync,CN=Users,DC=demo,DC=local" -D "CN=crowdsync,CN=Users,DC=demo,DC=local" -W "(objectclass=*)"
```


author: Chris Nicholls
body: com.atlassian.crowd.exception.OperationFailedException: \[LDAP: error **code 49** - 80090308: LdapErr: DSID-0C0903D3, comment: AcceptSecurityContext error, **data 52e**, v3839


author: Chris Nicholls
body: I don't have OpenLDAP installed so I don;t have the tool. I will try and install it to test.


author: Bruno Vincent
body: I'm pretty sure that your issue has nothing do to with Crowd itself. That's why I want to test a pure LDAP request to AD. You don't need to install the whole OpenLDAP suite.

```
yum install openldap-clients
```

should be enough


author: Chris Nicholls
body: Thanks Bruno. I did try that earlier but Yum does not have access out yet. I've configured the Yum proxy settings but we have a complicated network :(.


Tags: ldap