youngmon/atlassian-qna huggingface dataset:
What are the settings for the Setup Wizard for Crowd when connecting to postgresql?
Asked by Rick Springob:

I am trying to connect a newly installed Crowd instance on a CentOS server to a postgresql database. I cannot complete the setup wizard due to not being able to figure out the driver class name and the URL.

The "Running the Setup Wizard", "Connecting Crowd to a Database", and "Database JDBC Drivers" wikis are not very helpful. The level of detail is insufficient.

It is convenient that the postgresql-9.2-1003-jdbc4.jar file comes with Crowd. But, the driver name that the installer requires is not supplied. It sure would be nice if the driver name was in a drop-down list. I tried a number of guesses which all resulted in: "The specified class was not found in the class path."

Answers to similar questions in the community suggested looking in the log files for clues. Well, which log files are those? I could find no "\<some driver name\> class not found" messages in any of the logs I dug through.

```
 find /opt/crowd /var/log -type f -exec grep "not found" {} \; -print

```

----

I defined a postgresql database as per the setup instructions. I can access the crowdb database using pgAdmin with the address http://\<db server IP\>, specifying port 5432, and selecting the crowddb database.

The example provided for connecting via JDBC is "jdbc:jtds:sqlserver://localhost:1433/crowd". How to translate this for use with postgresql use is not evident.

The wiki for connecting to Confluence suggests this form: jdbc:postgresql://localhost:5432/confluence. In absence of clear instructions, I could make a guess that this might work.

Would "jdbc:postgresql://\<db server IP\>:5432/crowddb" be the correct URL to use?


Answers:
author: AnnWorley
body: Hi, I understand you are not sure what parameters to use while setting up your database connection for CRowd.

If you are seeing JDBC URL "jdbc:jtds:sqlserver://localhost:1433/crowd" there's a possibility that Microsoft SQL server was chosen in the Database field. You should not have to change anything on the JDBC URL except the database host and database name. You may leave driver class name as **org.postgresql.Driver**

The setup for PostgreSQL should look like:

![Screen Shot 2017-11-03 at 1.54.07 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/8833iC9F45ED86287C796/image-dimensions/742x635?v=v2 "Screen Shot 2017-11-03 at 1.54.07 PM.png")

comments: author: Rick Springob
body: Thank you, Ann.

The information you provided is very detailed. Just what I needed. Thanks for helping me with this dragon. I'll see if I can finish it up from here.


Tags: database

install

postgres
Atlassian Crowd can integrate with HP ALM
Asked by Jimi Jung:

Hello,

I would like to know if Atlassian Crowd can integrate with HP ALM.

If yes, any documents are available for it?

Thank you for your help in advance.


Answers:
author: Bruno Vincent
body: Hi [@Jimi Jung](/t5/user/viewprofilepage/user-id/1159595),

Looks like you can't. According to [HP ALM administrator guide](http://admhelp.microfocus.com/alm/en/latest/online_help/Content/Admin/sa_users_managing_toc.htm), built-in authentication and LDAP authentication are the only modes available as of today.
web styling is gone after restore XML file
Asked by John Chertudi:

I have a functional install of Crowd 2.9.1 running on a Windows 2008R2 server. I did an XML backup from this server.

I installed Crowd 3.0.1 from scratch on a different Windows 2016 server. I licnesed it with the same key.

I logged into the UI on the new server, and walked through the Restore from XML process, using the web UI. After the successful restore, all of the styling and css visuals in the web UI are gone. I only see text in the web UI on the new server, though most of the functions work. I have restarted my browser, cleared cache, and restarted the Crowd service as well. I can't get any images, styling or css to show.


Answers:
author: John Chertudi
body: Bah, I could not find the article until after asking the question! Sorry, another case of gzip compression trouble. It was surprising since this only occurred after my restore process.

<https://jira.atlassian.com/browse/CWD-4968> worked for me as well, turning compression to off
Crowd tar.gz is actually tar.gz.gz
Asked by Grant Freese:

The 'tar.gz' download link (link below) for crowd is actually in the format 'tar.gz.gz'. Is this intentional?

<https://downloads.atlassian.com/software/crowd/downloads/atlassian-crowd-3.0.1.tar.gz>


Answers:
author: Marcin Kempa
body: Hi [@Grant Freese](/t5/user/viewprofilepage/user-id/1159502)!

We are aware of the issue and we are working on resolving it. Sorry for the inconvenience, however, in the mean time, decompressing downloaded file twice should resolve the issue for you.

