youngmon/atlassian-qna huggingface dataset:
Confluence Data Recovery and Audit Trail
Asked by Carl Johnson:

We have an instance of Confluence we use for our business as a data repository as as storage point for transnational information. We need to be able to retrieve and reconstruct data and the audit log. Do we have to do something additional or is this a built in feature and what limitations are there? How would one go about performing an audit or verifying Atlassian has their run books in place?


Answers:
author: Vero Rivas
body: Hi [@Carl Johnson](/t5/user/viewprofilepage/user-id/1168409)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/bitbucketserver/view-and-configure-the-audit-log-776640417.html>

<https://confluence.atlassian.com/bitbucketserver/data-recovery-and-backups-776640050.html>

<https://confluence.atlassian.com/conf714/auditing-in-confluence-1087525499.html>

Cheers
How to insert videos from Chinese hosts in Confluence?
Asked by Nelly:

Hello. We have a problem with inserting a video from a Chinese resource. For example: i.youku.com  
We tried to connect via Widget connector and through Html5, but they still are not displayed. We inserted URL in the same way as we normally insert all the youtube videos.  
Maybe there is some solution?


Answers:
author: Shannon S
body: Hello Nelly,

Currently, the [Widget Connector](https://confluence.atlassian.com/doc/widget-connector-macro-171180449.html) only supports the following sites:

* YouTube
* Vimeo
* MySpace Video
* Flickr
* Twitter
* Slide Rocket
* Google Calendar

I have created a feature request below for users to vote on if they wish to see youku.com support:

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

Please vote on and watch the case in order to see any updates in the future.

As an alternative, you can either link to the video, or attach a video as a file to your Confluence page and embed it using the [Multimedia Macro](https://confluence.atlassian.com/doc/multimedia-macro-228622735.html).

Let me know if you have any questions about this.

Kind regards,

Shannon


Tags: video
How to bulk-export to word docx?
Asked by iamjusticetirael:

How to bulk export to word docs few pages? 1 page = 1 docx.


Answers:
author: Aron Gombas _Midori_
body: If you have a solution (see the apps mentioned in the other thread) that accepts the page ID as a request parameter, then you could experiment with calling the corresponding "render" URL with a page ID.

If it works, then you can easily script this to iterate over the set of page IDs and produce one document from each.


author: Karen Ferland
body: I had a request to export multiple pages to Word. I opened a PDF that I had exported using Word and it worked. There may be gotchas that I have not found, but this appears to be a workaround (you can export to PDF and then open in Word and save).


author: Thomas Schlegel
body: Hi,

with plain Confluence, you can only export one single page to word.

There are apps on the marketplace that provide you with the desired functionality:

[Scroll Office for Confluence](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-office/server/overview)

[Content Exporter](https://marketplace.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin/server/overview)

I can't recommend neither the one nor the other, because I haven't tested them yet.

There might be also other apps in the marketplace for that purpose.

Without any additional apps, you can export your pages to pdf and then change the format somehow to word. There is a pdf export in Confluence for multiple pages. But I doubt, that the result of this two-time-conversion is looking good in word.

comments: author: iamjusticetirael
body: All this does not work. We need to export several pages to different documents. Steps:  
1. Check several pages  
2. Export on: 1 page = 1 docx

3. generating zip-archive

4. Download.  

Scroll office and internal pdf exporter exporting several pages in ONE document


author: Thomas Schlegel
body: Ah, I see. But I'm sorry, I've never heard of such a functionality.


author: iamjusticetirael
body: [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) Yeah.. So: :'(


author: Thomas Schlegel
body: Maybe this might help you:

<https://community.atlassian.com/t5/Confluence-questions/Is-there-a-method-to-export-all-the-pages-as-individual-word/qaq-p/338562>


Tags: export
How to open hyperlinks in the same window??
Asked by Natasha Thottacherry:

I seem to have the opposite problem that a lot of confluence users are having - my hyperlinks (or links to other pages in the same space) keep opening in new tabs when I don't want them to. I don't want to change the browser settings, is there a way to change this in Confluence?


Answers:
author: Shannon S
body: Hi Natasha,

Could you let me know what version of Confluence you're using, and which browsers you've had the problem in?

Usually I hear from users that want to force links to open in a new window or tab. I haven't yet seen any where it was doing it automatically, so if you can let me know the above information and also links to posts that you found were users are having this issue, I can look into it for you.

Kind regards,

Shannon

comments: author: Natasha Thottacherry
body: Hi Shannon,

I know, it surprised me! My team generally uses google Chrome and we are on Confluence 5.9.4.

Any help will be much appreciated.

Warm regards,

Natasha.


author: Shannon S
body: Natasha,

Thank you for confirming.

I've installed 5.9.4 on my system and I am not able to replicate the same behavior. I am also using Chrome.

A few things to test:

* Check if you have any of the add-ons recommended as a workaround for [CONFSERVER-11194](https://jira.atlassian.com/browse/CONFSERVER-11194) currently installed.
* Check if you have any [Custom HTML](https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html) applied.

Things to consider:

* Do all users on your Confluence instance have this problem?
* Does it occur all the time?
* Does the problem occur in other browsers?
* Does the problem occur on other computers?
* Finally, are you able to replicate the issue when all Chrome add-ons are disabled **and** in Incognito Mode?

Thank you for your help!

Regards,

Shannon


Tags: link

tab
Migrating confluence from active directory to other active directory
Asked by Application Management:

Our current Confluence installation is connected to an old Active Directory (LDAP). This week our Conlfuence installation will be migrated to a new server and database (this has been well described).

However, during this migration the Active Directory coupled to the Confluence instance will also be replaced with a new Active Directory instance. The usernames will NOT be the same as the usernames in the old Active Directory instance.

How does this affect the page creators / page updators / page comments? Will the old usernames become "unknown" or is there a special tool which can be run to update these values to the new usernames which come from the new Active Directory.


Answers:
author: Lars Olav Velle
body: Can you give an example of an old and a new username?

-Lars

comments: author: Application Management
body: An example would be :

original username : pclae

new username: pacl14
Confluence search indexing problem
Asked by Marten Meikop:

Hello,

I have a documentation about a service called "Umbrella".  
I created a page called "Umbrella" and under that page, created sub-pages:  

\* Use cases  
\* Architecture  
\* Technical requirements

Now, If I search for "Umbrella architecture", I end up with no results.  
That means, the indexing does not take into account the context (placement in the page-tree) of the page.  

A workaround would be to add full names to every page:  
\* Umbrella Use cases  
\* Umbrella Architecture  
\* Umbrella Technical requirements

but that seems too inconvenient.

Is there any way to configure the indexing so that the page context is also considered?

Thanks!


Answers:
author: miikhy
body: Hi Marten,

There's no way to change the indexing behavior I think but I would suggest you use labels in your subpages. Adding an Umbrella label would help the search as the label will be considered as part of the content.

Might not be the perfect solution but I guess it can help.

Let us know if you like it!

Cheers


Tags: search
Huge stdout file in log directory
Asked by Arno van Hemert:

In my logdirectory C:\\Program Files\\Atlassian\\Confluence\\logs I found a huge logfile confluence###-stdout.2016-09-24 dated 23-12 last year. As in my openion this file is of no use I want to deleted. Can I delete this file without having an issue or is the application using this file?

I have stdout files of more recent dates.


Answers:
author: AnnWorley
body: 18GB is huge. It should have rolled after 20M. Please check your log4j.properties file to make sure the max file size is reasonable:

    log4j.appender.confluencelog.MaxFileSize=20480KB

This article has some useful details on configuring logging:

[Working with Confluence Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html)

You are safe to delete that monster standard out file. The application is not using it.


author: Arno van Hemert
body: Not mentioned yet. The file is 13 GB. Normally the file is only few KB


Tags: log
Where is the macro for Trello?
Asked by Roni Borri:

We're running Confluence Cloud, and I would like to embed a trello board in within my pages. I've read <https://confluence.atlassian.com/confcloud/use-trello-and-confluence-together-938019889.html?_ga=2.44440999.2012717321.1512380795-1469305645.1505743476> from beginning to end, but can't find the trello macro anywhere.

Pasting a trello link in the page just displays a link to trello - i'm feeling pretty inept, can someone help me out?


Answers:
author: Max O'Rourke
body: I'm encountering the same issue. Cannot find the macro anywhere. . . please help!


author: Roni Borri
body: Hi Shannon, it's not there, so maybe we are not Confluence Cloud after all...

comments: author: Shannon S
body: Hi Roni,

No worries! Does your Confluence instance look like the examples in this blog post?

<https://www.atlassian.com/blog/confluence/the-new-look-of-confluence>

If you're on Server, you can tell your version at the bottom of the page in Confluence like so:

![Screen Shot 2017-12-05 at 2.01.03 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/10439iE464A9F1DF8D24C4/image-dimensions/468x129?v=v2 "Screen Shot 2017-12-05 at 2.01.03 PM.png")

Regards,

Shannon


author: Shannon S
body: Hi Roni,

The macro auto-inserts as soon as you paste the URL of a card or board in Confluence.

In addition, you can use auto-complete to insert the macros. The two macros are called:

* Trello Board
* Trello Link

![Screen Shot 2017-12-05 at 12.30.45 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/10435i2C00C76B3F4DEE94/image-dimensions/344x234?v=v2 "Screen Shot 2017-12-05 at 12.30.45 PM.png")

Can you give that a try on your instance and if you still have a problem, I can have a look. I'll need you to confirm your instance URL.

Kind regards,

Shannon


Tags: trello
Confluence 6.5.0 search problem
Asked by Vladimir:

I moved spaces from confluence 5.3 to 6.5.0 and I have a problem with search in confluence. Not all pages with search terms are shown in search results. I try reindex and reindex from scratch, It did not help. I turned on debugging log4j but all messages looks fine. Please help me.


Answers:
author: Edwin Kyalangalilwa
body: Hi Vladimir,

Check that you have the correct permissions in the new space.

comments: author: Vladimir
body: Yes, i am admin on this space, and have all permissions


Tags: index

lucene
How can I speed up Jira/Confluence - MemCached, Redis, AWS CloudFront
Asked by Jiri Pik:

Is there any way to speed up JIRA / Confluence using any of the solutions such as MemCached, Redis or AWS CloudFront?


Answers:
author: Jiri Pik
body: THANK YOU


author: Craig Castle-Mead
body: Hey Jiri,

I've just posted a summary of learnings from using CloudFront at <https://community.atlassian.com/t5/Jira-discussions/CDN-CloudFront-and-Atlassian-Server-apps/m-p/731230#M2361> that may be of help.

CCM


Tags: jira
Hi There, Is there anyway of downloading the previous background images ??
Asked by scott white:

I have around 20 boards running and want to keep the backgrounds all the same but the image I want doesn't exist anymore and I don't really like any of the new ones, thanks


Answers:
author: Shannon S
body: Scott,

In Confluence, you could set a background image using CSS, but generally this links to an external image. You may have also added an attachment in Confluence and linked it this way.

Do you happen to remember where the background image was hosted? If it was an attachment in a page and you have since deleted it, you can attempt to recover it if you have a backup. See [Retrieving File Attachments from a Backup](https://confluence.atlassian.com/doc/retrieving-file-attachments-from-a-backup-187758.html).

I have to ask, since you also mentioned boards, is it possible you were referring to one of our other products, such as Jira Software or Trello? Confluence doesn't have boards, so I want to be sure.

Regards,

Shannon
How do can you display a panel or section in multiple spaces?
Asked by John Washington:

I have text content I'd like to put in a single space and display in other spaces - as content, not a link. The idea is to only have to update the source and have those changes reflected on the other spaces to reduce overhead and ensure well maintained information. Which macro(s) can help accomplish this?

Note: I do not have admin/developer rights to these spaces.


Answers:
author: Nic Brough -Adaptavist-
body: Include and include-excerpt.

It's easier for you to try them out than explain them. Start by creating a page with just your panel, and a couple of test pages that "include" that page with the panel somewhere in their content.

comments: author: John Washington
body: Thank you so much! This is **exactly** what I was hoping to find!
In Confluence, how can I stop trying to authenticate against disabled AD/LDAP users?
Asked by Randy Erbacci:

I'm not an AD/LDAP expert by a long shot, but here goes. We're using AD/LDAP for our Confluence authentication and apparently when someone logs in, we're searching disabled LDAP users (those who've left the company). The problem is when a current employee has the same login ID as someone whose left the company. In our User Schema Settings we are using the following in our User Object Filter: (\&(objectCategory=Person)(sAMAccountName=\*)). I'm looking to find the parameter that will skip over any LDAP user that is no longer with the company. Thank you.


Answers:
author: Davin Studer
body: I've edit your LDAP search above to leave out disabled accounts. I know it looks weird, but that is how you do it.

```
(&(objectCategory=Person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(sAMAccountName=*))
```
Getting current page macro information through JavaScript?
Asked by Kevin Brunette:

Hello!

I have some users who are bloating some confluence pages with macros which is causing slow performance.

Is there a for me to use the JavaScript API to count 1) The number of confluence macros currently used on the page 2) Get the names of these macros?

I looked at the AJS API and saw that there is a "AJS.params" object but couldn't find any macro info in there. Also examined the AJS.MacroBrowser API and couldn't find anything useful..

Any ideas?


Answers:
author: Davin Studer
body: If you have access to running a query against the database this will give you a list of your pages sorted by macro count per page.

```
select
    C.CONTENTID,
    S.SPACENAME,
    C.TITLE,
    (len(cast(B.BODY as nvarchar(max))) - len(replace(cast(B.BODY as nvarchar(max)), '<ac:structured-macro', ''))) / len('<ac:structured-macro') as MACROCOUNT
from CONTENT C
inner join BODYCONTENT B on C.CONTENTID = B.CONTENTID
inner join SPACES S on C.SPACEID = S.SPACEID
where C.PREVVER is null
    and C.CONTENT_STATUS = 'current'
    and C.CONTENTTYPE in ('PAGE', 'BLOGPOST')
order by MACROCOUNT desc
```
Confluence Search Rank Explanation
Asked by Davin Studer:

I seem to remember seeing somewhere a way to craft a search URL for Confluence that will explain why the results were returned the way that they are. I think it output some JSON showing how the ranking worked out. For the life of me I cannot seem to find the URL again. Anybody know what I am referring to?


Answers:
author: Brant Schroeder
body: I think that this is what you might be looking for: <https://confluence.atlassian.com/confkb/how-do-i-understand-the-ranking-of-confluence-s-search-results-785614686.html>

The url that you use on your confluence site is in the first portion of the documentation. http://\<your confluence URL\>/explain.action?queryString=keywords

comments: author: Davin Studer
body: Yes! Awesome. I tried to find it, but I just must not have been searching for the right thing. Thanks a ton sir.


author: Berry Kersten
body: Hi,

I wondered if the improved searching experience (as presented at Summit 2018) will affect the ranking mechanism.

Will there be new or other elements that influence the score of a document?


author: MartiP
body: This Explain Action URL is super interesting. I noticed, however, it does not include attachments, which are a primary source of unwanted noise in our search results. Does anyone know why it doesn't show rankings for attachments?

I am especially interested in this because the Explain Action URL shows how important the boostByModificationDate component is for pages - but the attachments Confluence returns in the search results are usually quite old.

Please feel free to point me to any other channels/forums where this has been discussed before. Thank you!

comments: author: Cortlandt _
body: The Explain Action URL appears to only partially do what the docs say it will do.  

Docs say the URL "will provide a formatted list of each search result, and what factors contribute to its overall score."  

<https://confluence.atlassian.com/confkb/how-do-i-understand-the-ranking-of-confluence-s-search-results-785614686.html>  

It also seems that ordinary users can't use the URL.
Where is the "Tools > Attachments" menu (Mac OS, FWIW)
Asked by Laura "Red" Crook:

I need to delete an attachment from a page I created.

The documents say

1. Choose **Tools** \> **Attachments**. A list of the page's attachments will appear.

... but I cannot see "Tools" anywhere, and the "..." menu seems to only apply to "create".

This is incredibly frustrating; a screen shot in the docs might have made all the difference. Why assume I can find something that's non-obvious? Or is it just the stupid Mac that's making it non-obvious?


Answers:
author: AnnWorley
body: Here is a screen shot - the page tools menu is just three dots now and so is the create from template button, so I understand how it could be confusing. Here is a screen shot of where the attachments are - please scroll right\>![ToolsMenu.png](https://community.atlassian.com/t5/image/serverpage/image-id/10304iDBD24E6AB91C61ED/image-dimensions/632x62?v=v2 "ToolsMenu.png")
New markdown document seems inaccurate
Asked by Tomoko Creed:

I am having issues with this new markdown changes. I used to be able to switch to heading 3 by typing h3., but that does not work any more. The documentation here says to put ### around the text, but it does not seem to work. I tried ###\<text\>###, ###\<text\> and it was not changing to h3. After several trials, I accidentally put a space after the first ###, (i.e. ### \<text\>) it switched to h3. I think it would be good to add that minor but important details in the "where to place markdown" column.

<https://confluence.atlassian.com/confcloud/keyboard-shortcuts-markdown-and-autocomplete-724764956.html>

Also, I cannot seem the markdown for strikethrough to work by adding --around the text. I'd appreciate any tips on new markdowns...


Answers:
author: Tomoko Creed
body: I guess the strikethrough is "\~\~" not "--"
what version of confluence supports Collaborative editing?
Asked by William Antjoule:

I have an self installed version of Confluence 5.10.0 and was wondering if Collaborative editing was available for this version or if i have to update?


Answers:
author: AnnWorley
body: Collaborative editing was introduced in [Confluence 6](https://confluence.atlassian.com/doc/confluence-6-0-release-notes-844235309.html), it can't be added to a 5.10.x instance.

[](https://confluence.atlassian.com/doc/confluence-6-0-release-notes-844235309.html)The current version is Confluence 6.5.1, so there have been features introduced and bugs fixed since Confluence 5.10.x. Please review [Confluence 6.0 Release Notes](https://confluence.atlassian.com/doc/confluence-6-0-release-notes-844235309.html) and [Confluence 6.5 Upgrade Notes](https://confluence.atlassian.com/doc/confluence-6-5-upgrade-notes-938862633.html) and test the upgrade in a non-production environment.

comments: author: William Antjoule
body: Thank you :)


author: Davin Studer
body: To add to what [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) wrote...

If you currently access your Confluence instance over SSL and are not doing it via a reverse proxy, but instead through configuration in the Tomcat server.xml file, you will need to change how you do SSL termination to use a reverse proxy instead. Collaborative editing will not work otherwise. If you don't care about SSL, then you don't need to reverse proxy.

**Reverse Proxy Setup**

* [IIS](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html)
* [Apache](https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html)
* [Nginx](https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html)

comments: author: AnnWorley
body: Please see the diagrams at:

[Proxy and SSL considerations](https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html#AdministeringCollaborativeEditing-ProxyandSSLconsiderationsproxy)
> If you don't run Confluence behind a reverse proxy, you'll connect to Synchrony via Confluence's internal Synchrony proxy. SSL, if used, is terminated at Tomcat. This is the default configuration, and you shouldn't need to make any additional changes to use collaborative editing.


author: William Antjoule
body: Greta call Davin, I will check current state and take this into account.


author: Davin Studer
body: Wait, so can you now do collaborative editing will SSL enabled and not have to use a reverse proxy?


author: AnnWorley
body: That is my understanding per our documentation:

[Proxies](https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html?_ga=2.127811342.289821667.1511794243-497577457.1509036228#AdministeringCollaborativeEditing-Proxies)


author: Davin Studer
body: Ok,. Nevermind what I wrote then. I know you used to not be able to do it without a reverse proxy. Didn't realize that changed.