youngmon/atlassian-qna huggingface dataset:
Upgrade Confluence from 6.14 to 6.15.2
Asked by Viacheslav:

Hello team!

I am new in confluence and have not figured it all out yet.

Tell me, I need to upgrade my system from version 6.14 to version 6.15.2.  
I read everything on page [https://confluence.atlassian.com/doc/upgrading-confluence-4578.html](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html?) but there are still questions.  
Can I upgrade immediately from 6.14 to version 6.15.2 without installing intermediate versions? Or should I be consistent 6.14 -\> 6.14.1 -\> ... -\> 6.15 -\> ... -\> 6.15.2  
I apologize for your question)  
I installed confluence quite recently, and you have already released so many new versions ...)

Best regard

Viacheslav


Answers:
author: Daniel Eads
body: Hi Viacheslav,

This is a good question, thanks for considering intermediate upgrades! With recent release of Confluence, there are no intermediate releases to worry about. We usually post these in the release notes for reach version if there is a particular version we need you to upgrade to before continuing to your final version.

You can safely upgrade directly from 6.14.0 to 6.15.2.

Cheers,  
Daniel

comments: author: Christopher Peters
body: Hi, I had expected this as well, and although the upgrade seemed to go ok according to instruction, after a reboot my instance is failing to come up. <https://community.atlassian.com/t5/Confluence-questions/Issue-after-upgrade-to-Confluence-6-15-2-java-problem/qaq-p/1065599>


author: Viacheslav
body: Thank you all!

The update was successful.

Before update confluence, I updated all the applications as it was written in the instructions.


author: Dharma Ramos
body: In the link you listed, step one of Plan Your Upgrade, is to determine your Upgrade Path. If someone was switching from earlier versions, like 4.x or lower, then they might need an intermediate update. In your case, you do not.

<https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>


Tags: confluence-server

server
Confluence stopped working from one day another
Asked by Rene Kyewski:

I found the following in the atlassian-confluence.log, but to be honest, I have no idea what's going on. I have tried to restart both the server and confluence but the server returns a 503. When I check the running processes, confluence uses 200% CPU.

019-04-18 13:58:07,216 ERROR \[ContainerBackgroundProcessor\[StandardEngine\[Standalone\]\]\] \[sf.hibernate.util.JDBCExceptionReporter\] logExceptions An SQLException was provoked by the following failure: java.lang.InterruptedException  
2019-04-18 13:58:07,217 ERROR \[ContainerBackgroundProcessor\[StandardEngine\[Standalone\]\]\] \[confluence.impl.hibernate.HibernateBridgeModeDarkFeatureEvaluator\] evaluateNoCache Error evaluating dark feature for hibernate bridge mode; Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection

We are using a Non-Profit license but the support ran out last year so I would appreaciate any help. Thanks very much!


Answers:
author: Rene Kyewski
body: Problem solved: It was this

<https://community.atlassian.com/t5/Confluence-questions/Confluence-stopped-working-Started-confluence-user-login-gets/qaq-p/1060768>


Tags: confluence-server

server
When was the end of life for Confluence 6.0.6
Asked by Tyrone Coleman:

Trying to update Confluence 6.0.6 due to vulnerability threat


Answers:
author: Ramarao Gaggara {Appfire}
body: Hi [@Tyrone Coleman](/t5/user/viewprofilepage/user-id/3060201) ,

Welcome to the community !

You can get to know the end of life details by checking the health of your confluence.

You can refer the link <https://confluence.atlassian.com/confkb/health-check-confluence-end-of-life-788957395.html> for more details on how to do health check for your confluence.

Also please refer below EOL dates for Confluence versions.

