youngmon/atlassian-qna huggingface dataset:
Confluence install on RHEL 7 gets ERR_CONNECTION_RESET for bootstrap page
Asked by robert_w1_smith:

I have a vanilla install of Confluence 6.5 on a RHEL 7 server. The install completes normally. I am installing into a non-standard directory (/apps/atlassian). The only obvious error is in atlassian-confluence.log and is:

2019-09-04 09:09:10,880 **FATAL** \[localhost-startStop-3\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set

The file line of atlassian-confluence.log is:

2019-09-04 09:09:21,638 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] init Confluence is ready to serve

I found the [webpage](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html) about that error and tried the relevant fixes without any success. Note - all of the permissions were correct.

Problem Symptoms:

When trying to reach the installation webpage <http://a.b.c.d:8090> it redirects to [http://a.b.c.d:8090/bootstrap/selectsetupstep.action](http://csc2cxn00002206.cloud.kp.org:8090/bootstrap/selectsetupstep.action)

The problem is that the web browser says ERR_CONNECTION_RESET and will not load the bootstrap page.

I'm trying to install 6.5 as I'm trying to prepare for a move of an existing Windows Confluence server and will upgrade to the current version after the application is moved. The way the servers at my org come provisioned applications must be installed under /apps.

Any help in fixing this will be greatly appreciated.


Answers:
author: robert_w1_smith
body: I found the cause of the page resets and it was due to an internal firewall.

Still don't know if the FATAL error in atlassian-confluence.log is something to worry about or not.

comments: author: Daniel Eads
body: Hey Robert,

Glad you were able to sort out the firewall issues.

The specific error you noted in the logs ("Spring Application context has not been set") is pretty common in Confluence log files. There are unfortunately a number of possible sources - [we've got a KB article here describing the line and possible resolutions](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html). If your Confluence instance seems to be working fine after patching up the firewall though, I wouldn't worry too much about the message.

Cheers,  
Daniel


Tags: confluence-server

server
Atlassian: Explain to me how you think this year's price increase is in anyway 'fair'
Asked by Luke Johnson:

For Confluence, 10,000 users is now double 2,000 yet you offer **nothing** in between.

You still don't offer any other types of user licenses, so those who saw value in the large licensing count when dealing with named end users who may only have 'read-only' access (e.g. customers) are hit badly.

Also remember that your pricing is USD. Come to my country (Do you even remember Australia?) and buy at 0.6 USD exchange rate.

You mention that "existing licenses will receive a moderate increase at their annual renewals to help ease into our new prices" - Okay, but you are only giving away next year's price. Surely you have planned out the YoY renewal increase. What's 2021's renewal price?

By the way, I'm one those orgs I mentioned above. I was looking at buying 2001-10000 user license shortly. If I don't buy (or at least have a quote) before Oct 3, the price is nearly 300%... But hey, a month's notice should be okay.


Answers:
author: Brian
body: So, that was last year - what do you think of 2021 increases then ;) !!  
I wonder if someone hired some leftover sales personnel from other industry giants, with their heads full of revenue boost techniques . . .


Tags: atl-anon

atl-cp20

bitbucket

jira

jira-service-desk
Can I programmatically create a draw.io diagram in Confluence page?
Asked by Martin Dor?:

Hi,

What I have for now : Confluence Cloud with the draw.io plugin.

What I try to achieve : I have a devops (CI/CD) pipeline that is working pretty well, but I want to document automatically the architecture of the application.

What I tried so far : I use the API rest of Confluence to create a new page and everything is working well. I also succeeded to create a CSV file that could be imported easily to create a diagram. I used a C# console application that I want to launch from my pipeline (this part is easy).

What is not working :

1. Creation of the draw.io macro (the html is so cryptic for this macro)...
2. Automation of the javascript sequence to use the CSV feature : Menu Arrange/Insert/Advanced/CSV... and the copy of the CSV in the textbox. I\<m still thinking to use Selenium to automate the process. But I'm affraid that something will break in a future version...

