youngmon/atlassian-qna huggingface dataset:
Problems with memory leak in confluence. Constantly increasing resource consumption.
Asked by Arthur Foss:

We have a server of confluence 6.4.2. After some time of work (about a month, maybe more), it starts to slow down, not respond when trying to open pages, logs contain OutOfMemoryErrors. After restart all is well.

We installed javamelody to collect statistics and saw that some systems and resources are constantly increasing.

Does everyone have this problem, or only some? What should I do to avoid restarting?

These some statistics that looks not normal in my opinion:

Swap space grows rather fast ![swap.png](/t5/image/serverpage/image-id/33594i4AD99C97DC6AC497/image-size/large?v=v2&px=999 "swap.png")

CPU load increases over time

![cpu.png](/t5/image/serverpage/image-id/33595i31B2DECCB2F29F2E/image-size/large?v=v2&px=999 "cpu.png")Some other diagrams

![1.png](/t5/image/serverpage/image-id/33597i5B9E7B06461FE611/image-size/large?v=v2&px=999 "1.png")![2.png](/t5/image/serverpage/image-id/33598i9EE31B018836350A/image-size/large?v=v2&px=999 "2.png")![3.png](/t5/image/serverpage/image-id/33599iE072919BB3BFBB28/image-size/large?v=v2&px=999 "3.png")![4.png](/t5/image/serverpage/image-id/33600i497E4290144B045D/image-size/large?v=v2&px=999 "4.png")

Information about our confluence

|--------------------------------|---------|
| **Confluence Usage**           |
| **Total Spaces**               | 1433    |
| **Content (All Versions)**     | 3496040 |
| **Content (Current Versions)** | 366249  |
| **Local Users**                | 14720   |
| **Local Groups**               | 1944    |

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

Add-ons (user-installed)

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


Answers:
author: kennyngkk
body: Hi Artyom,

**Explanation**

After going through the information provided, I have a theory on what this happen

There are currently something in your environment is eating up all the ram/or you might not have enough memory, to begin with. From the look at the print screen above, it looks like Confluence is set with xms 1g and xmx to 8g.

From the look at the swap memory chart. It looks like something is total wrong with your physical memory. For more information on swap memory, please have a look at the page below.

* <https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-swap-what-is.html>

From my past experience with the amount of space and users, 1g memory is not enough to support Confluence environment and this will cause constant garbage collection.

**Next Step**

1. Make sure that your system has enough physical memory to support all the software
2. Change the setenv.sh Xms1g to Xms4g to ensure that Confluence has priority over the amount of ram when Confluence is the start of Confluence


Tags: confluence-server

server
No polish characters when export to PDF
Asked by Tomasz Bry?a:

Hi,

I have problem with exporting Confluence Site to PDF. Document is exporting with no polish characters like ?????. I try fix this problem like there <https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html>  
I install OpenSans-Regular font to confluence and change font in PDF Stylesheet  
body {  
font-family: "OpenSans-Regular";  
}  
But i still don't have polish characters when I export file to PDF.


Answers:
author: witczakprzemysaw
body: Hi, I have same issiue..

I installed custom font in Confluence, like [@Scott Theus](/t5/user/viewprofilepage/user-id/1179712) said: "PDF Export Language Support",

but when I export space to pdf... tables, cells and headers are in default Times New Roman without polish chars..

How to set it in pdf export style sheet?

comments: author: Kaja Bryl
body: [@witczakprzemysaw](/t5/user/viewprofilepage/user-id/4475377) Try my solution - in the comment above.


author: Kaja Bryl
body: Try this: <https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html>

Worked like a charm for me.


author: Scott Theus
body: Hi [@Tomasz Bry?a](/t5/user/viewprofilepage/user-id/1423734), can you tell me what version of Confluence you are using?

-Scott

comments: author: Tomasz Bry?a
body: Hi [@Scott Theus](/t5/user/viewprofilepage/user-id/1179712) my version of Confuence is 6.5.1


author: Scott Theus
body: Thanks [@Tomasz Bry?a](/t5/user/viewprofilepage/user-id/1423734)