It looks like the issue is caused by the fact that we are serving Content-Encoding: gzip for gzip file and Firefox is not decompressing the stream.

Another solution for this problem would be to use different browser than Firefox.

Hope that helps!

Marcin Kempa

comments: author: Grant Freese
body: Thanks for the update. Just wanted to make sure it was on your radar.

Grant


author: Lars Olav Velle
body: The name of the file downloaded is atlassian-crowd-3.0.1.tar.gz

-Lars

comments: author: Grant Freese
body: The issue isn't the name of the file. The issue is that the file itself is double-wrapped with gzip.

Download it and try to decompress it. You'll see what I mean.
Crowd Mismatch token while SSO between JIRA and thrid party app. Can someone assist?
Asked by Rahul Arora:

I am assuming that somehow my validation factor isn't good enough to accept the token for another application, though I can login into third party application and JIRA separately via crowd authentication. Here is the snippet of the logs:

017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[manager.token.factory.TokenKeyGeneratorImpl\] Generating Token for principal: AroraRahul

2017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[manager.token.factory.TokenKeyGeneratorImpl\] **Adding remote address of 10.34.7.134**

2017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[manager.token.factory.TokenKeyGeneratorImpl\] Adding Random-Number of ValidationFactor\[Random-Number=7647594814225824346\]

2017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[crowd.manager.authentication.TokenAuthenticationManagerImpl\] Current Validation Factors:

**ValidationFactor\[remote_address=127.0.0.1\], ValidationFactor\[X-Forwarded-For=10.34.7.134\]**

2017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[crowd.manager.authentication.TokenAuthenticationManagerImpl\] comparing existing token Token{identifierHash='sLfTZcWbBQaW55xqhy9QRQ00', lastAccessedTime=1509271459529, createdDate=2017-10-29 06:04:20.0, duration=null, name='AroraRahul', directoryId=32770} with a validation token Token{identifierHash='ZUekGOFZ0GxdRxq5aFjLNw00', lastAccessedTime=1509271481604, createdDate=Sun Oct 29 06:04:41 EDT 2017, duration=null, name='AroraRahul', directoryId=32770}

2017-10-29 06:04:41,604 http-bio-8095-exec-13 DEBUG \[crowd.manager.authentication.TokenAuthenticationManagerImpl$TokenValidationFailure\] Existing token 'E4NHkpy3nQWUZSy9ghUDpA00' for user 'AroraRahul' does not match new token 'Ht61ZiIz09sl74cusjfcow00' with validation factors 'ValidationFactor\[remote_address=127.0.0.1\], ValidationFactor\[X-Forwarded-For=10.34.7.134\]'

2017-10-29 06:04:41,605 http-bio-8095-exec-13 DEBUG \[crowd.manager.authentication.TokenAuthenticationManagerImpl\] The token keys don't match


Answers:
author: Rahul Arora
body: Actually my issue was occurring from third party side which was trying to access the crowd for single sign on and unable to pass x-forwarded IP to perform consistent IP address with my JIRA application and failing to match the token for SSO between Jira and third party app.

Issue was resolved when I added the code to pass x-forwarded IP to the crowd instead of remote IP address.

comments: author: Matt George
body: Awesome, nice one!


author: Matt George
body: Hello,

I've stumbled into this issue myself however we found that in Crowd we needed to untick the tick box that says "Require consistent client IP address" under the Session Configuration setting menu.

We were getting pretty much the same error message as you so if you're still having trouble I hope this helps!

Thanks,

Matt


author: Edwin Kyalangalilwa
body: Try clearing your browser cache.


Tags: crowd-administration

developer

jira

sso
Styling broken on fresh Crowd Installation
Asked by Dan Wand:

Fresh installation of Crowd v3.0.1. Setup looks good but as soon as it completes and redirects to login form, all styling is broken. Tested with Chrome and Firefox. Deleted all data and re-installed from scratch with same results. Screenshot shows encoding issues. No errors in catalina.out. Any suggestions?![crowd-issue-mms.PNG](/t5/image/serverpage/image-id/8061i3418E0F74EF842AF/image-size/large?v=v2&px=999 "crowd-issue-mms.PNG")


Answers:
author: AnnWorley
body: I am afraid you may be running into a bug which was fixed in Crowd 3.1. It's a compression issue.