Someone has an idea? Could I use an API or something else to achieve my goal?

Thank you!


Answers:
author: David Benson _draw_io_
body: The format for the draw.io macro is Atlassian defined, but I think it's fairly standard for all macros. There's an ID in the macro, but I would try generating it without that parameter. If you create a drawio macro, it should be possible to reverse engineer it from the storage format of that page.

The second part we don't currently have, you would need to vote for <https://trello.com/c/utXS2QU1/80-add-import-from-csv-directly-from-macro>


author: dcx45
body: Yes you can, see this example that deals with the encoding etc. <https://github.com/GanizaniSitara/drawio>

comments: author: Martin Dor?
body: Thank you! As soon as I have time, I will give it a try...


author: Manish
body: [@dcx45](/t5/user/viewprofilepage/user-id/4917111) Hi, Thanks for sharing your code but could you please share you data file template too (csv data template).


Tags: cloud

confluence-cloud

draw.io
what maximum amount of data that can be captured in one confluence page
Asked by eshwarp:

Hi Team,

Can you we place or insert 400 pages data(PDF document ) into a single confluence page at the global template level .

Thanks,

Prabhu Kumar


Answers:
author: DPKJ
body: The limit is \~ 2GB for newer version of confluence server. But please don't go there, it will be huge performance penalty. <https://jira.atlassian.com/browse/CONFSERVER-12773>

Try to split data in multiple pages in single space or page hierarchy.

comments: author: eshwarp
body: Thank you for sharing me the Info \& link


author: Ismael Jimoh
body: Hi [@eshwarp](/t5/user/viewprofilepage/user-id/3518907)

May I ask what you mean by adding into the global template level? Do you mean you want this attachment shown on all pages created?

If yes, you'll need to watch out for performance impacts because though Confluence does not have a known page limit to my knowledge, loading really large pages would require more resources.

Cheers.

comments: author: eshwarp
body: For our project requirement , we have a draft a document of 20 pages . we would like to use the confluence for our document purpose . So i planned to create a template at global level which captures the 20 pages information . Going further this document will be extended to 400 pages or more .

I agree to your statement , my performance will be reduced while exporting the document .

Just i would like to know what is maximum amount of data that can be inserted in one confluence page ?
How to change from GeneralUtil to HtmlUtil in velocity templates?
Asked by Hugo Ingelmo:

I had :

```
$generalUtil.htmlEncode
```

in my code, and now for Confluence 7 we need to change it to:

```
$htmlUtil.htmlEncode
```

But the latter is not working.

Am I missing something? Any import?

I am using Confluence 6.0.6.


Answers:
author: andrea
body: You can add \<velocity-context-item key="htmlUtil" class="com.atlassian.confluence.util.HtmlUtil" context-key="htmlUtil" global="true"\>\</velocity-context-item\> in the config xml


Tags: atl-adm
Personal mentioning doesn`t work
Asked by Andrea Lang:

Hello dear team,

unfortunately I can't mention other users and I can't be mentioned by others either. Could you please check why mentioning doesn't work although I have an active account?

Thanks very much in advance

Andrea Lang


Answers:
author: John Price
body: [@Andrea Lang](/t5/user/viewprofilepage/user-id/3547038) - A user in my Confluence Cloud instance reported this as a new problem today - it has worked in the past. Was it working for you before? We had two symptoms:

1) User can't mention others. In that case, I \*can\* if I impersonate the user, so I'm havin gher trying clearing cache/incognito window.

2) No one can mention her. This is a mystery - she's active and has permissions but her name doesn't show up in the suggestions any more. We are going to submit an Atlassian case.


author: Mihai Schwarz
body: Hi [@Andrea Lang](/t5/user/viewprofilepage/user-id/3547038) to mention people in Confluence they need to have access to Confluence (a user) and have an license attributed (e.g. be in confluence-users group).
How do i modify where Table of Contents anchors to?
Asked by Halvard Meijer:

When Im clicking the links in table of contents it moves the page so the header it referred to is placed at the top of the screen. For me it needs to be placed X px down from the top. How can i achieve this?

Ive made a tiny illustration to show what it does now and what i want it to do.

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


Answers:
author: Halvard Meijer
body: I managed to fix this by adding some css to h2 tags in these pages. Because we are using the same naming convention it makes it easy to just style the h2 tags in the right pages.

h1\[id\*="2019."\]{

padding-top: 70px !important;

margin-top-30px !Important;

}


author: Diego
body: Hello, [@Halvard Meijer](/t5/user/viewprofilepage/user-id/3520086) !  
As I understand, you need to *++customize where the automatic page scrolling++* of our Table of Contents macro stops after you click the link.   
Is that correct?  
If the above is correct, I can tell you that *++this is not currently possible++* . The *++Table of Contents macro relies on IDs++* from the webpage itself to work. Browsers have a *++native function++* to automatically scroll pages depending on the link that directs you there.

The link *<https://yourinstance.net>* will lead you to the ++*start of your page*++ . The link *<https://yourinstance.net#nextelement>* will land you right at the ++*element with id nextelement.*++

As you can see in this screenshot:

![Screen Shot 2019-09-05 at 18.36.18.png](https://community.atlassian.com/t5/image/serverpage/image-id/65328iD32E1A6A50FC6D0C/image-dimensions/575x342?v=v2 "Screen Shot 2019-09-05 at 18.36.18.png")

What the ToC macro does is c*++reate a link that has the #\<elementID\>++* at the end. Even though the macro makes use of the \<elementID\>, the function itself is part of the browser, not Confluence.

Let us hear from you Halvard! Looking forward to your reply.

comments: author: Halvard Meijer
body: Thank you for the reply. The reason for this problem is because i made the header bigger and it made the heading hidden beneth the header.

I managed to fix this by adding some css to h2 tags in these pages. Because we are using the same naming convention it makes it easy to just style the h2 tags in the right pages.

h1\[id\*="2019."\]{

padding-top: 70px !important;

margin-top-30px !Important;

}

((I added this as a response and accepted it as an answer))


author: Diego
body: Hello, Halvard!  
Thank you very much for sharing the solution to this. Having some CSS styling can get us a long way!   
This shared knowledge will probably help more users of our community.

Let us hear from you.


Tags: confluence-server

server
Search reults get highlighted
Asked by Bernadett:

I'm missing a very important feature when it comes to content investigation.

When I search in CONFLUENCE for a text I get redirected to a dedicated search page where I receive a list with search results from several spaces.

What I need is to stay on the actual page and to get only highlighted:

- the results on the actual page

- the pages in the navigation pane on the left where results were identified.


Answers:
author: Inactive Stephen
body: Hi [@Bernadett](/t5/user/viewprofilepage/user-id/3540280)

It sounds like your first need is to just highlight the words you're searching for on one specific page? You can do this using Ctrl+F - either using your web browser's search or the built in functionality in Confluence.

For the second ask - you want to highlight what other pages within a specific Space also have those keywords? There might be some options to do this using CQL or via a more detailed search which doesn't return options from multiple spaces.

Let us know what you need from the second request specifically and happy to help come up with options :)

Ste
User behaviour and page statistics for Confluence
Asked by Simon:

Hello all,

We are using Confluence for internernal FAQ's for several of our departments. Creating, viewing and searching the FAQ's is great, but we haven't really found ways to accurately measure usage and effectiveness.

Is there any way to get hold of statistics? For example:

- See how many views a page gets per period  
- See how many pages a user has viewed  
- See which pages a user has viewed  
- See which searchwords are popular  
- See what a user has searched for

I've found the "Reporting for Confluence" but this doesn't seem to meet the requirements.  

<br />


Answers:
author: Inactive Stephen
body: Hi [@Simon](/t5/user/viewprofilepage/user-id/3541438)

There are a few other analytics options for Confluence:

* [ViewTracker](https://marketplace.atlassian.com/apps/28637/viewtracker-analytics-for-confluence?hosting=server&tab=overview)
* [SpaceAuditor](https://marketplace.atlassian.com/apps/1212030/spaceauditor-system-audit-and-statistics?hosting=server&tab=reviews)

\^ Because you have some specifics in there you might need to look around the different options on apps and see which one works most closely for you.

Ste


Tags: confluence-server

server
Hide categories in Confluence page
Asked by Francesco Casaluce:

Hi All,

I would like to hide categories in Confluence page for all the people that have access on that, except for the confluence admin.

Can you help me,please?


Answers:
author: Francesco Casaluce
body: For everyone that will find the same problem, dont worry. Im sharing a secret with you :)

#if ($userAccessor.hasMembership('confluence-administrators', $[helper.action.remoteUser.name](http://helper.action.remoteuser.name/)))

#else

\<script type="text/javascript"\>

AJS.toInit(function(){

AJS.$('#space-labels-list').hide();

AJS.$('.aui-nav-heading').hide();

});

\</script\>

#end


author: Shannon S
body: Hello Francesco,

Welcome to Atlassian Community. It's nice to meet you.

Are you referring to [Space Categories](https://confluence.atlassian.com/doc/use-labels-to-categorize-spaces-136647.html) in the Space Directory or the labels on the pages?

It depends on your Confluence version, but something like this would require you to modify the Confluence source code directly in order to hide specific sections from your users. If you can let me know your Confluence version and exactly what you want to hide, I can try to find a solution for you.

Regards,

Shannon

comments: author: Francesco Casaluce
body: Hi Shannon,

Yes it was exactly what I was looking for.

Thanks but I found a way to do it.


author: Shannon S
body: You're welcome, Francesco!

Feel free to share the way you found to do it; it might help other users who want to do the same.

Regards,

Shannon


author: Vessie Dracheva
Push Notifications for Team Calendars
Asked by Patrick Tripodi:

Hi there,   

Was wondering if anyone knows a way to get push notifications to work with Team Calendars and using the Confluence app? Currently using Confluence Cloud. We have the emails working fine but would be great if it integrates with the Confluence app as well and pushes a notification if a Who user is added in.  

Thanks,   

Patrick Tripodi


Answers:
author: Shannon S
body: Hello Patrick,

Welcome to Atlassian Community. It's nice to meet you.

Per [Confluence Mobile](https://confluence.atlassian.com/doc/confluence-mobile-284365706.html), Calendar functionality is not available in the app.
> Complex interactions, including those provided by Marketplace apps, such as blueprints, calendars, workflows will not be available in the app.

I'm not aware of any workarounds to send push notifications from this. My suggestion would be to see if there's a way within your company to automatically trigger a push notification some other way, using an automation that checks email for the Calendar email and triggering the notification. It would have to be done outside of Confluence.

Regards,

Shannon


Tags: team-calendars-for-confluence

confluence-cloud
Re: Re: How do I change the font size in the header of a...
Asked by Zach:

How do you change the ++font size++ in a css style sheet? The syntax below is no longer being honored with being upgraded from Confluence 6.6.5 to the Confluence 6.13.4 release.

```
 
