youngmon/atlassian-qna huggingface dataset:
Crowd Setup Wizard does not start
Asked by Tatiana Torgonskaya:

Hello everybody.

Today I was trying to install Crowd on my Windows.

I was following this documentation <http://confluence.atlassian.com/display/CROWD/Installing+Crowd+and+CrowdID>

I did 1 and 2 steps. the 3 step is optional, therefor I did not it.

When I did: `start_crowd.bat` for Windows. and then tried <http://localhost:8095/crowd> , the Crowd Setup Wizard does not work.

In atlassian-crowd-openid-server.log I see folowing:

```
2012-02-28 16:54:59,624 main INFO [com.atlassian.crowd.startup] Starting Crowd OpenID Server, Version: 2.4.0 (Build:#562 - 02-01-2012) 2012-02-28 16:55:00,923 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'application.name' : 'crowd-openid-server'2012-02-28 16:55:00,924 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'application.login.url' : 'http://www.atlassian.com/software/crowd/crowd-distribution/crowd-standalone-distribution'2012-02-28 16:55:00,925 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'session.tokenkey' : 'session.tokenkey'2012-02-28 16:55:00,925 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'session.lastvalidation' : 'session.lastvalidation'2012-02-28 16:55:00,926 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'session.validationinterval' : '0'2012-02-28 16:55:00,928 main INFO [service.soap.client.SoapClientPropertiesImpl] Loading property: 'crowd.server.url' : 'http://www.atlassian.com/software/crowd/crowd-distribution/crowd-standalone-distribution/services/'2012-02-28 16:55:01,503 main WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
```

I was spending the whole day with it and did not found any solution. I am very thankful for all your sugestion.

Thank you

Tatiana


Answers:
author: Bruna Griebeler
body: Hi Tatiana  