Confluence {#toc-hId--1439460975}
---------------------------------

6.15 (EOL Date: Mar 14, 2021)  
6.14 (EOL Date: Jan 22, 2021)  
6.13 (EOL Date: Dec 4, 2020)  
6.12 (EOL Date: Oct 2, 2020)  
6.11 (EOL Date: Aug 14, 2020)  
6.10 (EOL Date: Jun 26, 2020)  
6.9 (EOL Date: May 8, 2020)  
6.8 (EOL Date: Mar 20, 2020)  
6.7 (EOL Date: Jan 30, 2020)  
6.6 (EOL Date: Dec 12, 2019)  
6.5 (EOL Date: Nov 1, 2019)  
6.4 (EOL Date: Sep 6, 2019)  
6.3 (EOL Date: July 12, 2019)  
6.2 (EOL Date: May 15, 2019)

Thanks!

RamaRao

comments: author: Ramarao Gaggara {Appfire}
body: Hi [@Tyrone Coleman](/t5/user/viewprofilepage/user-id/3060201) ,

If you feel like my answer helped you, kindly mark my answer as accepted.

Thanks,

RamaRao


author: Shannon S
body: Hello Tyrone,

Welcome to Community and thank you for reaching out!

I checked the page history of the End of Life page, and it turns out Confluence 6.0 went End of Life in November 2018:

![Screenshot 2019-04-24 at 12.31.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/52465i000C3DA5798C4D0D/image-dimensions/269x193?v=v2 "Screenshot 2019-04-24 at 12.31.00.png")

I hope that helps! If you have any issues upgrading please do let us know.

Regards,

Shannon


Tags: atl-confsec

atlassian-support

end-of-life
paste html into confluence
Asked by Jenny Thompson:

i want to add HTML direct to confluence page


Answers:
author: Thomas Bowskill
body: [@Jenny Thompson](/t5/user/viewprofilepage/user-id/2830825)   

If you are on Confluence **Cloud** then the HTML macro doesn't exist there. (There is [a page on the features not present in Cloud that exist on server](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html?_ga=2.158375993.2047265214.1556002272-78750262.1521120314)). Your could see the marketplace for add-ons that enable this functionality (e.g. [I found this one](https://marketplace.atlassian.com/apps/1212279/html-macro-for-confluence-cloud?hosting=cloud&tab=overview))

If your question is confluence **server**:

I would double check the HTML is correct / should render -- [W3C has a good resource for this](https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro) (*apols if this is something you've already done!*)

Attached SS shows a few examples of us including some local transport update / Twitter feeds via iframes![iframeconfluence.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/52267i26C90DB583218726/image-size/large?v=v2&px=999 "iframeconfluence.PNG")

The only other thing I could think of is the HTML macro may be disabled; I've never used Confluence with HTML macro disabled, so I'm unsure if this being disabled still lets you insert the macro, but prevents the content rendering.

Hope it helps

(p.s. the page properties macro is just me being a bit lazy \& is not required for HTML (we periodically get issues where the iframes are stopped, and putting in Page Properties lets me simply toggle visibility on / off)

comments: author: Jenny Thompson
body: Thanks you are correct - the HTML macro app doesn't exist on the cloud version.


author: Ryan
body: [@Jenny Thompson](/t5/user/viewprofilepage/user-id/2830825)

There should be a native macro called, "HTML" that will allow you to create a page and then add the macro, which you can then copy and paste HTML / CSS into the macro section and have it render after saving the page.

comments: author: Ryan
body: ![2019-04-18 10_13_30-Manage apps - Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/51980iEF212A84F8979F2F/image-size/large?v=v2&px=999 "2019-04-18 10_13_30-Manage apps - Confluence.png")


author: Jenny Thompson
body: thanks i tried that but it wont render could you paste an example so i can see

thanks


author: Pavlos Polianidis
body: An easy approached that worked for me is to insert a "markup" widget, use the Markdown format and paste HTML contents there.


Tags: cloud

confluence-cloud
Can I set colour palettes in confluence like Atlassian.design
Asked by Xavier Palma:

Hi,

I am a new user of Confluence and I couldn't find if there is a way to create colour palettes.  

Do you guys know if there is a way of doing something similar to <https://atlassian.design/guidelines/brand/color>?

Thanks in advance


Answers:
author: Diego
body: Hello there!

Hey Xavier, thanks for sharing with the Community. The page you linked us to is part of the Atlassian Design Guidelines. Here is the root page for that:

**[Design, develop, and deliver](https://atlassian.design/)**

As of today, Confluence Cloud does not support theming natively. As seen here:

**[Atlassian Cloud vs Server - Functional Differences](https://confluence.atlassian.com/cloudkb/atlassian-cloud-vs-server-features-and-use-cases-691011844.html#AtlassianCloudvs.server:featuresandusecases-Additionalconsiderations)**

**Excerpt from the page**
>
> * **Confluence themes:** On Atlassian Cloud, Confluence uses a custom theme, which cannot be modified or updated using custom HTML. For more information on custom themes in Confluence Cloud, refer to [Working with Themes](https://confluence.atlassian.com/confcloud/working-with-themes-724765503.html).
>
We could, however, install a third-party application that deals with theming. Such as:

**[Refined Spaces for Confluence Cloud](https://marketplace.atlassian.com/apps/1216056/refined-spaces-for-confluence-cloud?hosting=cloud&tab=overview)**

For short, the native theme of Confluence does not support customization, thus, no color palette can be applied to it.

Looking forward to your reply Xavier!


Tags: cloud

confluence-cloud
Windows cannot open file, "Atlassian Companion: 1555593614". Please advise how to install the app.
Asked by Liz Thompson:

Downloaded Windows version of Companion app installation and received a message that Windows cannot open the file. Is there a program or something else I need to download in order to install the companion application?


Answers:
author: Marc Wampfler
body: I have the same error.

If I check the given folder/filelocation, the file exists...


author: Diego
body: Hello there!

Liz, as I understand, you need to install the Companion app but Windows throws an error when you try to do so. Is that correct?

You could try the Windows .msi installer, as explained here:

**[Install the Companion app via Microsoft Installer (MSI)](https://confluence.atlassian.com/doc/administering-the-atlassian-companion-app-958456281.html#AdministeringtheAtlassianCompanionApp-InstalltheCompanionappviaMicrosoftInstaller(MSI))**

Further, if you are not the system admin, you might need to ask for your IT personnel to install it for you. Also, you need to take note that the Companion App does not work as intended in session based virtual desktops, as seen here:

**[CONFSERVER-56302](https://jira.atlassian.com/browse/CONFSERVER-56302)**

One more thing, could you clarify if the error that Windows throws is exactly the one at the title:

* Windows cannot open file, "Atlassian Companion: 1555593614".

If windows is not able to open the file, we could try to re-download the file to try and exclude a corrupt file as root cause of this.

Before I forget. Were you able to try and install the Companion in another Computer other than the affected one?

Looking forward to your reply Liz!


Tags: confluence-server

server
How can I upload a attachment via REST API, after a deleting it via REST API?
Asked by antony terrence:

After I delete an attachment via REST API, when I upload the same attachment via API, the request is successful - I get a 200 response code. However, there is no data in the attachment and it cannot be previewed. Any any idea why this is happening?

```

def upload_image(file, fb, parentID, url, data, auth, files, headers):
print("hello")
r = requests.post(url, data=data, auth=auth, files=files, headers=headers)
if r==200:
return r
elif r.status_code==400:
print("the image exists. updating the image")
imgid, version = get_attachment_id(file, parentID)
urld = base+imgid
r2 = requests.delete(urld, auth=auth)
r2 = upload_image(file, fb, parentID, url, data, auth, files, headers)
return r2
```

the attachments on the page:

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


Answers:
author: Diego
body: Hello there!

As I understand, attachment upload is not working as expected with your Confluence instance.Is that correct Antony?

Thanks for sharing part of your code with us! However, we still need to look into the cURL string you are sending to Connie. It should look like this:

```
curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F "file=@myfile.txt" -F "comment=This is my File" http://myhost/rest/api/content/123/child/attachment
```

If you send us your cURL string, be careful not to disclose any sensitive information. Community is an open space and anyone can see it here!

With the limited access we have to your code, it is hard to determine what might be wrongly converted or returned, if that is the root cause.

You can have a deeper look at our create attachment procedure via REST here:

**[REST API - Create attachment](https://docs.atlassian.com/atlassian-confluence/REST/6.5.2/?_ga=2.75714261.1908094307.1555939211-79410561.1553795485#content/{id}/child/attachment-createAttachments)**

Looking forward to your reply Antony!

comments: author: antony terrence
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952) my code for creating the page and uploading images to the page works fine. I also figured out how to update the attachments. However, I do not want to keep updating the attachments since that creates multiple versions of each attachment. So in my code, I check if a particular attachment exists. If it exists, I delete the attachment and then try to upload the updated attachment. After I delete the attachment, my code for creating the attachment works. However, as shown in the image, the attachment files lose data and cannot be previewed - after deleting the attachment, when I upload the attachment their size is 0.0 kb.


author: antony terrence
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952) I kind of solved this with the highlighted line. Thank you for your help.![resolved.png](https://community.atlassian.com/t5/image/serverpage/image-id/52327i814A24EE3B329E7C/image-size/large?v=v2&px=999 "resolved.png")


Tags: api
Person does not show up, so I am unable to add the person to our space
Asked by Louis Kim:

I have recently created a confluence space, and I was able to add all people but just one.

The person has an account just like everyone else, but the account just never shows up, so I am unable to add the person.


Answers:
author: Kurt Klinner
body: [@Louis Kim](/t5/user/viewprofilepage/user-id/3059152)

Hi Louis

where are the confluence user accounts maintained, directly in confluence or have you another system? Is the user that you can not add to your space, member of the needed user groups e.g. confluence-users?

Cheers

Kurt


Tags: cloud
Is it possible to expand a whole row in a table?
Asked by Rainie Green:

Hello all,

I find it quite difficult to do it and I am not sure if it's possible to do.

I have a table like:

header: Region \| Country \| abc \| xyx

row 1: EU \| France \| ... \| ...

row 2: EU \| UK \| ...

row 3: Asia \| Malaysia \| ...

row 4 Asia \| Japan

What I want is when I click on "EU" it can expand to more 2 row of France and UK... and when I click on Asia, it can expand to another 2 rows of Malaysia and Japan.

As I must put the data in a table, it's quite difficult for me to find another solutions.

I am just starting to use Confluence. Thanks for reading and sorry for my stupid question.


Answers:
author: Scott Theus
body: Hi [@Rainie Green](/t5/user/viewprofilepage/user-id/3058955) ,

My only thought on how to do this out of the box is to create separate tables for each set (e.g. a table for EU entries, a table for Asia entries, etc.) and use the "[Expand" macro](https://confluence.atlassian.com/doc/expand-macro-223222352.html) to expand/collapse each section for the individual tables. It would look something like this when expanded:

**Europe**(Collapse)

header: Country \| abc \| xyx

row 1: France \| ... \| ...

row 2: UK \| ...

**Asia**(Collapse)

row 1: Malaysia \| ...

row 2 Japan

And like this when collapsed:

**Europe** (Expand)

**Asia** (Expand)

Or...

**Europe** (Expand)

**Asia**(Collapse)

row 1: Malaysia \| ...

row 2 Japan

Hope this helps...If co could you click the "This Helped Me" button so others could find it easily?

-Scott

(BTW...There are no stupid questions, especially here! The Community was instrumental in helping me learn Jira and Confluence, and we all have to start somewhere. Case in point, I didn't know whether collapsing rows in tables was possible or not, your question prompted me to figure out a way to do it so I leaned something today too.)


author: Andy - PTC Redundant
body: It can be coded... but sadly I'm not a programmer so I don't know how :(


Tags: confluence-server

server
Email Notifications for changes in Blogposts
Asked by Hermes:

Hi there,

we updated Confluence Cloud from 5.8 to 6.10 recently. Since than we don't get notifications anymore on changes at blogposts we are watching. It is only about changes, when there is a blogpost created notifications work.

The checkbox "Notify watchers" is checked, of course.

Does anyone of you have an idea what the problem is?

Thank you in advance!

Cheers

Kathrin


Answers:
author: Diego
body: Hello there Hermes!

Thanks for reaching out. As I understand, you are having problems with email notifications from Blogposts, is that correct?

I have tried the procedure on my local Confluence instance and it performed as expected. When content was changed in a blog post and the user was watching the content the user was notified via email.

It took a little longer than expected (about 5 minutes). With this in mind, I would like to clarify some points. Here they are:
> 1. Are all users affected by this?
> 2. Is this affecting newly created blog posts?
> 3. Is this affecting already existing blog posts?

Further, by default, Confluence will not send one email per edit within a window of 10 minutes. For example:
> 1. Blog post is created
> 2. Notification is sent
> 3. Edit number one is made
> 4. Edit number two is made
> 5. One notification is sent for both edits
> 6. Edit number three is made
> 7. Notification is sent
> 8. No new edit is made
> 9. One email is sent solely for the third edit

So, if many changes are applied within a short amount of time they will be sent within the same email. You can check more information about this behaviour here:

**[Email Notifications - Confluence Server](https://confluence.atlassian.com/display/DOC/Email+Notifications)**

Looking forward to your reply Hermes!

comments: author: Hermes
body: Hi Diego,

thank you so much for your answer!

Well, let's see:

* *Are all users affected by this?* Yes, they are. But we are focussing on one special team, they use changes in blogposts as information about progress in some topics
* *Is this affecting newly created blog posts? OR Is this affecting already existing blog posts?* Both, when you change them there is no email to anybody (except yourself, when you activated that option), no matter if the blogpost has been created before or after the update to 6.10

We tried it with different blogposts. To give you one example: The Blogpost has been created on monday, the Author changed it on tuesday. I am watching the whole blog and this special blogpost (like some colleagues) - no notification.

But: Thank you for the link! We don't have the "Show changed content" option to choose in our confluence. That might be the problem and I have a starting point now :)


Tags: blog

confluence-server

email

notification

server
AWS, JSESSION Cookie
Asked by C_ Derek Fields:

I have installed Confluence on an AWS server running Ubuntu. I can get to the Login screen, but I can't login. I have verified that my login and password are correct. The log error message indicates and my browser confirms that the problem is that I am not receiving the JESSION cookie, so Confluence thinks that my login is anonymous.

I am not an AWS expert. I assume that there must be a setting somewhere in AWS that will allow the JSESSION cookie to be communicated. Any help is greatly appreciated.


Answers:
author: Stephen Sifers
body: Hello Derek,

You're described issue looks to be a problem with the configuration of the AWS load balancer servicing Confluence. While you're using Confluence server, the load balancer will still apply (Mainly designed for Confluence Data Center). We have multiple guides which help to ensure you're configuring AWS to work with Confluence. These guides may be found at:

* [Running Confluence Data Center in AWS](https://confluence.atlassian.com/doc/running-confluence-data-center-in-aws-879956085.html)
* [Load balancer configuration options](https://confluence.atlassian.com/enterprise/load-balancer-configuration-options-935383760.html)
* [Jira Data Center Load Balancer examples](https://confluence.atlassian.com/enterprise/jira-data-center-load-balancer-examples-781200827.html) (This one state Jira but the concept can be applied to Confluence)

The last article linked above should give some insight and point you in the right direction for allowing sticky sessions within AWS.

I hope this proves helpful and you're able to get logged into Confluence soon!

Regards,  
Stephen Sifers


Tags: atl-adm

aws

confluence-server

server