```

```
.HomeImage { 
        font-family: "Times New Roman", Times, serif;
        font-size: 10px; border-style: solid;   border-color: #007CBA;     border-width: 2px;        min-width: 160px;        box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.2);        z-index: 1;  padding-top: 5px;   padding-right: 5px;   padding-bottom: 40px;   padding-left: 5px;
}
```


Answers:
author: Daniel Eads
body: Hey Zach,  

I've given the **font-size** property a run on Confluence 6.13 (as well as 7.0 and 6.6). In my test environment, the property was honored across all three versions. Thanks for including your full stylesheet as that let me try some changes with your styles. Here's a screenshot of my test page using your style applied to the **innerCell** class that Confluence uses for many objects:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/66462iB58DBF3752E3ED95/image-dimensions/644x667?v=v2 "image.png")  

Given that the body text (in the table and under the sections like Roadmap and Quick Navigation) responded as expected, I'm wondering if maybe there might be something keeping the changes from applying on your instance:

* The .HomeImage class might not be around anymore on the page you're trying to apply the CSS to - perhaps it was applied with a plugin that's not behaving correctly on 6.13 or had major changes to its behavior
* Another CSS class is applying a different font size that is superseding the changes in your stylesheet

I'll also note that we made some look and feel changes since 6.6 to meet our new design guidelines. Looks like that particular style would address most of them, but depending on the CSS targetting you may just be seeing different system fonts than you're expecting elsewhere on the page.

Cheers,  
Daniel


Tags: confluence-server
CAN'T LOGIN
Asked by Fabrizio_Oldrati:

Hi,

I can login with recovery password procedure.

I have delete connection between JIRA and confluence due a continue disconnection when execute contemporaneous access into JIRA and Confluence with the same user.

I have used JIRA for user management.

Can you help me ?

Best regards

Fabrizio OLDRATI


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Fabrizio_Oldrati](/t5/user/viewprofilepage/user-id/512893) ,

I guess, you are trying both from the same browser. Can you check if you are able to connect to JIRA and Confluence from different browsers at the same time and not experiencing the disconnects?

If the issue is on the same browser, try to clean up the cookies, cache and try. However, if you are still noticing the issue, can you share the errors noticed in the logs for review?

Thanks,

Kiran.


Tags: confluence-server

server
Is exporting as word broken in Confluence?
Asked by Andr?-John Mas:

I am using the cloud version of confluence and attempted to export a document as Word. I then tried opening this as Word, which I could not do. Opening the document in a text editor I see the content is actually formatted as an e-mail, using multipart format with an HTML part.

Is anyone else running into this issue? As a workaround we are exporting as PDF.

An example:

```
Date: Tue, 3 Sep 2019 20:11:39 +0000 (UTC)
Message-ID: <1420492127.261.1567541499134@2be06cdb6d71>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related; 
boundary="----=_Part_260_1779287510.1567541499133"