What is shown on your browser after accessing the URL [](http://localhost:8095/crowd)<http://localhost:8095/crowd>?

Usually this issue happens when the JDK/JRE are not being recognised by the applications.  
However to be sure that this is the problem, we need to check for the Tomcat's log (catalina.out).   
Please double check if the JAVA_HOME is properly set on your Operating System and if Tomcat process is up and running properly.  

Cheers


Tags: crowd-administration
Attribute size
Asked by tmv:

We are planning to store additional user's attributes in Crowd. The max size for the attribute in Crowd right now is only 255 characters. We need to store up to 2000 characters. I updated the DB table and Crowd seems accept the attribute with larger size fine.

alter table cwd_user_attribute modify (attribute_value varchar2(2000));

alter table cwd_user_attribute modify (attribute_lower_value varchar2(2000));

Only a small number of users will have this attribute so I'm not concerning about performance hit. Will this change cause an upgrade issue later on? Are those attributes going to get truncated back to 255 chars.


Answers:
author: Bruna Griebeler
body: I believe we will not have problems regarding the column types, however we cannot guarantee that changes in the database model will occur on the newest versions, which can truncate your data. Even though you can perform the customizations, and bear in mind that that some manual procedures will be necessary during the upgrade process to avoid loss of data on those columns.

Cheers!
How do you move a single user from one Crowd directory to another?
Asked by Logan G Hawkes:

I have an install of Crowd 2.2.2 with two user directories. For this exercise let's call the directories [OSI](http://www.venturefans.org/vbwiki/Office_of_Secret_Intelligence) and [GCI](http://venturefans.org/vbwiki/The_Guild_of_Calamitous_Intent). I have a single user who is a member of the GCI directory. I need to move him to the OSI directory. Migrating all users from GCI into OSI is fairly simple but I can't find a way to move a single user from one to the other. So far my best idea is to export all GCI users to a CSV file, eliminate all but the single user I need and import the file. That seems a bit roundabout and likely to have unintended (bad) consequences. Is there a better way?


Answers:
author: Colin Goudie
body: You could do this in the database

Basically the 3 tables you'll need to look at are cwd_user, cwd_group and cwd_membership

The easiest part is changing the user, you would simply change the directory_id field for that particular user in cwd_user

However, you also need to update that user's membership details which will involved making sure corresponding groups exist in the cwd_group table and updating the membership table to point to the new cwd_group id's and directory_id

Take a look at the schema, it's pretty easy to navigate

comments: author: Logan G Hawkes
body: Score! That was it. Thanks, Colin.


author: Devu Heda
body: This change needs to be restart JIRA is there a way to avoid that?


Tags: migration

user
Crowd Password Encryption - no "ATLASSIAN-SHA1" option
Asked by Kris W:

I'm trying to set up Crowd to set up single sign-on for Jira and Confluence.

I've got the documentation,

It says:
> It is recommended that you import your Confluence users into an Internal Directory that has its 'Password Encryption' set to ' ATLASSIAN-SHA1'. Otherwise, users' passwords will not be copied across to Crowd.

However, when I create a new Directory, there's no choice for ATLASSIAN-SHA1 . There is a choice for ATLASSIAN-SECURITY - is that the same thing?

If not, how do I get the ATLASSIAN-SHA1 choice?

Also, is it possible to change the password encryption setting after a directory has been created?


Answers:
author: Denise Unterwurzacher [Atlassian]
body: ATLASSIAN-SECURITY has effectively superceded ATLASSIAN-SHA1. I'm going to run through and update the documentation where it's out of date, but if at any point you're directed to select ATLASSIAN-SHA1 and the only option is ATLASSIAN-SECURITY, that's what to go for.

Hope this helps!


author: Grant Tang
body: I am in the similar situtation. But the drop downlist is empty for me. I don't see any choice, neither ATLASSIAN-SHA1 nor ATLASSIAN-SECURITY. What should I do?


Tags: directory

password
Export usernames belonging to the same group in Crowd
Asked by Andrei [errno]:

does anyone has a SQL handy to run and get a list of users belonging to the same group?  
thanks in advance

* potentially span across directories
* get their emails, etc as well


Answers:
author: Andrei [errno]
body: ```
SELECT DISTINCT u.first_name, u.last_name, u.email_address, u.user_nameFROM `cwd_membership` mINNER JOIN `cwd_user` u ON m.child_id = u.idWHERE `parent_id` IN (SELECT idFROM `cwd_group` WHERE group_name LIKE 'ABC%')AND membership_type LIKE 'GROUP_USER'
```

<br />


Tags: query

sql
Crowd installation: "specified class was not found in the class path"
Asked by Kris W:

I'm trying to run the setup wizard for Crowd.

On the Database Config screen I have the following:

\* JDBC Connection

\* Database: MySQL

\* Driver Class Name: com.mysql.jdbc.Driver

\* JDBC URL: jdbc:mysql://localhost/crowd?autoReconnect=true\&characterEncoding=utf8\&useUnicode=true (default)

\* Username: crowduser

\* Password: \[passwd\]

\* Hibernate Dialect: org.hibernate.dialect.MySQL5InnoDBDialect (default)

I have confirmed that I have mysql-connector-java-5.1.18-bin.jar in {CROWD-INSTALLATION_DIR}/apache-tomcat/lib

I'm getting this error message

**The specified class was not found in the class path.**

I don't see anything in the logs other than

Current setup step is /console/setup/setupdatabase.action  

How do I fix this?


Answers:
author: Deividi Luvison
body: Marked this as answered, good call Colin :smile:.  
Thanks and Regards,  
David\|Confluence Support Engineer


author: Kris W
body: Shutting down Crowd and restarting did it. Thank you. Since I was using the wizard instead of actually working in Crowd I didn't think about the fact that maybe Crowd needed to be restarted.


author: Colin Goudie
body: Did you reset crowd after adding the mysql jar?


Tags: administration

configuration

database
how do I get a list of all the users in crowd?
Asked by Jerry Davis:

Kinda new to the Crowd REST API. How do I get a list of all users in crowd?

please use JSON example, not XML. Curl would be fine.

Thanks. Jerry


Answers:
author: joe
body: Yes, that's right. For example, with curl:

```
curl -i -u application_name:application_password http://localhost:8095/crowd/rest/usermanagement/1/search?entity-type=user --header 'Accept: application/json'
```


author: Kit Plummer
body: No worky. 404.

The requested resource (/crowd/rest/usermanagement/latest/search) is not available.


author: Jerry Davis
body: would it be something like this?

"http://mycrowd.server.com/crowd/rest/usermanagement/latest/search?entity-type=user\&restriction=name%20%3D%20%2A

?
What is the best practice for Crowd configuration?
Asked by charleslcso:

Hello,I can't figure out how to proceed after reading Crowd 2.2 doc. Please help and provide suggestion. Currently we are using 50-users license. Crowd is to provide SSO for all applications. All users and groups are stored in OS X Server Open Directory. The number of users already exceeeded 50, and growing. The users are grouped into JIRA groups, Confluence groups and others. Only a small portion of the users will authenticate with Crowd. I think the best configuration for Crowd is "Connected to Crowd via an LDAP connector (e.g. for Active Directory), with all authentication and user/group/role management in LDAP."But my question is, Crowd might consider all my 100+ plus users towards the 50-users license. Is the above approach not suitable? Should I store the users n groups in Crowd and authenticate to OD instead?


Answers:
author: Colin Goudie
body: It sounds like you are close to having it right.

Basically with crowd licensing, 1 Crowd License Seat is defined as a user who can authenticate to 1 or more applications.

<http://www.atlassian.com/licensing/crowd#downloadlicenses-5>

What you need to enusre is that only the groups you defined above for the variuos applications are the groups that are assigned to those applications and that under Directories in each Application, the **allow all to authenticate** is set to FALSE.

This means only the groups you specify for that application will allow those users to authenticate.

This will limit the number of users that crowd will calculate for its license count

comments: author: charleslcso
body: Hello Collin, thanks for the reply. Does it mean I can still keep the users n groups in OD, n have those groups defined in Crowd such that the number of actual users is controlled?


author: Colin Goudie
body: Yes, keep them in OD, but assign the groups that you want to use for users of an application to that application under the Application Tab


Tags: configuration

count

ldap

licence

user
Crowd Install Problem: Setup chokes at "add an administrator".
Asked by Darren McKeeman:

When setting up Crowd, I get through everything just fine until it gets to the "add an admin user" screen. When I add a user for the first time a warning message comes up with just my machine name (the machine is called ragweed) in a message box like this: "ragweed: ragweed" and then the install stays on the Add an Admin page.

When I try again, a new message pops up: "\<crowd-adminstrators\> already exists" and I can't go any further.

I am running Crowd on FreeBSD 7 with OpenSDK and MySQL. I have no problems running any Atlassian products with this setup - this is the first problem I've had that I can't figure out. Help!


Answers:
author: waskita_a
body: Also the hostname setting of the server and domain name must match.


author: Darren McKeeman
body: And the solution is: specify the hostname in /etc/hosts if you can't use localhost for your Base URL name.


Tags: administration

install
how can i create the needed jira user groups in crowd, plus how can i get the two applications to work together
Asked by Janeen Kedzierski:

I have read the documentation and i cant get the needed jira groups created in crowd.

The groups are not in our LDAP instance and I dont want them in our LDAP instance i want them only in crowd and i want crowd to manage the jira-user and jira-developers and jira- administrators and other needed groups. I need help on setting this up.


Answers:
author: Colin Goudie
body: My understanding with crowd is that currently you cannot have local groups associated with an LDAP instance **unless** you use the delegate LDAP connection. The problem with the delegate approach is that no users are created until the user first logs in. See <http://confluence.atlassian.com/display/CROWD/Configuring+a+Delegated+Authentication+Directory>

The request to be able to use local crowd groups against LDAP users is an open issue <https://jira.atlassian.com/browse/CWD-1284>

**IF** you are only using JIRA or can use JIRA as your central user directory then you **CAN** use an LDAP connection for authorisation and users and use local JIRA groups. But this would mean taking crowd out of the mix so not sure if that is viable for you.

This is how I understand the current state of things anyway
How to reset Crowd's number of users?
Asked by charleslcso:

I set up JIRA 4 so that it authenticates against Crowd using Open Directory.  
My Open Directory server has over 100 users. My Crowd license allows for 50 users.

Now, it seems that all my OD users are sync'ed to Crowd, and hence disabled Crowd completely.

Is that anyway that I can delete the users stored in Crowd and start over again?


Answers:
author: Colin Goudie
body: No, just grab an evaluation license. That will let you in, then fix as described


author: charleslcso
body: Need to re-install.


author: Colin Goudie
body: Log into crowd using the internal crowd admin and go to each application you have configured and turn off the **Allow all to Authenticate**under the directories tab (of each application).

Then go to Admin-\>Licensing and click the link there to **recalculate your user total**

comments: author: charleslcso
body: I can't even log in.... it only lets me upgrade to a new license....


Tags: reset

user
Crowd : Active Directory : No users in "Domain Users" but there are in "Domain Admins"
Asked by magnayn:

Using crowd against a fairly standard AD setup.

I've turned caching off.

The UI reports direct members of "Domain Admins" as expected, yet exactly the same grouping for "Domain Users" does not show anything..


Answers:
author: Jeremy Largman
body: I think you're hitting this bug:

<https://jira.atlassian.com/browse/CWD-1286>

Crowd should be able to pick up members (which it sounds like is happening), but 'domain users' is a special group. Please comment on that bug report if you're really needing it implemented. If you can't find any workarounds that work for you (such as creating separate JIRA or Confluence groups in AD), comment here and we'll try to sort out a good workaround.


author: magnayn
body: addendum: I can also add users to the group, but it still shows no members.


Tags: active-directory
Can I use the same oracle database for both crowd and jira ?
Asked by Janeen Kedzierski:

We are running jira with greenhopper we r going to use crowd can both crowd and jira share one oracle database ?


Answers:
author: Septa Cahyadiputra
body: Hi Janeen,

Could you please elaborate on more detail regarding what you meant by "one ORACLE database". If this meant one ORACLE database server, than it should be possible as long as Crowd and JIRA are using a different schema and database user to access the schema.

Hope it helps.

Cheers,

Septa Cahyadiputra

comments: author: Janeen Kedzierski
body: Hi

I have one oracle database called jira and i want to put both schemas in the one database.

So I will be able to login to the database with the crowd login and also login to the database with the jira login.

I just wondered if this is supported.

Thanks

Janeen


author: Septa Cahyadiputra
body: Hi Janeen.

As long as they both have their own schema and user, that should be fine. Rule of thumb, they shouldn't share the same user or permission if they do, there will be some confusion in JIRA or Crowd when looking it do the SQL request to the ORACLE server.

Hope it helps.

Cheers,

Septa Cahyadiputra


Tags: crowd-administration

database
Can I apply one rule to several fields or do they have to be separated into individual rules?
Asked by Mireya Cintora:

**Objective** : I would like to apply my automation that calculates decimal percentages to several fields. I currently have the same action being applied to 4 separate rules for the 4 fields. Here is just one:![Screenshot 2024-07-13 at 10.47.12?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/335463iC63E9D5DE0D62FC1/image-size/large?v=v2&px=999 "Screenshot 2024-07-13 at 10.47.12?AM.png")

**Attempted**: I have attempted adding one other field to this and it did not work :(

![Screenshot 2024-07-13 at 10.54.40?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/335464i9D403E3C9A061329/image-size/large?v=v2&px=999 "Screenshot 2024-07-13 at 10.54.40?AM.png")

Would branching work?


Answers:
author: Trudy Claspill
body: Hello [@Mireya Cintora](/t5/user/viewprofilepage/user-id/5526385)

In what way exactly did the second rule not work?

Please share with us the information from the Audit Log for the rule's execution.

Please show us the details of the second Create Variable step.

What fields are being referenced in the Create Variable calculations? What are their values at the time the rule executes?

Have you looked at the Log Action? It is an excellent debugging tool. You can use it to write the values into the Audit Log. Use it to document the values of fields at any point in the rule, or to document the results of a calculation that you use to set another field.

comments: author: Mireya Cintora
body: Thank you for the quick response. So I got this question answered [here](https://community.atlassian.com/t5/Jira-Service-Management/Re-How-can-add-I-get-my-existing-calculation-to-produce/qaq-p/2754162/comment-id/175448#M175448) which then led me to troubleshoot this question! The issue was the my create variable which was not needed at the end.

![Screenshot 2024-07-14 at 4.34.43?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/335512i2F4D6B6168AFBF0F/image-size/large?v=v2&px=999 "Screenshot 2024-07-14 at 4.34.43?PM.png")


author: Joseph Chung Yin
body: [@Mireya Cintora](/t5/user/viewprofilepage/user-id/5526385)

I agreed with [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) asks, please provide us with more details so we can better assist your question.

Here is the direct reference link on debugging/troubleshooting automation rules - <https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/>

Best, Joseph Chung Yin

comments: author: Mireya Cintora
body: Thank you for the link! I have been wondering what the difference was between the Audit Log and Log Action.


author: Joseph Chung Yin
body: [@Mireya Cintora](/t5/user/viewprofilepage/user-id/5526385) -

Log Action (Action for the rule) writes into the rule's audit log.

Best, Joseph


author: Nicolas Grossi
body: [@Mireya Cintora](/t5/user/viewprofilepage/user-id/5526385) If i were you i will have them separated to split responsibilities.

HTH

Nicolas

comments: author: Mireya Cintora
body: Thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
where is class path defined for crowd installation ? I keep getting The specified class was not found in the class path
Asked by Janeen Kedzierski:

I am doing a new installation of standalone crowd. I have an oracle10g database that i am using but i keep getting

The specified class was not found in the class path-- for Driver Class Name i have entered classes12,jar

i have put the file classes12.jar in {CROWD_INSTALL}/apache-tomcat/lib

it has the correct permissions so it is readable. I don't know where class path is being defined or where it is being used from.

Thanks

I am stuck at the installation of crowd now

Janeen Kedzierski


Answers:
author: Elvir Hadzic
body: Have you tried the following as class name?

> `oracle.jdbc.driver.OracleDriver`

Never used Crowd with Oracle myself (using MS SQL) but according to the following page this seems to be the class name for oracle drivers (I know the link is for Crowd ID but the class name should be the same never the less): <http://confluence.atlassian.com/display/CROWD/Oracle+for+CrowdID>


author: Colin Goudie
body: The correct place to put the jar files are in apache-tomcat\\lib as you have done. So if the above classname doesn't help, try posting the exception from the logs you are getting and we can probably help further


Tags: classpath
JSM Portal Search Questions
Asked by Mathew Lederman:

1. Can you configure the portal to return more than 5 request types in the search?
2. Why do the search results only include the request type name and not the description?
3. How are the top 5 request types determined? Keywords, Tags, etc?


Answers:
author: Jack Brickey
body: Hi [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) ,

Are you referring to the pop-up window that appears be.ow the help center search as you begin to type? If not please share a screenshot. If so then here are my thoughts.

1. unfortunately no. There is an open issue about configuration for # KB results - <https://jira.atlassian.com/browse/JSDCLOUD-4263>
2. i can just provide an opinion here - maybe just trying to keep things clean in that popup
3. Unsure but likely associated with the number of the search word and whether in title, body, description. I have not seen anything that explained the algorithm.

comments: author: Mathew Lederman
body: [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)

Yes, the pop-up that appears below the search window.

1. I saw this, but we're trying to get valid search results before adding KB articles
2. This is the IT Service Desk for a 12k user organization. Unfortunately there is no way to clean up the results. If a user searches for 'account' there are going to be options related to service accounts, active directory accounts, email accounts, etc. and likely multiple for each option since the JSM Forms doesn't allow for multiple conditions.

We're moving from DC where we have a really good service desk theme using Theme Extension for JSM, but I was really hoping to use Atlassian's native JSM portal. Unfortunately, the user experience is terrible and the functionality is EXTREMELY limited.


author: Jack Brickey
body: Hi [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) , I agree that the configuration is limited. The entire portal experience needs to be uplifted IMO.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to add Requests Deflected report to dashboard (workaround)?
Asked by elizabeth_lavely:

Hey community members.   

I am trying to add the "Requests deflected" report to a dashboard. I have attempted to use the "Service Project Report" gadget, but it does not appear to allow any of the default JSM reports.   

My only current idea is to figure out the filter that drives the report and duplicate it. I am going to try to find that information somewhere.  

Does anyone have any other suggestions?


Answers:
author: Danut M _StonikByte_
body: Hi [@elizabeth_lavely](/t5/user/viewprofilepage/user-id/4990951),

In what format would you like this report to be displayed on the dashboard?

Could you provide an example?

Danut.


author: Dan Breyen
body: Hi [@elizabeth_lavely](/t5/user/viewprofilepage/user-id/4990951) it appears this was suggested a few years ago [as a suggestion](https://jira.atlassian.com/browse/JSDCLOUD-8492), but was rejected due to lack of interest. It probably would be worth bringing it back with Atlassian. I'd like to see it on my dashboard. :) There's a couple other similar ones in a similar state out there too.

I agree that standard functionality has some room for some added functionality.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud