youngmon/atlassian-qna huggingface dataset:
Invalid object name 'CLUSTER_NODE_HEARTBEAT' after upgrading to Bamboo 8.0.2
Asked by toniq-dave:

I upgraded from 7.x to 8.0.2 yesterday, and since then my application log is filled with the following:

021-09-24 13:11:37,145 WARN \[https-openssl-nio-443-exec-25\] \[SqlExceptionHelper\] SQL Error: 208, SQLState: S0002  
2021-09-24 13:11:37,145 ERROR \[https-openssl-nio-443-exec-25\] \[SqlExceptionHelper\] Invalid object name 'CLUSTER_NODE_HEARTBEAT'.  
2021-09-24 13:11:37,145 WARN \[https-openssl-nio-443-exec-25\] \[BambooRuntimeExceptionMapper\] Unexpected error from REST call  
org.springframework.dao.InvalidDataAccessResourceUsageException: error executing work; SQL \[n/a\]; nested exception is org.hibernate.exception.SQLGrammarException: error executing work

Is this related to Bamboo Datacenter? We're licensed for Bamboo Server, and the error suggests its perhaps looking to perform a cluster-related function that isn't applicable in our case (we're running a single instance of Bamboo Server).

Bamboo otherwise appears to be working OK.


Answers:
author: Marcin Gardias
body: This issue has been fixed in 8.0.3 and later


author: Alexey Chystoprudov
body: It's tracked at <https://jira.atlassian.com/browse/BAM-21436> . Please use provided workaround until new version with fix is released


author: Georg Tsakumagos
body: Same to us. Ticket created. Is any info how to solve this available?


author: Alexey Chystoprudov
body: Please create support ticket at <https://getsupport.atlassian.com> so our engineers can review upgrade logs and provide CREATE TABLE statement to fix the issue.
Bamboo and Bitbucket upgradation will affect on existing Bamboo specs, Bamboo scan features
Asked by Devendar Gangapuram:

Hi all,

Our DevOps tools Bamboo, Bitbucket will be upgrading to higher versions soon to below specified versions. We using Bamboo specs, Bamboo scan features to import Bamboo plans as code.

**Bamboo version: 7.0.1 --\> 7.2.5**

**Bitbucket 7.6.1 --\> Bitbucket 7.15.1**

So want to ensure the above specified version upgradation will impact on existing connections and we should stay this feature active and If any pre measures required please let me know.

Please guide us If we need to take any pre measures required.

Thank you in advance.


Answers:
author: Nic Brough -Adaptavist-
body: These upgrades are very close together and should not affect your connections. If they are going to break anything, it should be immediately obvious when you are testing.

Keep a copy of the application link pages in both apps though, just in case.

comments: author: Devendar Gangapuram
body: Thank you Nic


Tags: bitbucket

server

spec

upgrade
Put the build number into file.
Asked by Rodion Alukhanov:

I want to create "revision.txt" file with a build version in the root of my web application. Something like this:

{code}

echo -e "Build: ${bamboo.planRepository.branch}_${bamboo.buildNumber}\\nBuild-Time: ${bamboo.buildTimeStamp}\\n" \>\> target/release.txt

{code}

I tried to redirect the output of echo using

{code}

\>\> target/release.txt

{code}

but it doesn't work. Bamboo just prints "\>\> target/release.txt" to console.


Answers:
author: Vani
body: Hi Rodion,

May I know more details on this issue, e.g., in which environment Bamboo is running, screenshot or details on how the task was created?

I did a quick test on the command you have given. Would you mind checking the below sample?

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

Build logs.

```
simple 18-Sep-2021 05:20:13 Finished task 'output release' with result: Success00
```

And the file was created in the target directory.

```
> cat /opt/Bamboo_7_db/bamboo_7_home/local-working-dir/BAM-TES-JOB1/target/release.txt 2
Build: master_50 3
Build-Time: 2021-09-18T05:13:16.064+10:00????
```

For creating task refer: <https://confluence.atlassian.com/bamboo/script-289277046.html>

comments: author: Rodion Alukhanov
body: Thank you for a hint. My mistake was, that I created the task as a Command Task and not as a Script Task. I converted it to a script and it works smoothly.


author: Vani
body: Hi Rodion,

Happy to hear it worked.

Thanks


Tags: command

release
Bamboo upgrade
Asked by MD:

```
I'm new to Bambo.I have upgraded bamboo 7.2 to 8.1, I have managed to get the new instance up and running but then I get a wizard on the website that asks me for a licensed key and wants me to configure it as if it were a completely new installation.I have connected the new instance to my old bamboo home folder but it still looks like a new installation. do you have any tips on how to get my old configuration and data uploaded to the new instance?
```

My bamboo-init.propertie file

## You can specify your bamboo.home and bamboo.shared.home property here or in your system environment variables.

#Local Bamboo home. If running in HA (multi-node) mode, you need to provide a unique, not shared, home directory for node specific content

#bamboo.home=C:/bamboo/bamboo-home

#If running in HA mode, you need to provide a shared home directory that will be used by all nodes  
#It is allowed to mount this shared directory as a subdirectory of bamboo.home  
#Can be left undefined when running in single node mode, in which case the data will be stored in ${bamboo.home}/shared

#bamboo.shared.home=

bamboo.home=E:\\bamboo\\_bamboo-home


Answers:
author: tgdavies
body: Check the contents of `<Bamboo 8.1 installation directory`\>`/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties and double check that it's correct. Add its contents to your question.`

comments: author: MD
body: My bamboo-init.propertie file

## You can specify your bamboo.home and bamboo.shared.home property here or in your system environment variables.

#Local Bamboo home. If running in HA (multi-node) mode, you need to provide a unique, not shared, home directory for node specific content

#bamboo.home=C:/bamboo/bamboo-home

#If running in HA mode, you need to provide a shared home directory that will be used by all nodes  
#It is allowed to mount this shared directory as a subdirectory of bamboo.home  
#Can be left undefined when running in single node mode, in which case the data will be stored in ${bamboo.home}/shared

#bamboo.shared.home=

bamboo.home=E:\\bamboo\\_bamboo-home


author: Nic Brough -Adaptavist-
body: Note the use of slashes in the example string for the bamboo path - windows based path names annoyingly contain characters that every other sane system considers a control character, and people have to code around it.

Most of us code for standard OS agnostic data so that the application server will convert a standard directory path to whatever the local system is if it needs to.

TLDR: Try

bamboo.home=E:/bamboo/_bamboo-home


author: MD
body: Thanks for you reply. now i get this error (see screenshot)

![2021-09-19_16h57_51.png](https://community.atlassian.com/t5/image/serverpage/image-id/160965iD8654ED7754FF96C/image-size/large?v=v2&px=999 "2021-09-19_16h57_51.png")
Atlassian Bamboo version 7.1.2 build 70119 - 02 Sep 20
Asked by chappie:

IS Atlassian Bamboo version 7.1.2 build 70119 - 02 Sep 20 compatible with PostgreSQL version 13.2


Answers:
author: Nic Brough -Adaptavist-
body: See <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html>

comments: author: Eduardo Alvarenga
body: The above link refers to the latest version. For Bamboo 7.1, please check the following link:

<https://confluence.atlassian.com/bamboo0701/supported-platforms-1031176902.html>

#### TL;DR; PostgreSQL 13 is NOT supported in Bamboo 7.1 {#toc-hId--514848794}


author: Nic Brough -Adaptavist-
body: It does, yes.

I tend to try to link to the latest documentation (which has a selector to enable people to choose their specific version) to encourage people to look for themselves. They'll learn more, and get faster answers, than just using community as a search engine.
How to fix 'Plan branch cannot add repositories that are not defined in the parent plan.'
Asked by kieranhester:

Using Bamboo 8.0.0 I am getting an error when trying to publish my specs, the error is:  

```
Plan repository: Plan branch cannot add repositories that are not defined in the parent plan.
```

```
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Plan repository: Plan branch cannot add repositories that are not defined in the parent plan.
```

My specs are   

![Screenshot 2021-09-15 at 11.11.40.png](/t5/image/serverpage/image-id/160327iF94162B3DFDB8CF3/image-dimensions/171x187?v=v2 "Screenshot 2021-09-15 at 11.11.40.png")  

(Sorry for the screenshot, wasnt letting me upload with format)


Answers:
author: pBogey
body: Hello, did you manage to solve this issue?

I know this is an old question, but it took me some time to figure it out so maybe this answer will be useful for others. I had the same issue just now and it was due to the branch of the main specs repo.

I have updated the repositories list on a feature branch and it was failing with this error. I have edited the linked repository and changed the default branch to match my feature branch and afterwards it was able to add the new repository.


Tags: spec

yaml
Can't install conan recipe from Artifactory OSS server from Bamboo server Asked today
Asked by Robin Imrie:

I have JFrog Artifactory Community Edition 7.11.2 for C++ installed on a linux server and from my Windows pc I can successfully install required recipes for a project via the `conan install ..` command. However when I use the same files and scripts on my Bamboo Server (windows) as a build plan I get the following error:

`ERROR: Couldn't read login`

Conan suggests:

`Try removing 'C:\WINDOWS\system32\config\systemprofile\.conan\.conan.db' file.`

This I have done but still get the same error. The Bamboo server runs using the Local System Account.

Are there recommended practices for using Conan with Bamboo for CI uses?

I also have the same issue via a command shell on the bamboo server. The anonymous account on Artifactory is enabled.


Answers:
author: Robin Imrie
body: For anyone who is interested. I eventually found the problem... I used a git repository to configure conan on my Bamboo server. I had used surrounded the name \& url of the remotes with quotes ("), which was wrong. Once I have removed these quotes it all worked fine.


Tags: artifactory

jfrog
My Bamboo plan runs a terraform to create a Centos VM and it outputs the IP address and I need it
Asked by William Flow:

My Bamboo plan runs a terraform script to create a Centos VM and it outputs the IP address and I need it so I can SSH to it in the next steps

I am a noob and have no idea how to get it


Answers:
author: DamCoder
body: Find the [provider reference](https://registry.terraform.io/browse/providers) for your cloud provider.

And see what they offer for output values of instances.

Make an output.tf file with the value of the VM's IP address

**AWS Example**

*** ** * ** ***

    output "instance_ip_addr" {  value = aws_instance.server.private_ip}

After you run the terraform plan, the IP address should be listed in the output.

I hope this helps get you on the right path to find the IP.


Tags: terraform

variable
java.lang.IllegalStateException: net.schmizz.sshj.transport.TransportException: Broken transport;
Asked by zniter81:

Hi

i setup a ssh task for a bamboo plan.  
the task will take couple of hours to complete.  
but less than 10min into the task we encounter this error.  
how to fix this issue?  

```
java.lang.IllegalStateException: net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
        at org.apache.commons.io.LineIterator.hasNext(LineIterator.java:111)
        at com.atlassian.bamboo.plugins.scp.SshTask.printOutputLines(SshTask.java:197)
        at com.atlassian.bamboo.plugins.scp.SshTask.execute(SshTask.java:129)
        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:190)
        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:162)
        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:137)
        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:130)
        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:110)
        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
        at java.lang.Thread.run(Thread.java:748)
```

Below is the screenshot of the settings for the ssh task.

<br />

![Screenshot 2021-09-09 at 12.00.38 AM.png](/t5/image/serverpage/image-id/159475iD5863AFB663561EA/image-size/large?v=v2&px=999 "Screenshot 2021-09-09 at 12.00.38 AM.png")


Answers:
author: Yuchen Wang
body: Just ran into this issue recently. Wanted to check in to see if Atlassian provided you any resolution on this?
Can I use a IAM role attached to a bamboo ec2 instance instead to spin up elastic images?
Asked by Juan Antonio Ang Chua:

Hi, at the moment we use access key/secret key to spin up new elastic instances in our aws account, is it possible to instead use a iam role, which is attached to the bamboo server, on the elastic bamboo configuration?

I have the

Identity Federation for AWS - Connectors {#toc-hId--1236111607}
---------------------------------------------------------------

plugin enabled, and its able to see the iam role, but the configuration for elastic bamboo only allows for access key/secret key.


Answers:
author: Steffen Opel _Utoolity_
body: Hi [@Juan Antonio Ang Chua](/t5/user/viewprofilepage/user-id/4548831),

Thank you for using our apps!

[Identity Federation for AWS (Bamboo)](https://marketplace.atlassian.com/apps/1212482/identity-federation-for-aws-bamboo) indeed supports providing AWS security credentials via an IAM role for EC2/ECS [as of release 2.14](https://utoolity.atlassian.net/wiki/spaces/IFAWS/pages/1981022213/Identity+Federation+for+AWS+2.14+Release+Notes).

Unfortunately the Bamboo architecture does not allow third-party apps to provide the AWS access credentials used for [Configuring Elastic Bamboo](https://confluence.atlassian.com/bamboo/configuring-elastic-bamboo-289277120.html), i.e. this capability is solely controlled by Atlassian - please watch and vote for the following feature requests to raise Atlassian's priority for addressing this notable limitation (the issues are overlapping and *might* be considered duplicates, but have evolved separately):

* [Configure elastic bamboo with IAM role (BAM-20817)](https://jira.atlassian.com/browse/BAM-20817)
* [Using 'Assume Role' for AWS API calls instead of traditional authentication key ID and secret key (BAM-17341)](https://jira.atlassian.com/browse/BAM-17341)


author: Mehmet A _Bloompeak_
body: I am not sure but as far as I remember it asks access key/secret key in the agent configuration page. But the ideal way to spin up new bamboo agents imust be using IAM role. Atlassian should add this feature into their Bamboo backlog.


author: Juan Antonio Ang Chua
body: I have the

Identity Federation for AWS - Connectors {#toc-hId--1236111537}
---------------------------------------------------------------

plugin enabled, and its able to see the iam role, but the configuration for elastic bamboo only allows for access key/secret key.
stuck at express installation
Asked by Abhishek Kumar:

Hi Team,

I stucked while running setup wizard while selecting express installation. kindly find the screen shot and please help for the same.

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


Answers:
author: Nic Brough -Adaptavist-
body: This step does take a few minutes, but if it persistents for long (I usually go make a cup of tea and find it done when I return), then you'll need to start looking at the log files on the server to find out what the process is doing and where it has got stuck.
Editing a maintenance event AFTER creating it
Asked by Terry Siroky:

I have created a scheduled maintenance and it is fully posted. But I need to edit the description AND 'uncheck' one of the systems components that is NOT impacted. I see where I can edit the description, but not where I can 'uncheck' the component that is not affected.


Answers:
author: Connor Eyles
body: Hi [@Terry Siroky](/t5/user/viewprofilepage/user-id/1758464)

Hope you are well :)

If you are wanting to change the affected component for maintenance go to the open incidents page and click update next to the scheduled maintenance.

![Image 2021-04-06 at 2.28.45 pm](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/eDuj9K9o/23e33e7c-fa95-4ecb-8d6d-c9342da8d5ad.jpg?v=7cf215dac584bfc6620b694ab656f4eb)

Now scroll down and you can update the affected components:

![Image 2021-04-06 at 2.29.33 pm](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/wbuwkxkL/f8b52c37-51a0-4deb-a357-495de05f9a63.jpg?v=8617b208960ec2d06212a8aec23e61af)

Thanks,  
Connor
Is it possible to implement a Login page in order to have access to the Public status page?
Asked by Andr? Oliveira:

Is it possible to implement a Login page in order to have access to the Public status page?


Answers:
author: Connor Eyles
body: Hi [@Andr? Oliveira](/t5/user/viewprofilepage/user-id/4316226)

Well having a login page for a public page defeats the purpose of it being public if it required authentication to see the page!

Can I ask the reasoning behind why you need a login page to access a public page?

What you can do is change your page from public to Private or Audience specific -

<https://www.atlassian.com/software/statuspage/pricing?tab=private>

<https://www.atlassian.com/software/statuspage/pricing?tab=audience-specific>

Thanks,  
Connor


Tags: cloud
Is an Atlassian License a requirement for Statuspage 'account' types
Asked by Angela:

Looked deep in the questions and articles and not quite finding what I'm after.

Is an Atlassian License required for each of the subscription types and/or 'labeled user type'?

PUBLIC

1. Subscribers (Atlassian license required?)
2. Team Members (Atlassian license required?)

PRIVATE

1. Team Members
2. Employees (Atlassian license required?)

AUDIENCE SPECIFIC

1. Team Members
2. Groups (Atlassian license required?)
3. Users (Atlassian license required?)


Answers:
author: Nic Brough -Adaptavist-
body: What do you mean by "atlassian licence"?

Statuspage users are of two types really - subscribers (who just really need an email address) and Team members who have an Atlassian account. Both of these types are licenced by the application (for example, the free version lets you have two Team members and a hundred subscribers)


Tags: cloud

licence
Statuspage Training and Certification Plans
Asked by Angela:

Are there plans for formal Statuspage training available in the Atlassian University?

Also, are there plans for Statuspage certification in the future?

There are a ton of online resources for Statuspage and aware of those and very helpful.

Inquiring about formal training and certification from Atlassian.


Answers:
author: Daniel Ebers
body: Hi Angela,

although I do not have the answer I am wondering if this question is also suitable with Training \& Certification support (<https://support.atlassian.com/contact/#/>) and/or in the Training collection here in Community (<https://community.atlassian.com/t5/Training-Certification/ct-p/training-and-certification>).

This is just because I guess in the training collection there is more traffic towards training/certification questions. If you should decide to wait here for more answers, this would be totally fine as well.

Regards,  
Daniel

comments: author: Angela
body: Thank you for the suggestion, Daniel. I created this post there: <https://community.atlassian.com/t5/Training-Certification-questions/Statuspage-Training-and-Certification-Plans/qaq-p/1656687#M819>


author: Nick Coates
body: Hi Angela,

I'm a long-time Statuspage customer and I asked this question at every Summit I've been too with the Training team but there doesn't seem to be any formal training or certifications for Statuspage. I suspect if there was it'd fit under the Jira Service Management path as incident management sits under service management.

I'll check in with our CSM and see if there is training contact you could reach out to (I'll do the same as more customers who request this the higher the chance it is to get looked at by Atlassian).

Thanks,  
Nick

comments: author: Angela
body: Thank you for the information, Nick. Looking forward to hearing from Atlassian too.


Tags: cloud

training-and-certification
Setup Pingdom automation on Statuspage
Asked by Jam Creencia:

I believe the [Pingdom setup docs](https://support.atlassian.com/statuspage/docs/set-up-pingdom-alerts-parsing/) for Statuspage are out of date. I logged in to Pingdom and tried to follow the instructions but Pingdom doesn't offer the options on the instructions. Has anyone been able to integrate Pingdom to their Statuspage with the new Pingdom UI?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Jam Creencia](/t5/user/viewprofilepage/user-id/4318024) -

Could you provide exactly which step you're stuck at in the instructions? Would you be able to provide a screenshot of how your Pingdom account is set up? Do you not have a **Users and teams** option in Pingdom?


Tags: cloud
Remove all subscription buttons and links
Asked by Mike Paez:

I know there is javascript to remove the "Subscribe" button on the home page but after an incident is logged, the user can still subscribe to that incident. Is there a way to remove ALL subscribe functionality?


Answers:
author: Connor Eyles
body: Hi [@Mike Paez](/t5/user/viewprofilepage/user-id/4233126)

Hope you are well :smile:

You can do this by unchecking the setting that allows subscribers to subscribe to individual incidents and components. This setting is found in the **Subscribers** tab then click **Options** \> **Settings**.

![Image 2021-04-07 at 9.41.52 am](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/yAuDvQxY/13ff70be-a34b-49f4-8a28-9b75355f37fb.jpg?v=0fb83ae51479af12eb341fe225aaa7ae)

![Image 2021-04-07 at 9.42.46 am](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/GGuQNzxY/e7b27798-57e1-482d-8907-75c8dcbf2f6d.jpg?v=9f39a35b9bc118f0b53c60a8b0d8e0a7)

Thanks,  
Connor