I'm assuming you installed the font via PDF Export Language Support under the General Configurations from the Site-Administrator section of Confluence? (Screen shot below)

Also, instead of OpenSans, try using Unicode for Veranda. That's the recommended font in the workaround.

-Scott

![Font.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/33612iF185C2CB6DB2E3F1/image-size/large?v=v2&px=999 "Font.JPG")


author: Tomasz Bry?a
body: [@Scott Theus](/t5/user/viewprofilepage/user-id/1179712) I was try a Veranda, but still doesn't work.


author: Szymon Sobczak
body: For anyone stumbling upon this in the future, the correct CSS syntax is:

```
@page {  
   font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;  
}  
```


Tags: export

pdf
how to export in PDF in "italian style" ?
Asked by Consulente Atlassian:

I do not know if they've ever noticed atlassian, but when I generate a confluence page with a jira macro that works on a jira filter that creates a list of key, summary and description, the final column truncates the content of the description if I try to print the page in PDF with the function to export to PDF in Confluence. Can anyone tell me if there is a way to produce contents of page confluence in PDF or even to export in test format, in a more elegant way?

ah of course, if someone asks why I wrote Italian style means that in general in Italy we can appreciate the simplicity and elegance ... and that's why I, as an Italian, I just can not understand why in Atlassian you do not realized that an export that truncates content is not a useful function.


Answers:
author: Shannon S
body: Hi Kalos,

There are several bugs at the moment that cause tables and macros in PDF export to be cut off. This is not intended behavior.

Can you let me know exactly how your Jira issues macro is being used so I can track down the exact bug for you to follow? Is the Jira issues macro contained within a table or outside of a table? Does it happen with every Jira issues macro, or only ones over a certain size?

Lastly, can you let us know what version of Confluence you're using?

Regards,

Shannon
Is it possible to find out that which project is using which add-on in Jira??
Asked by Gunjan Yadav:

Is it possible to find out which add-on is being used by which porject in Jira?


Answers:
author: Dave Bosman [Realdolmen]
body: Hi [@Gunjan Yadav](/t5/user/viewprofilepage/user-id/1985131)

Unfortunately there is no easy way.

This question has been answered in multiple topics already.

And i think you can find a good solution in this one.

[https://community.atlassian.com/t5/Jira-questions/Easy-way-to-find-what-projects-are-using-a-plugin/qaq-p/38232](https://community.atlassian.com/t5/Jira-questions/Easy-way-to-find-what-projects-are-using-a-plugin/qaq-p/38232?)

But as i said, it will not be easy.

Regards

Dave

comments: author: Gunjan Yadav
body: Thanks a lot Dave for such a quick response!


author: Gunjan Yadav
body: Hi Dave! Unfortunately the link you provided isn't working :( thank you for your reply though. Is there any way to track the usage of plug-in??


Tags: confluence-server

jira

server
How can we find out the Jira links available in confluence page in order to replace it with updated
Asked by Gunjan Yadav:

How can we find out the Jira links available in confluence page inoder to replace with the updated one?


Answers:
author: Gunjan Yadav
body: Hi Daniel,

Thank you so much for your reply.

Yes! you are absolutely right. We have migrated confluence and JIRA to azure server and that's why we want to replace the old links of JIRA with the new one in new confluence.

comments: author: AhmadDanial
body: Hello, Gunjan.

You are most welcome. So, there is no direct way to do this from the UI but you can replace the links according to the following Confluence KB via XML export, usage of sed, and reimport again:

* [How Do I replace all 'hard' links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html)

**IMPORTANT**: Take note that the example provided in the KB refers to the Confluence URL. Make the changes accordingly to the sed command to apply changes to JIRA URL instead.

I highly suggest you to try it out on a staging instance first before implementing it on the production server.


author: Gunjan Yadav
body: Hi Danial,

Thanks a lot for your valuable inputs. Looks like in my project, it is really not possible to execute as per the KB provided(XML export,usage of sed, and reimport again) so it would be really grateful if you could suggest us any alternative solution. Thank you so much for your support.

Regards,

Gunjan


author: AhmadDanial
body: Hi, Gunjan.

You are welcome. How about the alternative of using the WebDAV as mentioned in the KB as well?
> Use the [WebDAV plugin](http://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence) and mount the WebDAV location locally, then run a script that uses `sed `to replace all of the Old Base URLs. This option will not replace content in historical pages, and will create a new page version for all pages that are changed (this includes any page versions that are crawled and edited).

Apart from sed (for text transformation), I can't think of any other methods for now. Let us gather for more feedbacks from other users who might have a better workaround to this.


author: AhmadDanial
body: Hi, Gunjan.

Before we look into this matter further, may I know the context of replacing the JIRA links with a different value? The first thing that comes through my mind is the fact that the original JIRA was moved from one server to another, causing the old URL to be invalid and you want to have it updated to reflect the new one. May I know if that is the case?


Tags: confluence-server

server
How can I insert headers on each page into a document when exporting to pdf?
Asked by Catherine:

Hello!

I am trying to insert headers with confidential notice by default (without pasting this headers in every document).

How can I insert headers on each page into my documents when exporting to pdf any of them?


Answers:
author: Tobias Anstett _K15t_
body: Hi Catherine,

I try to answer your question for both the default Confluence PDF export functionality and also for the Scroll PDF Exporter app from the Atlassian Marketplace.

For the default Confluence PDF Export the following docs describe how to add a header (or footer) to you single page PDF exports \> [https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html#AdvancedPDFExportCustomizations-headerfooter](https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html#AdvancedPDFExportCustomizations-headerfooter?)

For Scroll PDF Export you can use the template designer to do this easily. Furthermore it allows you to distinguish between different templates. Docs on using the template editor can be found here \> [https://help.k15t.com/scroll-pdf-exporter/latest/customize-document-sections-147034016.html](https://help.k15t.com/scroll-pdf-exporter/latest/customize-document-sections-147034016.html?)

Best, Tobias

comments: author: Catherine
body: Hello, Tobias,

thank you for your answer. It was very useful! I've done headers!

Best, Catherine


Tags: header
Is it possible to restore the profile and data of an old, possibly deleted, user?
Asked by Alex Ward:

I am currently searching for the profile of an old confluence user, whose files and data I need to access, but it seems that the profile was 'lost/disappeared' when he left the department. So three years worth of work which was logged on confluence can no longer be accessed.

Can old data/files/profiles be restored once the profile/name is now recognised as an 'Unknown user'?

Any help would be greatly appreciated! Thank you all!


Answers:
author: Davin Studer
body: If you have backups you might be able to restore the backup to another Confluence install (possibly a development server or even a 30 day trial would work) and then export the data.


author: Nic Brough -Adaptavist-
body: I am sorry, but no. If you delete someone, there's no records to hang on to, other than they amended stuff (and that is showing that an unkown user did it, because you no longer have any information for them)

comments: author: Alex Ward
body: Thanks for your answer Nic. That is a shame.


Tags: profile

restore
Two Panel Expand section
Asked by Karin:

In Confluence, I'd like to create an Expandable section that contains two panels containing some tables. I create a section with two even columns and added an Expand macro to one, but I really want both columns to expand/collapse together.

Any clues?

Thanks


Answers:
author: roman
body: Karin,

would something like this work for you?

![Screenshot 2018-09-28 at 09.00.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/33566i18B1E2615C63CF6E/image-size/large?v=v2&px=999 "Screenshot 2018-09-28 at 09.00.49.png")

Roman.

comments: author: Karin
body: Hi Roman, so far that's all I've been able to do is exactly what you've suggested. I was hoping to have the Panels be side by side in the Expand Section.

Thanks!

Karin


author: roman
body: Hi Karin,

you could try wrapping panel macros with Column and Section macros:

![Screenshot 2018-09-28 at 19.38.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/33624i72AB7B090A3F485A/image-size/large?v=v2&px=999 "Screenshot 2018-09-28 at 19.38.50.png")

This would look like this when a page is saved:

![Screenshot 2018-09-28 at 19.40.37.png](https://community.atlassian.com/t5/image/serverpage/image-id/33625i5DF4C49FDA170949/image-size/large?v=v2&px=999 "Screenshot 2018-09-28 at 19.40.37.png")Does this look like something you want?

Roman.


author: Karin
body: Woohoo!! thanks so much Roman!!


Tags: confluence-cloud

expand

macro
Confluence decision log gadget/tracker for jira dashboard
Asked by Farshad Raisi:

My team has a decision log on our confluence page and we would like to be able to track our decisions on our project's dashboard on jira. Is there a way to present some stats on the decisions i.e. number of open decisions, registry dates, decisions made status on jira?


Answers:
author: Kris G _Alacriz_
body: Hi [@Farshad Raisi](/t5/user/viewprofilepage/user-id/2045837)-

Unfortunately, you cannot show Confluence tasks in Jira directly. Since Jira is a task/ticket/issue based application, anything that you want to show in Jira has to be a Jira ticket/issue.

That means, for you to show your Confluence tasks as Jira tickets, it is advisable to open Jira tickets for every Confluence task on the decision page. This can be done easily by clicking on Jira Issue/Filter (under '+' sign on the menu) from the Confluence page. Once you create the Jira issue, you can start updating it and also create a filter if needed.

These tickets can then be tracked in Jira directly using a filter or dashboard. I hope that helps.

best,  
Kris G


Tags: confluence-server

jira

jira-server

server
multi-level download
Asked by Gaetano Colosi:

Hi,

I am creating hierarchical projects in Confluence. Child pages are referenced via links from the parent page. Most pages hold some files as attachments.

My question:

I am aware you can download all attachments from a page. What I would like is to be able to download all attachments from a hierarchical tree structure. Eg. Go to a parent page and say download all and everything attached on that page and all child pages are downloaded. Is that possible?


Answers:
author: Merle Fischer
body: Hi Gaetano,

out of the box, this basically doesn't work. If you want that feature it's best to work the other way around. Have one page that stores all attachments, and in the subpages, don't add attaachments at all but add childpages, that have their attachment macro set to use the parent page as a source for attaachments and just use labels of attachments as filters set on the suppages to limit the display down to what you need, also untick the box that gives users the option to upload files on the subpages (they'll still be able to do it technically , but it'll be less inviting to do so...). This does however mean, users have to add attachments to the central storage page and use the correct labels so that childpages are able to display the correct attachments.  
Not the ideal way, but depending on what your overall goal is here, this is a way that you could make this work.

Hope this helps a little bit.

Cheers

Merle

comments: author: Gaetano Colosi
body: Hi Merle,

Thank you for the reply. Yes that may give us what we need. The structure of our projects is still being worked on. I will try that suggestion on a few dummy pages to see how suitable it is. Thank you for the suggestion.

Gaetano


author: Merle Fischer
body: Hope it helps and gets you what you need ;). Best of luck.


Tags: confluence-server

server
CSS @import Not Working
Asked by Charisma Riley:

I'm not sure if anyone else is experiencing this, but for me (and we are only using the default template with no other styling that cascade over the docs I'm working on) the command:

```
@import url("navigation.css"); 
```

is not working when placed in the the style macro for the page.

Any thoughts?

Thanks!


Answers:
author: Charisma Riley
body: Okay so this doesn't make much sense, but it works if you use the IMPORT inside the STYLE macro's properties, only. I'm guessing this also means I will need to put a single import in multiple STYLE macros. So weird.

comments: author: Charisma Riley
body: That ended up breaking, too. Which is when I found out all the stylization macros were being deprecated and that @import not working was a known issue.


Tags: cloud

confluence-cloud
Is this a bug?
Asked by Wendy Emerman:

From Atlassian documentation, the definition of Site-Admin is this:

*Site-admins are the users who manage a site. The following permissions are currently available to site-admins:*

* *All permissions assigned to the 'administrators' group for the product(s) you have*

As an administrator (user is only a member of this group), the page-watch icon of any page has a "manage watchers" function.

As a site-admin (user is only a member of this group) the "manage watchers" function is not available on any page.

Is this a bug?

If this is a bug, is there any way to check for other functions that are mis-assigned?


Answers:
author: Wendy Emerman
body: Thank you so much [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) and [@Scott Theus](/t5/user/viewprofilepage/user-id/1179712). Your thoughtful answers led me to my answer. The "Administrators" group has "Admin" permission in the space I was accessing. The "Site-Admins" group is not even assigned to the space, so, in essence, I was just a Confluence-user.

So, the Atlassian documentation should definitely make this more clear! For anyone reading this, here are my tips:

1. Space permission (checks) must be set, per space, for administrator and site-admin groups. In particular the **admin** permission!
2. It's very unintuitive that the add/delete restrictions permission is separate from the admin permission.
3. It's very unintuitive that users with space admin permission are restricted from restricted pages, and must be granted permission, per restricted page.
4. Under Global Permissions, the "system-administrators" user group is reserved for use by Atlassian support staff to provide support and maintenance tasks. You can't edit these groups or add users to them.


author: Scott Theus
body: Hi [@Wendy Emerman](/t5/user/viewprofilepage/user-id/323800),

No, I don't think this is a bug....but the documentation is misleading. There is a distinction between the *site* administrator and the *space*administrator. While the site admin has the ability to manage the overall site (user setup, billing, etc.) the space administrator controls the restrictions within the space. The site admin does not automatically have access to every thing across the board, that user would also need to to be part of the administrator group for the space.

There is a lengthy discussion on something similar here:

<https://community.atlassian.com/t5/Confluence-questions/Why-would-a-full-admin-in-confluence-be-unable-to-see-a-page-due/qaq-p/332529>

Of course, I could be misinterpreting the documentation. [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454), what do you think?

-Scott

comments: author: Nic Brough -Adaptavist-
body: I'm with you [@Scott Theus](/t5/user/viewprofilepage/user-id/1179712) - the doc kind of says it, but in a very unclear way. If I were a new admin, I'd struggle to extract that info.


Tags: cloud

confluence-cloud
Notifications of Atlassian changes
Asked by Wendy Emerman:

Does one of these email options provide me with notices when Atlassian makes UI changes to Confluence?

* Atlassian Product Information (tips, tricks, and best practices)
* Newsletters (Confluence insiders)
* Developer Ecosystem Newsletter
* Confluence Tech Alerts


Answers:
author: Shawn C
body: Hi Wendy,

Our Product Managers update the Cloud [What's New Blog](https://confluence.atlassian.com/cloud/blog) with the new Features and Functions that are being made to the Atlassian Cloud products and services.

If you'd like to receive updates, please click on the Watch button to add yourself as a watcher.

Cheers,  
Shawn

comments: author: Wendy Emerman
body: Thanks again, Shawn!


Tags: cloud

confluence-cloud
Confluence as a Knowledge Base
Asked by Nick Waldron:

Hi there,

I'm currently deciding what tool to use for a corporate knowledge base. Immediately it would be for Help Desk and Customer Service teams. With the thought of using Watson technology in the near future, I want to have a repository of centralized information. Is confluence a good candidate for this?


Answers:
author: Shawn C
body: Hi Nick,

Many Customers utilize Confluence to be their Knowledge Base repository for their Teams and Customers either as a standalone application or integrated with Jira Service Desk.

These articles should help to get you to start using Confluence as a standalone [Knowledge Base](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765471) and/or link it with [Jira Service Desk](https://confluence.atlassian.com/pages/viewpage.action?pageId=957150219) to service your Customers.

If you have any other questions about setting up Confluence, please let me know.

Cheers,  
Shawn


Tags: cloud

confluence-cloud
Show different content by user
Asked by ricardolpinheiro:

I would like to know if possible, I am developing a confluence plugin/macro  
the user's email logged in and execute a request to a service  
to collect report data for your user, what would be the best way?  
Anyone have any questions or open project for me to consult?


Answers:
author: Shannon S
body: Hi Ricardo,

My recommendation would be to reach out to the [developer community](https://community.developer.atlassian.com) as they may have a better suggestion for you.

Let me know if you have any trouble reaching out there.

Regards,

Shannon


Tags: atl-dev

developer