------=_Part_260_1779287510.1567541499133
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html

<html xmlns:o=3D'urn:schemas-microsoft-com:office:office'
xmlns:w=3D'urn:schemas-microsoft-com:office:word'
xmlns:v=3D'urn:schemas-microsoft-com:vml'
xmlns=3D'urn:w3-org-ns:HTML'>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
">
<title>Export Test Document</title>

<!-- REMOVED THE REST HERE -->

</body>
</html>
------=_Part_260_1779287510.1567541499133--?
```


Answers:
author: Nigel Sim
body: This is a known issue that was reported 8 years ago today. <https://jira.atlassian.com/browse/CONFSERVER-38237>


author: Steffen Hansen
body: Same problem here, Confluence 7.18.3, server version. Any update on this?


Tags: cloud

confluence-cloud
how to create a page with two or three columns?
Asked by Jeffrey Zhang:

Hi,

I want to create a confluence page with two or three columns. But not using Page Layout tool, because the page layout tool creates columns with boarder and fixed width. The page I want to created just like the this Community forum page, the main content are in the left side with wide column, on the right side, I can put the table of contents or links. right side has narrow width. preferable, I can have third column which on the left side with narrow width, so I can put some navigation list there.

How can I do that?

We are using Confluence on cloud and version is here:

### Confluence 1000.0.0-bc3c779894e {#toc-hId-1087362771}

Thanks,

Jeffrey


Answers:
author: Merve Nur Bas
body: Hi Jeffrey.   

I am not familiar with Confluence Cloud so I am not sure whether this helps. But you can try to use the section and column macros, if available in Cloud. Inside the section macro you can add the columns (like one or more) and specify the width in px or %.

In your case you would want to add a section macro and inside this you would add three columns one after another - maybe with 25%, 50% and again 25%.

My best

Merve

comments: author: Jeffrey Zhang
body: Hi Merve,

thanks for your reply.

I checked macros in our Confluence Cloud. Sadly, there are no section and column macros available. I thought this should be some basic features, why don't they put in there?

anyways, thanks for help.

Regards,

Jeffrey


Tags: confluence-cloud