youngmon/atlassian-qna huggingface dataset:
Bamboo-New installation and configuration
Asked by Las Cincos:

Hello Team,

I have newly installed bamboo setup by given below link, over the installation- I am unable to look my bamboo in browser- Its showing conection refused now

I have changed the port 8085 in server.xml and restarted the service/server as well but no luck- Can you please help me on err attachment

Also i could see no error comments show in bamboo home- atlassian-bamboo.log

let me know from anywhere i am strucking here to resolve this issue

<https://curiousabeey.com/how-to-install-and-configure-bamboo-in-ubuntu>![bamboo-connection refused.JPG](/t5/image/serverpage/image-id/118086iF8EEBF4F48300B04/image-size/large?v=v2&px=999 "bamboo-connection refused.JPG")


Answers:
author: Daniel Ebers
body: Hi Las,

welcome to the Atlassian Community!

As you are stating the log files look good some basic questions:

* do you see the port for Bamboo ("8085") open in your system (you can check using *netstat* for example)
* is there possibly any firewall in place which is blocking access

Generally it is hard to debug such kind of connection issues without access to the system. You need to work your way along the symptoms.

Please also refer to the "Troubleshooting Installation" section of the knowledge base:  
<https://confluence.atlassian.com/bamkb/troubleshooting-installation-216957437.html>

I am not familiar with the installation guide you have posted but it might be worth having a look at the official installation guide - to double check:  
<https://confluence.atlassian.com/bamboo/bamboo-installation-guide-289276785.html>

Cheers,  
Daniel


author: Mahesh kumar
body: Can you please anyone suggest?
Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed.
Asked by TobyM:

Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed.


Answers:
author: Jimmy Seddon
body: Hi Toby,

Welcome to the Community!

Do you have any more information in your Bamboo server log file?

You should be able to find the log file the the logs folder of the Bamboo home directory. what you have provided at this point doesn't really provide enough information to point to the root cause, though in my own experience I'd be looking in the log file for database connection issues.

I hope that helps!

-Jimmy
Remote agent suddenly became offline, why ?
Asked by kriegalex:

My remote agent suddenly become offline on the 7th of November, after working flawlessly for a while. Those are the debug steps I've taken so far. Nothing worked. I'll be grateful for some help, because now I'm a bit lost.

* Reboot server and agent
* Check firewalls to be sure 54663 is still opened for both server and agent. Taking inspiration from another post I saw in the community, I've been able to successfully call "telnet server-bamboo 54663" and connect
* Check t[he workaround for SSL secure connection](https://jira.atlassian.com/browse/BAM-20521 "workaround") is still in the configuration
* Reinstall the remote agent from scratch
* Check that bamboo is still v6.10.3 and that nothing was changed
* Check java is still OpenJDK v1.8.0
* Check bamboo's certificate is not expired
* Revert secure connection to non secure (ssl:// -\> tcp:// ) for remote agent
* Reinstall the remote agent from scratch

The error with secure connection was:

```
ERROR [ActiveMQ BrokerService[bamboo] Task-20] [TransportConnector] Could not accept connection from tcp://AGENT-IP:7756 : javax.net.ssl.SSLException

ERROR [ActiveMQ BrokerService[bamboo] Task-33] [TransportConnector] Could not accept connection from tcp://AGENT-IP:37703 : javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
```

Now without secure connection:

```
?WARN [ActiveMQ Transport: tcp:///213.200.250.6:30445@54663] [Transport] Transport Connection to: tcp://AGENT-IP:30445 failed: java.io.EOFException?
```

EDIT : the remote agent is now working with TCP. The workaround flag for SSL needs to be removed from the Broker client URI. Still don't know why the secure version is not working.

EDIT 2 : just tried the secure connection without the workaround flag, didn't work

EDIT 3 : it almost looks like with or without the workaround flag in secure mode (ssl://), the result is the same. Now that I've tested without the flag, it seems to me that the workaround is not effective anymore, because the error messages look the same. But I have no idea why it would stop working suddenly.


Answers:
author: Sathiskumar
body: I have the same issue, any one has resolved this issue?


author: Luca Aliberti
body: I am having the same issue. Anyone from atlassian?


Tags: remote-agent

security
I don't find setting button when I want to create a bamboo agent.
Asked by Felix Wang:

Hi,

I want to set a bamboo agent so I can run my test script when PR is created in Jira.

I have read some docs such as <https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html>

But I don't find settings button in website panel:

![1.PNG](/t5/image/serverpage/image-id/117657iFCE6B3CB732061B8/image-size/large?v=v2&px=999 "1.PNG")

Why? Is this issue related to priority? Do I need to ask IT support team in my company?

Thank you!

Best Regards,

Felix


Answers:
author: Marcin Gardias
body: You need to be an instance administrator to see that menu.


Tags: agent
Bamboo migration - V6.2 to 7.1
Asked by shehanas moideen:

Hi,

We are currently running Bamboo V6.2 and want to migrate to latest version, is this feasible? or do we need to first migrate to a different 6.x version to be able to migrate to 7x. let me know if any of you have done this.

TIA.

Shehanas


Answers:
author: Italo Qualisoni [e-Core]
body: Hi [@shehanas moideen](/t5/user/viewprofilepage/user-id/4154701)

You should start by looking the Bamboo Upgrade Guide

<https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html>

Based on your version you should follow the below upgrade path:

6.2 -\> 6.5 -\> LATEST (7.1)

<br />

I recommend you to test in staging and have a backup strategy to rollback in case of needed.

You can always reach Atlassian partner to help you with this task


Tags: migration
Can we have a choice parameter feature in bamboo?
Asked by Rahul Salunke:

I want to give values as a choice to user for particular variable just like we do in Jenkins.


Answers:
author: Jeyanthan I
body: Hi Rahul.

If you trigger a plan build manually, you can override any [global variables](https://confluence.atlassian.com/bamboo/defining-global-variables-289277112.html) or [plan variables](https://confluence.atlassian.com/bamboo/defining-plan-variables-289276859.html) with your own parameters when triggering a build manually.

This is explained in [this page](https://confluence.atlassian.com/bamboo/running-a-plan-build-manually-289276898.html).

Hope that helps.

Cheers,  
Jey

comments: author: Michael
body: We need choices -\> Usability!

In Jenkins you can add choices for parameters (variables). So the user chooses the value from a list and doesn't has to know the possibilities.


author: Daniel
body: I agree. Users should be able to give input when running a plan manually and not have to edit environment variables or read from a file. Other competitors are amazing in this way. You need to make it easy on users to choose from a displayed and controlled menu when needed. It is needed!!

<https://medium.com/the-devops-ship/jenkins-use-cases-series-use-active-choice-parameter-plugin-for-parameterized-build-with-values-3d87bccb3330>

Thank you kindly for considering this,

Have a great rest of your day!
batch.css / batch.js:1 Failed to load resource - 404 (Not Found)
Asked by D J:

Hello, I have installed Bamboo 7.1.2 using MySQL on a Linux server (Ubuntu 18). The instance is secured behind nginx using SSL. I can access the site and have been able to set it up through the initial wizard.

However, the site is not loading its style and JS scripts, concretely these two: **batch.css** and **batch.js**.

Both are not found by the Chrome browser, which shows a 404 (not found) error when it tries to locate the above files from the following paths (BASE_URL should be replaced by the real domain):

```
BASE_URL/s/22339b840a686a652eda9cb945eaefe7-CDN/70119/1/ae711dd0dea2627fc013ff31d7536b2e/_/download/contextbatch/css/aui,atl.admin,-_super/batch.css?healthcheck-resources=true
```

```
BASE_URL/s/4f2a819378a916c3871918a0b64209dc-CDN/70119/1/ae711dd0dea2627fc013ff31d7536b2e/_/download/contextbatch/js/aui,atl.admin,-_super/batch.js?healthcheck-resources=true&locale=en
```

Without having the above properly loaded, I can barely do anything on the site (see attachment).

Could somebody help me solving this issue, please?

Thanks

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


Answers:
author: Danyal Iqbal
body: do you see the same error when bypassing the proxy server e.g over localhost\`?

comments: author: D J
body: Hi [@Danyal Iqbal](/t5/user/viewprofilepage/user-id/430572)

Thanks for your reply.

I need the proxy server running at all times, so I guess I can't test your suggestion. When I first run Bamboo without securing it behind nginx, I could not access it at all with the default url:

```
http://BASE_URL:8085
```

After I linked it with nginx, I had access to it.

Your comment has lead me to the following chat regarding nginx not serving static files: <https://stackoverflow.com/a/23780906>

Do you think this is the solution to the problem?

    location ~* /bamboo/\.(js|jpg|png|css)$ {    root path/to/bamboo-install/;    expires 365d;}


author: D J
body: Update:

I have tried by adding to nginx:

    location ~* /bamboo/\.(js|jpg|png|css)$ {    root path/to/bamboo-install/;    expires 365d;}

But it does not fix the issue.
NUnit Commandline options issues
Asked by Mattias:

I am trying to set up a NUnit 3 task and have issues passing the required commandline options to the test. The test expects parameters that include spaces (e.g. --testparam=Foo="Foo Bar"), but it gets parsed to

TestParametersDictionary:  
Foo -\> Foo

and t hen tries to use the "Bar" as a test input instead. For some reason the quotes get ignored. I already tried escaping the quotes, but then I get

TestParametersDictionary:  
Foo -\> "Foo Bar"

The expected results would be

TestParametersDictionary:  
Foo -\> Foo Bar

without any quotes. When running NUnit with the above --testparam=Foo="Foo Bar" everything works fine. It is just when it is done from the Bamboo task that things break.


Answers:
author: Mattias
body: Found the solution you have to set the parameter like this

```
"--testparam=Foo=Foo Bar"
```
Trigger branch-plan only on changes in specific repository sub-folder
Asked by Markus Denner:

I have the following problem and can't find any solution for it:

Our repository contains multiple C# Solutions and we are using pull-requests to bring new code into develop/master.

The target I want to achieve is the following:

* Multiple builds, one for each solution inside the repository
* A build is only triggered, if where are changes inside the solution sub-folder
* When someone pushes a feature-branch and creates a pull-request, all build for all Solutions with changes are triggered and executing the UnitTests for these solutions

I configured my default-plan as follow:

* The repository is set to our repository on the Bitbucket-Server, default branch is develop
* In the repository settings I added "Change detection options" and add a RegEx to the Subfolder of Solution 1
* Trigger of the default-plan is set to "Bitbucket Server repository triggered", using the repository settings described above
* The branches options are configured to create a new plan "When new branch in repository is created"
* The triggers of the branch-plan is set to "Same as defined in parent plan"

I expect the following:

* A developer wants to bring a new feature containing changes for Solution 1 into develop and creates a pull-request
* The feature-branch is pushed to server and a pull-request will be created
* As there are changes in Solution 1, the build for Solution 1 is triggered, the build for Solution 2 NOT
* After the build and all tests of Solution 1 are passed, the pull-request can be merged

Unfortunately it doesn't work as I expect, because on branch-plan creation (at the moment the feature-branch is pushed to the repository), the branch-plan build is triggered, doesn't care if where are changes in Solution 1 or not.

When the developer pushes new changes in the existing branch, it works as I defined and expected (so only changes in Solution 1 triggers the build), but this first build on branch-plan creation is a problem I can't solve... is where some solution how I can handle this?


Answers:
author: Michal Zastocki
body: I know it is old thread but is there any solution for this case?

I think about add some script as the first job in every plan which would check whether change was made in specific directory but this is really weird way.


author: Robson
body: indeed features very well covered by others known tools. It should have that feature already available.

Does anyone has an workaround?
Possible to setup roles to manage a subset of users
Asked by Glenn Jenkins:

Is it possible to set hierarchical roles in crowd that so there's a group admin who can manage other users only within that group or would this need to be done programmatically?

Ex.

sys_admin_role  
-\>administer all settings for all groups

group1_admin_role  
-\> CRUD users for group 1

group2_admin_role  
-\> CRUD users for group 2

....

.....


Answers:
author: Graham Bakay
body: Not possible in the current Crowd implementation. I've written an entire webapp, backed by Crowd, which allows us to delegate certain "permissions" (like who can control group members) to certain users or groups. I would love to implement the entire thing as a Crowd plugin, rather than a seperate webapp which uses the REST API, but unfortunately [Crowd is the black sheep of the Plugin SDK family](/questions/31196/is-crowd-the-black-sheep-of-the-plugin-sdk-family) and doing UIs in the current iteration of Crowd is darn near impossible.

Anyway, here's the root issue (duplicated several times). <https://jira.atlassian.com/browse/CWD-2318>


Tags: access

security
Can we hide or provide domain name in place of IP address shown under trusted proxy servers in Crowd application?
Asked by Kamal Saini:

In crowd under Administration \> Trusted proxy servers, we have added some of the IP address of the applications which are integrated with Crowd.

When our team work on security testing of Crowd application then testing reports an issue where Private IP addresses are getting diclosed on this URL. As it is a threat for comapny infrastructure because discovering the private addresses used within an organization can help an attacker in carrying out network-layer attacks aiming to penetrate the organization's internal infrastructure.

Can anyone please let me know if we have any other way to provide these machine names under "Trusted Proxy Servers" link? For an example : can we provide domain name there or any other solution?

Thanks,

Kamal


Answers:
author: JohnA
body: Hi Kamal,

I'm sorry to say that at the moment I believe the only option is to list te IP addresses of the proxies under the Trusted Proxies section as these are required for Crowd to correctly parse the header and understand that the packets have been forwarded by a known and trusted proxy. Unfortunately I don't believe it would be possible to change this without physically modifying the source code of the application to change how it handles the entire trusted proxies functionlaity and I'm not aware of any other workaround you could implement to mitigate against the IP addresses being exposed to people who have access to the Trusted Proxies section.

All the best,  
John


Tags: security
How to remove information from 500 page in crowd?
Asked by Kamal Saini:

Hi,

I have found a thread here - "https://confluence.atlassian.com/display/JIRAKB/Remove+information+from+the+500+page" about how to remove information from 500 page in JIRA.

Is it possible to do this kind of error page customization with Crowd application too?

Thanks in advance,

Kamal


Answers:
author: Alejandro Conde Carrillo
body: I think you can find the equivalent file foro Crowd in: \<CROWD_INSTALL\>/crowd-webapp/console/500.jsp

comments: author: Kamal Saini
body: Thanks, Alex


Tags: security
Can i add ldap users to internal directory group?
Asked by Maxim Kraynov:

Hi, all!

If i create ldap user directory in confluence, i can configure ***Read Only, with Local Groups*** mode(Users, groups and memberships are retrieved from your LDAP server and cannot be modified in Confluence. Users from LDAP can be added to groups maintained in Confluence's internal directory.)

Can i get same configuration in Crowd - add ldap users to internal directory groups. I need this, cause I haven't enough permission to create groups in our corporate AD. Thank you.


Answers:
author: Septa Cahyadiputra
body: Hi Maxim,

Good news, this feature is just implemented to the latest release version of Crowd as describe on this bug report:

* [CWD-1284](https://jira.atlassian.com/browse/CWD-1284)

For detailed information, please refer to our [Crowd 2.6 release notes](https://confluence.atlassian.com/display/CROWD/Crowd+2.6+Release+Notes#Crowd2.6ReleaseNotes-LocalgroupsmanagementforLDAPconnectors). Hope it clarifies your doubts.

Cheers,  
Septa Cahyadiputra

comments: author: Maxim Kraynov
body: Thank you very much for your fast answer!


author: Septa Cahyadiputra
body: Glad to hear that it help.

Cheers.


author: Marcus Silveira
body: Hi Maxim,

I believe you can set the AD connection on Crowd as '**Delegated Authentication** ' and only synchronize the users from the AD, handling all user membership in Crowd.

<https://confluence.atlassian.com/display/CROWD/Configuring+a+Delegated+Authentication+Directory>

Hope this helps,

Marcus

comments: author: Maxim Kraynov
body: This information is usefull for me too. Thnx


author: Ali
body: Don't the users (in Active Directory, for example) have to authenticate with Crowd first, before they are visible to Crowd and can be added to a Crowd group?
How to trigger Crowd directory synchronization through external tools?
Asked by Gholamreza Fathpour:

I need to get Crowd directories synchronized with Microsoft Active Directory.

In other words, once any changes made on AD we need to call synchronization process prgramatically. Is there any possiblity to do so?


Answers:
author: Zul NS _Atlassian_
body: Found [JRA-25988](https://jira.atlassian.com/browse/JRA-25988) that might interest you. The first comment on Incremental Synchronisation by Mark could be an alternative to your requirement as well.


Tags: crowd-integration
How to get Crowd directories synchronized with Active directory automatically
Asked by Grant Paterson:

I need to get Crowd directories synchronized with Active directory when I make any changes in the accounts with in the AD. For example, if I change a password, how can I trigger Directory synchronization process? Is it possible to call synchronization through Crowd API?


Answers:
author: EddieW
body: I suggest always delegating authentication, and leaving authorization to crowd. It will ensure real-time password changes are always reflected immediately, leaving your sync jobs for less frequent/critical aspects like group memberships and such.

<https://confluence.atlassian.com/display/CROWD/Configuring+a+Delegated+Authentication+Directory>


author: Paul Vilevac
body: I wish people would answer the question asked, instead of offering alternatives.

Yes, we delegate auth as a pass through, but Crowd NOT automatically synching means JIRA doesn't see new users or groups which are critical for assignment, routing, etc.

Any ideas on how to ensure that Crowd synchronizes on schedule as configured?

P

comments: author: Glenn Watkins
body: Was this resolved?

I have issues where users are systematically deactivated, I then reactivate them in the database and need Crowd and Active Directory to pick these changes up?

Any and all assistance will be greatly appreciated


author: LL
body: It doesn't happen automatically. You can set the Polling Interval by going to the "Directories" tab. Then locate your directory and hit "View". Next scroll down the list until you see "Polling Interval" and set the number of minutes. I have mine set to check for changes every 60 minutes.

To manually tell Crowd to update immediately, go to the "Directories" tab. Locate your directory in the list and hit "Synchronise".


Tags: crowd-integration
Crowd - Hardware Requirements?
Asked by ACP:

Hello,

i've got a question about the hardware requirements for crowd. We want to connect 3 ADs and 1 LDAP directory with Crowd and Crowd will support 1 application. The amount of users will be around 5000 (daily usage)

Can anyone give me information about the required CPU/Core and the RAM for the operating system?

Axel


Answers:
author: C. Faysal
body: hi.

please have a look at

<https://confluence.atlassian.com/display/CROWD/Supported+Platforms>

comments: author: ACP
body: Thanks, but i've already read it and its not very detailed concerning hardware requirements.


author: C. Faysal
body: personally i don't think crowd needs big hardware for doing what it does.

i've installed it on the same host next to jira\&confluence

HW is like:

E5606 Xenon

24GB RAM

...

works nicely..also remote connects to external crowd directories for sync


author: Harry Chan
body: I've found that it's more RAM. The more RAM allows it to cache things more often. It's mostly user directories and hence as long as it can fit it into cache (not disk and not external LDAP) it'll be fast. If performance isn't an issue, it doesn't really need anything fast to run[.](https://www.cloudshards.com)


author: Graham Bakay
body: We have two instances of Crowd (v1 and v2) as well as MySQL running simultaneously on an old Sun Fire V215 with only 4GB of memory. It's hit by at least a dozen apps and our org has about 11k users. Load is never a problem---we have several syncing apps which hammer it nightly (adding/removing users, etc.)

So long as you're using Crowd 2 and not Crowd 1, pretty much anything made in the past few years should be fine.
how do we uncouple Crowd from confluence
Asked by Narimene Lekmine:

Question: Need information on how uncouple Crowd from confluence


Answers:
author: AndrewA
body: Hi Narimene,  
You may also find the following page helpfull if you are consdiering migrating he users from Crowd to be part of the internal Confluence user direcotry.

[Reverting from Crowd or JIRA to Internal User Management](https://confluence.atlassian.com/display/DOC/Reverting+from+Crowd+or+JIRA+to+Internal+User+Management)

Cheers,  
Andrew


author: Septa Cahyadiputra
body: Hi there,

For Confluence 3.5 and above you could just remove the Crowd directory from your "[User Directories](https://confluence.atlassian.com/display/DOC/Configuring+User+Directories)". Please note that Crowd user will be removed from Confluence user management if you remove it. If Crowd SSO is configured, you would need to revert back your *seraph-config.xml* to default and delete *crowd-properties* from *\<CONF_Install_Dir\>/confluence/WEB-INF/classes/.*

For Confluence 3.4 and below, revert *atlassian-user.xml*to default and for SSO configuration, follow the same steps as above.

Hope it helps.

Cheers,  
Septa Cahyadiputra