Please try the workaround or the alternate workaround on this bug ticket,[Tomcat7 produces corrupted gzip response with newest zlib (1.2.11) library](https://jira.atlassian.com/browse/CWD-4968), and let us know if Crowd's login page renders properly afterward.

In case misery loves company, I wanted to let you know about this report of the same behavior: [Errors loading images/CSS/JS after upgrading to Crowd 3](?https://community.atlassian.com/t5/Crowd-questions/Errors-loading-images-CSS-JS-after-upgrading-to-Crowd-3/qaq-p/658236)

comments: author: Dan Wand
body: Disabling compression did the trick for now. Thanks for the quick response.


author: AnnWorley
body: My pleasure! I am very happy your Crowd instance is behaving properly now.


Tags: css

install
Crowd Apache Connector for Debian 9
Asked by Oliver ?ganec:

Is there a version of the Crowd Apache connector for apache 2.4 on new Debian 9 stretch ?


Answers:
author: AnnWorley
body: I am afraid the connector has been end of life since 2014 so there isn't a new version. More details: [Apache 2.4 mod_authnz_crowd not working](https://community.atlassian.com/t5/Crowd-questions/Apache-2-4-mod-authnz-crowd-not-working/qaq-p/655874#)


Tags: apache
Resolved: Trying to install crowd, start_crowd.sh: 12: [: unexpected operator
Asked by Subhi Heil:

Hi,  
I am trying to install Crowd, on Ubuntu 16.04 (64bit) and my MYSQL 5.7 (Uptodate).  
I changed crowd-init.properties to existing crowd home folder (Not install path).  
when I run ./start_crowd.sh i get:  
(and Tomcat is not running)

Apparently to be bash issue!

If I run :\~/atlassian-crowd-3.0.1# ./build.sh  
Buildfile: build.xml  

init:  

assistant:  
Changing Tomcat's connector port to 8095  

BUILD FAILED  
java.lang.IllegalAccessError: class com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15 (in unnamed module @0x1188e820) cannot access class com.sun.org.apache.xpath.internal.XPathAPI (in module java.xml) because module java.xml does not export com.sun.org.apache.xpath.internal to unnamed module @0x1188e820  

Please advise.


Answers:
author: Vikash Kumar
body: There is no error in the start_crowd.sh file.

* Kill the running tomcat process.
* The \`***sh*** \` does not have extensive syntax. Use \`***bash***\` command to run your script and everything will be okay.


author: AnnWorley
body: I recommend that you delete the contents of the Crowd home directory and then start over with the steps in [Installing Crowd and CrowdID](https://confluence.atlassian.com/crowd/installing-crowd-and-crowdid-191862.html)

OpenJDK 1.8 is a supported platform for Crowd: [Supported Platforms](https://confluence.atlassian.com/crowd/supported-platforms-191851.html)

The Crowd startup script (start_crowd.sh) is located in the root of the Crowd install dir.


author: Subhi Heil
body: Solution:

1. Install Oracle JDK (not Openjdk)

2. run ./build.sh

3. start it: /bin/bash start_crowd.sh
Self-hosted Crowd should open certain IP & ports?
Asked by ???:

I cannot login via crowd.mydomain.net/crowd/console when VM's security group that blocks All IPs \& ports except my office area.

Please, someone advise me.

Thank you.

\* I'm using crowd by self-hosted way.

\* When i open all IP \& port, it works fine.


Answers:
author: lpater
body: Which version of Crowd are you using? Any errors reported in the logs.

If you are using a Crowd version older than 3.0.0, you need to make sure that the url Crowd console uses for authentication calls (which is defined in the [crowd.properties file](https://confluence.atlassian.com/crowd/the-crowd-properties-file-98665664.html), as 'crowd.server.url') can be reached by Crowd.

Crowd versions 3.0.0 and newer don't use the crowd.properties file any more, and don't make remote authentication calls from the Crowd Console, so if you're using an older version, an upgrade might resolve the issue as well.

comments: author: ???
body: Oh, really? I'm using 2.8.0,

and "crowd.server.url" in crowd.properties is set as "crowd.server.url=http\\://localhost\\:8095/crowd/services/".

If so, how do i check it can be reached?
Import new users into existing groups Crowd
Asked by Jamie Cole:

I have to add multiple users to existing groups in crowd I thought this was done by importing 2 csv files, one for the new users and one for the groups in which I want them. However it only seems to import the new users and not assign them to the groups. How do you assign multiple new users to existing groups?


Answers:
author: Mallmann
body: Hi, Jamie.

You should be able to add the memberships to the users by using the CSV importer. Maybe you have missed something in the process?

In this KB you'll find an example of this usage, but in that scenario, it was focussed on getting a copy of a group membership into another. In any case, there you'll find out how to import **only** memberships into Crowd: <https://confluence.atlassian.com/crowdkb/how-to-create-a-copy-of-a-group-membership-to-a-new-group-in-crowd-732269562.html>

Let me know if that helps or if you have any questions, Jamie! :)

- Mallmann
Exceptions when installing Crowd
Asked by H-H:

Hi there,

would be happy if anyone can give me a hint here: Gettiung error message that crowd install failed during startup.

![Screenshot (22).png](/t5/image/serverpage/image-id/7114iF33470B4D70746BD/image-size/large?v=v2&px=999 "Screenshot (22).png")![Screenshot (23).png](/t5/image/serverpage/image-id/7115iC4865DBB27D1E00C/image-size/large?v=v2&px=999 "Screenshot (23).png")


Answers:
author: Marcin Kempa
body: Hi [@H-H](/t5/user/viewprofilepage/user-id/767213)

Looks like Crowd had some problems with creating 'cwd_cluster_job'. Are you using [supported database](https://confluence.atlassian.com/crowd/supported-platforms-191851.html)?

If you could post all the logs it would be easier for us to diagnose the underlying problem.

Best Regards,

Marcin Kempa

comments: author: H-H
body: Hi Marcin

Thanks for your answer. Attached you will find the link to the full atlassian install log file.

Thanks for any ideas that might help.


author: H-H
body: I installed it on DEB 9 with MariaDB Server 10.1. Should be pretty much standard I would assume (Apache 2.4)

F


author: H-H
body: Hi Marcin

found the problem. The collation within the database (

    character set utf8 collate utf8_bin;

) was wrong. Now I was able to install. No problems.


author: Marcin Kempa
body: Hi [@H-H](/t5/user/viewprofilepage/user-id/767213)

Unfortunately, MariaDB is not a supported platform for Crowd at the moment.

There is an open feature request for supporting this type of database here: here <https://jira.atlassian.com/browse/CWD-3584>. If you are interested in this feature, please watch and vote for this ticket. Customer feedback helps us to shape Crowd future roadmaps.

Is there any particular reason you could not use any of the databases listed in Crowd [documentation](https://confluence.atlassian.com/crowd/supported-platforms-191851.html?_ga=2.259448522.1974928470.1506959866-909665335.1506959866)?

Best Regards,

Marcin Kempa
Moving Nested Groups to new Crowd Server
Asked by Michael Bibby [Praecipio]:

We are migrating from one Crowd Server that has nested groups to a new Crowd server. Is there a way to export and then import the nested groups?


Answers:
author: AnnWorley
body: Please try the CSV export from the old Crowd instance and import into the new one. Here is the export doc: [How Do I Generate a CSV Export of Users, and Memberships From a Specific Directory in Crowd?](https://confluence.atlassian.com/crowdkb/how-do-i-generate-a-csv-export-of-users-and-memberships-from-a-specific-directory-in-crowd-442271568.html) Here are the import instructions: [Importing Users from CSV Files](https://confluence.atlassian.com/crowd/importing-users-from-csv-files-64454760.html)

comments: author: Michael Bibby [Praecipio]
body: Ann,

I did use this feature but the nested information did not transpose to the new server. I have read information that this has been an issue since the crowd directory is flattened in the database.


author: Benny Varughese (private)
body: Do you have a solution for this meanwhile?


author: Roman Smatana
body: the same problem here.....

.... one resolution could be to get rid of nested groups and flatten them ..... many times abused deep group hierarchies are hard to read for humans and adds overhead for applications as well. (million times retrieval of nested group information have performance impact on system for sure)
How to reference the TOKEN pointer returned by the previous WEB request in the next WEB request
Asked by xuyang:

i use jira service management product

How to reference the TOKEN pointer returned by the previous WEB request in the next WEB request?


Answers:
author: xuyang
body: how to do it , please help!


author: xuyang
body: ![1.png](https://community.atlassian.com/t5/image/serverpage/image-id/342092i658F371650F3B541/image-size/large?v=v2&px=999 "1.png")![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/342093i9B5CB93A7A7064D2/image-size/large?v=v2&px=999 "2.png")


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Jira server DB location in Linux?
Asked by Mariano Edvardsson:

Hello! We're trying to rescue a faulty server with an old but necessary Jira DC instance. I managed to re-create the whole server, however,I am missing the DB for Jira.

Where can I find it?


Answers:
author: Guanglin Zhang _XDevPod_
body: You can view Jira's database information from dbconfig.xml.  
It is located in Jira home directory.

The default location of the Jira home directory is:  
C:\\Program Files\\Atlassian\\Application Data\\JIRA (on Windows) or  
/var/atlassian/application-data/JIRA (on Linux)


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

server
how can i to change the inactive standard plan to a free plan.
Asked by develop inroes:

```
The number of active users has been reduced to less than 10, and the only action button is Reactivate.
```


Answers:
author: Guanglin Zhang _XDevPod_
body: Please refer to:

[How to Downgrade Jira Software from Standard to Free](https://community.atlassian.com/t5/Jira-articles/How-to-Downgrade-Jira-Software-from-Standard-to-Free/ba-p/2045188)

[How to Downgrade Jira Service Management from Standard to Free](https://community.atlassian.com/t5/Jira-articles/How-to-Downgrade-Jira-Service-Management-from-Standard-to-Free/ba-p/2299951)


Tags: downgrade

free

jira-service-management

plan

standard

subscriptions-and-billing
JSM Help centre - approvals now showing?
Asked by Danielle David:

Noticed the Help centre has changed and for some its showing the Approvals?

How do we go about hiding those?

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


Answers:
author: Susan Waldrip
body: Hi [@Danielle David](/t5/user/viewprofilepage/user-id/4577696) , Approver has appeared on this menu because the customer/user has been assigned to a Project Role or Group of approvers. It enables them to see approval requests that are waiting for them to respond as well as their past approvals. There appears to be no way to modify that menu out of the box (admins have very little control over the help center site), but there may be an app that can do this so you might look in the [Atlassian Marketplace](https://marketplace.atlassian.com/) for help. Good luck!


Tags: cloud

jira-service-management

jira-service-management-cloud
How do you disable SLA for change request types
Asked by Jack_Marquez:

Our Change request types do not need an SLA attached to them so I want to remove it from the agent screen but I can't find a way to do it. Is it possible?


Answers:
author: Mikael Sandberg
body: In order to disable the SLA for changes you have to go to Project settings \> SLA and change your goals so that it does not cover changes. For example if you use "Ticket category" = "Service requests" in your goal that would not include changes, only request types that belongs to the Service request category.


Tags: cloud

jira-service-management

jira-service-management-cloud
Why would tickets get unassigned when transitioning to a specific state.
Asked by Eric Dec:

Last week, user story, bug and task ticket types started to get unassigned when the ticket was changed to a specific state. The un-assignment only happens on 2 specific state changes. I checked the workflows, and they were not updated. I also checked the transitions to the states with the issue, and they do not have any transition post functions to un-assign the ticket. There are also no automations running on the tickets as far as I can tell. What else could be the issue?

Thanks!


Answers:
author: Mohamed Benziane
body: check the history of the issue to see what cause the change.

make sure that there is no automation in your project or another plugin that change this field.

comments: author: Eric Dec
body: Hi Mohamed,

Thanks for the reply.

Ticket history shows that whoever changed the status on the ticket changed the assignee to unassigned.

On my test ticket, there were no automations run, but the issue still occurs.![Screenshot 2024-08-16 at 11.14.08?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/342240i36F07CBDF167CB3D/image-size/large?v=v2&px=999 "Screenshot 2024-08-16 at 11.14.08?AM.png")


Tags: cloud

jira-service-management

jira-service-management-cloud
Hide fields when approving
Asked by Chantale Simard:

Hi !

Is it possible to hide some fields so the approvers don't see them when they approve or reject the request ?

Thanks


Answers:
author: Andrew _Zim_ Zimmerman _Appfire_
body: Hi [@Chantale Simard](/t5/user/viewprofilepage/user-id/4719236) quick question: Are your approvers also agents in the portal or do they just have customer portal access to those requests? Or, maybe a mix of both?

If they only have customer portal access to the requests, they should only be able to see the fields present on the request form itself. However, if they're agents in the portal (or have internal Jira view access) then they'll be able to see the fields as configured on your View screens.

comments: author: Chantale Simard
body: Hi Andrew, thanks for your reply.

Yes, it can be a mix of both (for the users that have agent accesses, this is totally fine) but I'm more talking about the users with customer accesses.

**For example :**

The requestor fills the form and one of the field is the Date of birth.

When the manager approves, we don't want that person to be able see the Date of birth entered by the requestor as it is sensitive information.

How can I achieve that ?

Thanks !


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

server