youngmon/atlassian-qna huggingface dataset:
Confluence server often hang up.How to analysis logs to avoid?
Asked by Willam Won:

Confluence server often hang up.How to analysis logs to avoid?I restart several times daily.


Answers:
author: Septa Cahyadiputra
body: Hi Willam,

Please note that we would highly recommend you to contact our support team in regards to performance issue. As we would need to review information from your end and it would be best to keep it confidential. If you wish to start investigating yourself, we recommend you to review the following documentations:

* <https://confluence.atlassian.com/display/DOC/Troubleshooting+Slow+Performance+Using+Page+Request+Profiling>
* <https://confluence.atlassian.com/display/CONFKB/Troubleshooting+Performance+Issues+with+Thread+Dumps>
* <https://confluence.atlassian.com/display/DOC/Requesting+Performance+Support>

Also, if your Confluence a recently installed instance with less than 50 users but you are still experiencing performance issue. We highly recommend you to double check which JDK type you are using (32bit vs 64bit) and the [allocated memory](https://confluence.atlassian.com/display/CONFKB/Fix+Out+of+Memory+errors+by+Increasing+Available+Memory) for your instance.

If you are using 64bit JDK, please make sure your [allocate](https://confluence.atlassian.com/display/CONFKB/Fix+Out+of+Memory+errors+by+Increasing+Available+Memory) at least 2GB for `Xms` and `Xmx`. Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: confluence-administration
Using Java, how can I duplicate an attachment within a page (changing the filename)
Asked by Nathaniel E Pendleton:

I feel like I have tried almost every combination of Attachment, AttachmentManager, and related calls in order to try to get a second copy of my attachment on the same page (although with a new file name). I keep running into unhelpful error messages, or worse, none at all. Is there a sample around that can show me how to do this? I spent all afternoon on this, and it doesn't seem like it should be that difficult.

Thank you!


Answers:
author: Nathaniel E Pendleton
body: I finally figured out the combination to get this done. You have to do things in a very particular order.

```
public void copyAttachmentToSamePage(final long pageId, final String sourceAttachmentName, final String sourceAttachmentName) {  ContentEntityObject page = (ContentEntityObject)contentEntityManager.getById(pageId).getLatestVersion()  final Attachment sourceAttachment = attachmentManager.getAttachment(page, sourceAttachmentName);  Attachment targetAttachment = new Attachment();  targetAttachment.setMediaType(sourceAttachment.getMediaType());  targetAttachment.setFileSize(sourceAttachment.getFileSize());  targetAttachment.setFileName(targetAttachmentName);  targetAttachment.setTitle(targetAttachmentName);  targetPage.addAttachment(targetAttachment);  attachmentManager.saveAttachment(targetAttachment, null, attachmentManager.getAttachmentData(sourceAttachment));}
```


Tags: attachment

java
Error backing up space to HTML
Asked by Geoff Daly:

Error backing up space to HTML: There was an error in the export. Please check your log files. :java.lang.NullPointerException


Answers:
author: Deividi Luvison
body: Hey Geoff,

As this kind of error require log analysis, please raise a ticket at <https://support.atlassian.com> so our Confluence Cloud support team can further analyse what is going on.  
Hope it helps.  
Thanks and Regards,  
David\| The Engineer that like Windows for realsies.


Tags: cloud

confluence-cloud
The license could not be verified: There is no license certificate installed for CustomWare Tracking Plugin for Confluence.
Asked by Michael:

I am trying the Server Add On for Tracking - Called the "Tracking Plugin" by service rocket, and I get the above error.

Any ideas how I apply a license certificate for CustomWare Tracking Plugin?


Answers:
author: Thomas
body: Maybe you need to page refresh the admin section. See this screenshot, the 'Tracking' is right above the 'Atlassian Marketplace' category.

image2015-3-19 13:35:7.png  
[](https://community.atlassian.com/t5/Confluence-questions/The-license-could-not-be-verified-There-is-no-license/qaq-p/148925?attachment-id=6074){#link_1192762e12ee7d}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/24861/1/image2015-3-19%2013%3A35%3A7.png){#display_1192762e12ee7d_0}


author: Michael
body: I cannot find a "SERVICEROCKET PLUGINS" entry in my Confluence Admin tab.

I do have a Tracking Plugin Entry, but there's no place to enter a license:

Service Rocket Capture.JPG  
[](https://community.atlassian.com/t5/Confluence-questions/The-license-could-not-be-verified-There-is-no-license/qaq-p/148925?attachment-id=2911){#link_119276337b14fe}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/24860/1/Service%20Rocket%20Capture.JPG){#display_119276337b14fe_0}


author: Thomas
body: You have to get a (trial) license here: <http://marketplace.servicerocket.com/product/tracking-plugin>

and then enter the license key in your Confluence admin section "SERVICEROCKET PLUGINS".

I hope that helps!

Thomas


Tags: addon-net.customware.confluence.plugin.tracking
how to delete a wiki page
Asked by Raghavendra BN:


Answers:
author: Nic Brough -Adaptavist-
body: Go to the page, and use "delete page" on the tools menu.

You might not have the permission to do that - check with your space admins


author: Rodrigo Girardi Adami
body: In addition to Nic answer, if for some reason the delete button is not working, you can manually delete the page with [some SQL commands](https://confluence.atlassian.com/display/CONFKB/How+to+Remove+a+Page+Manually+in+the+Database+Using+SQL+Commands).

Cheers,

Rodrigo
How do I link to another question within Confluence Questions?
Asked by Raj Mathur:


Answers:
author: Rodrigo Girardi Adami
body: Hi Raj,

I think you can just get the URL of the question and paste into the other question and it should link them. If this is not what you are looking for, can you please specify the desired functionality?

Cheers,

Rodrigo

comments: author: Development Support
body: Hi, It sounds like you can only manually insert (web-) links using the *Insert Link* dialog, but Questions aren't (yet?) accessible through the *Link suggestions* or the search option in the *Insert LInk* dialog, is that correct? Will this be added in the future?

Regards,

<br />

Dirk


author: Raj Mathur
body: Yes, didn't know if there was a more elegant way, but that works!


Tags: link
Under Space Tools / Viewtracker I see 'Unknown macro' errors. Why?
Asked by asaltbde:

I would like to enable the viewtracker information that appears under Space Tools / Viewtracker in Confluence Confluence 5.5.2.

When I click on the tab, I see the following errors....

Most viewed pages {#toc-hId--1331401672}
----------------------------------------

chart: Error while converting wiki markup to storage format.  
Unknown macro: {report-table}  
Unknown macro: {content-reporter}  
Unknown macro: {number-filter}  
Unknown macro: {number-sort}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-empty}

*No views tracked.*

{#MCSKB-Mostactivevisitors}Most active visitors {#toc-hId--443897991}
---------------------------------------------------------------------

chart: Error while converting wiki markup to storage format.  
Unknown macro: {report-table}  
Unknown macro: {grouping-reporter}  
Unknown macro: {grouping-stats}  
Unknown macro: {expanding-reporter}  
Unknown macro: {content-reporter}  
Unknown macro: {text-sort}  
Unknown macro: {number-sort}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-column}  
Unknown macro: {report-info}  
Unknown macro: {report-empty}

*No views tracked.*

Can you please advise what the cause of this issue is?


Answers:
author: Stephen Deutsch
body: According to the documentation of the viewtracker plugin, you must have the reporting plugin installed to generate reports (note that the reporting plugin is not a free plugin).


author: asaltbde
body: Thanks Steve and Stephen. Seems odd that tab should show up, if the plugin isn't installed.

However, I'll check with my Space admin to determine if it has or not.


author: Steve Gerstner [bridgingIT]
body: Hi Andrew,

Can you check if the reporting-plugin from Servicerocket is installed? It looks like the plugin is missing.

Regards

Steve


Tags: confluence-administration
How can I un-favorite a page that's no longer available?
Asked by Bj?rn Eitmann:

I marked a few pages of WHATSUP as favorites. Some of them have dissapeared in the meantime (for reasons unknown to me). When I try to navigate to one of those outdated pages, Confluence displays a PAGE NOT FOUND message:
> The page you were trying to reach could not be found. This could be because:  
> The page does not exist.  
> The page exists, but you do not have permission to view it.

On this page there is no way to turn the favourite status off, so the pages that once were my favourites but in the meantime have dissapeared from my perspective populate the favorites-menu (little star in the upper right area) but are completely useless.

Here's my question: is there a way to remove those pages from the favorites menu? I did some research on my own but didn't find anything...


Answers:
author: Stephen Deutsch
body: Hi Bj?rn,

If you go to the favorites menu by clicking on your profile picture, you can remove favorites (even if they have been deleted, which seems like the case) by clicking on the star next to the name of the page. It will then have a white center, and if you refresh the page it will be gone.


Tags: confluence-administration
Relative Date Queries with Confluence
Asked by Robert Reiner _smartics_:

I'm trying to run a Confluence query with a relative date. Specifically I want to fetch documents created within the last X days (from the search field within Confluence).

What works is this:

```
created:[20150311 TO 20150317]created:[20150311 TO NOW]
```

But what I would like to run is something like this:

```
created:[NOW-7DAY TO NOW]created:[StartOfWeek TO NOW]
```

I already tried without success some formats with inspiration from

* <https://developer.atlassian.com/confdev/confluence-rest-api/advanced-searching-using-cql>
* <https://cwiki.apache.org/confluence/display/solr/Working+with+Dates>
* <https://answers.atlassian.com/questions/74444>

<https://jira.atlassian.com/browse/CONF-10107> and the fact the the keyword "NOW" is supported makes me think that there is a solution to my problem. But I cannot find any documentation on this topic.

Is there documentation on the syntax of relative date range queries with Confluence? Or is this not supported?


Answers:
author: Stephen Deutsch
body: Hi Robert,

CQL supports this, but it's not yet fully supported in the interface. If you are running Confluence Cloud, I wrote an add-on to expose it in the interface: <https://marketplace.atlassian.com/plugins/cql-search>

Otherwise, I'm afraid you're stuck with the syntax that worked for you above, at least until Atlassian implements it in the interface for all users (or I get around to writing a Confluence Server version of the add-on).

However, don't forget that you can limit your search with the options on the left side of the screen from the search page (unfortunately, it only works for last modified).

comments: author: Robert Reiner _smartics_
body: Hi Stephen,thank you very much!Robert
Does Confluence (v 5.7) notify watchers via e-mail about new attachments?
Asked by Bartek Zukowski:

Hello,

In our older instance of Confluence (v 3.5.13) it is completely normal that a watcher of a page or space gets a notification if someone attaches an attachment to a page.

I've recently installed version 5.7 and watchers don't receive any notifications about new attachments. Is it normal? Is there a way to turn it on? Of course I have already properly configured SMTP server (tested and working). Other notifications (for example about page edits) are working fine. Only attachments seems off.

Any suggestions would be appreciated.

Regards,

Bartek


Answers:
author: Suren Raj
body: Hi Bartek,   

We have created a bug report for this issue:  

* <https://jira.atlassian.com/browse/CONF-36908>  

We sincerely apologize for any inconveniences cause by this bug and we hope we would be able to fix it as soon as possible. We highly recommend you to watch the mentioned bug to get the latest update and you may also place a comment explaining your experiences and concerns about this bug. Please see our [Atlassian Bug Fixing Policy](https://confluence.atlassian.com/display/Support/Atlassian+Bug+Fixing+Policy) for a description on how Atlassian approaches bug fixing.   

<br />

Cheers  
Suren


Tags: confluence-administration
Is it possible to add a widget that shows live stock price data in Confluence Cloud?
Asked by Eugenie Kim:

I think the answer is no, because we cannot edit the source html in Confluence Cloud, but I am just checking.


Answers:
author: Brian
body: As Robert mentioned, other than writing your own macro using Atlassian Connect, it's not currently possible to show live stock price data in Confluence Cloud. There are no plugins available for Cloud that offer this functionality, and since user macros are a restricted function in Confluence cloud, it's not possible to write a user macro to do that.

Cheers,

Brian


author: Eugenie Kim
body: Thanks, @Robert Massaioli - unfortunately, I cannot do this, but thanks for the reply!


author: Robert Massaioli _Atlassian_
body: If you can write an Atlassian Connect addon then you could do this easily: <http://developer.atlassian.com/static/connect/docs/guides/getting-started.html>


Tags: cloud

confluence-cloud
JIRA assignment notifications on Confluence Cloud workbox
Asked by Novohit:

Hello, does Confluence Cloud's Workbox include JIRA assignment notifications? There's no docs for Cloud:

* <https://confluence.atlassian.com/display/DOC/Workbox+Notifications>
* <https://confluence.atlassian.com/display/DOC/Configuring+Workbox+Notifications>

Very important feature ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad") please help me to activate it.


Answers:
author: Deividi Luvison
body: Hey David,

Current neither Confluence server or Confluence cloud have a built in feature to display those notifications ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad"), based on your description I've raised a improvement request so we might have the possibility of getting this implemented on a future release:

<https://jira.atlassian.com/browse/CONF-37052>

Make sure to vote for above improvement ticket and add your thoughts so we can increase it's relevance.  
Thanks and Regards,  
David\| The Engineer that like Windows for realsies.

comments: author: Novohit
body: Got it, well hope it eventually goes through. Cheers!


Tags: cloud

confluence-cloud
how to setup confluence Polls
Asked by Yan Aung:


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to tell us what you mean. There are some addons which do poll functionality - have you read the docs for the one you have chosen?

comments: author: Yan Aung
body: I don't see any plug-in available for the cloud.


author: Nic Brough -Adaptavist-
body: I'm afraid if you're on Cloud, there are none.


Tags: confluence-administration
How can I create 2 Comments Sections on a page in Confluence?
Asked by Jason Hefner:

I'm trying to create a page that is supposed to show notes for 2 related positions within my Department. I want to have these Comment Sections under the main headers side by side as well. How can I accomplish this?


Answers:
author: Jason Hefner
body: I was hoping there'd be some code out there I could pass along. I'm not strong in coding but some of my co-workers are.


author: Nic Brough -Adaptavist-
body: You'll need an addon to do that (and I don't think there is one in the marketplace). Comments are comments, that's it, off-the-shelf. There's no way to separate comments into separate sections on a group-by-group basis.


Tags: comment
Database collation. Case sensitive or insensitive
Asked by Mike Welch:

Getting ready to upgrade from 4.3.7 to 5.7. Checking our DB collation, we seem to be running CASE INSENSITIVE when the 5.7 doco states your DB must be CASE SENSITIVE. Checking back through all the documentation, it says the DB collation should be CASE SENSITIVE.

We have been running this way for over 9 years without an issue on various versions of Confluence. Anybody know the reason they require CASE SENSITIVE?


Answers:
author: Ingo-Stefan Schilling
body: Honestly, one of the annoying things was case sensitivity in Confluence is the fact that labels can be found only if written in right cases, so is content.

Since UTF-8 and case sensitivity have nothing to-do with each other, this can't be the answer nor reason.

@Atlassian it would be great to get a profound answer - and to be honest, it would be great if this case sensitivity thing can be removed - we would be at least grate- and thankful since it would avoid hours of explaining users why it is as it is... which consequently would optimize TCO of Confluence dramatically.

I opened a feature (improvement) request <https://jira.atlassian.com/browse/CONF-39019> so if someone else feels as if there should be changed something, feel free to vote there :wink:


author: Septa Cahyadiputra
body: Confluence 5.7 require you to use UTF 8 and case sensitive collation. During the upgrade process to 5.7 Confluence will check the collation of your database, and if it does not met the requirement, Confluence will failed the upgrade process.

Hope the above information clarify your doubts on this issue.

Cheers,  
Septa Cahyadiputra

comments: author: Mike Welch
body: Is this collation verification new to 5.7? We have been using case insensitive since 3.x. We are an integrated Jira/Confluence shop and notice that Jira requires case insensitive, unlike Confluence. Why the difference?
Update to Confluence 5.7.1 impossible, because there is no compatible Zen Foundation
Asked by BerndR:

When will there be a compatible Zen Foundatation Update? Is Zen Foundation deprecated? I have a valid Zen license until 2016 and its not posiible to use it with Confluence 5.7.x. I am very disappointed!


Answers:
author: Nic Brough -Adaptavist-
body: 5.7 is quite new, give the developers a chance to get their code updated! I'm certain Brikit are working on it.


Tags: confluence-administration
How do you edit a Word document from FireFox on a Mac?
Asked by Jennifer Anders:

I've downloaded the WebDAV Launcher and added a files extension of DOCX and pointed it to the following application location, but it still will not launch Word. Help please?

/Applications/Microsoft Office 2011/Microsoft Word.app


Answers:
author: Rodrigo Girardi Adami
body: Hi jennifer,

Is there any error happening? I recommend to try this on the latest Confluence version and check if this replicates. If you receive any error, post here so we can check and advise.

Cheers,

Rodrigo
menuMacros_renderGlobalBrowseMenu with corrupted header showing up on personal space after upgrade
Asked by Mike Lange:

After upgrading from Confluence 3.5 to 5.6 I'm getting a badly rendered header in my personal space with "#menuMacros_renderGlobalBrowseMenu()" being displayed and, not surprisingly given the message, no menu. This is not browser specific. Have not investigated plugins yet.

Other users are not seeing this with their personal spaces so this may be because I had changed my theme a looong time ago. Since I can't get to the menu I can't try playing around with themes to investigate this theory. Unfortunately the folks that currently admin Confluence and performed the upgrade are new to Confluence (long story) so I'm currently on my own on this one.

Any insight someone could provide on this would be appreciated.

Thanks,

Mike


Answers:
author: Mike Lange
body: Found the issue. I had a custom site layout decorator defined that broke with the upgrade.

I reset it to the default by navigating directly to the URL via [https://my_wiki_url/spaces/listdecorators.action?key=\~mlange](https://confluence.jda.com/spaces/listdecorators.action?key=~mlange) and then resetting to the default decorator that was customized.

Mike

comments: author: Systems Admin
body: Brilliant - this fixed it for me as well. Thanks.


author: Timoschenko Vadim
body: I have same problem on Dashboard

I fix it on page http://localhost/confluence/admin/dochoosetheme.action

For this you need reset "Site Theme" to "Default Theme"


author: Mike Lange
body: Accidentally submitted before adding any content. It's updated with an actual question now.


author: Nic Brough -Adaptavist-
body: Might want to expand this into a proper question?
Spaces List
Asked by Barry Pape:

Essentially what we want to do is render a dynamic list of all the spaces in a single category. Basically the Spaces List Macro, but without the option (drop down list) to change the category. Also, without the header text and label for the drop down list. So just a title and the dynamic list of spaces from the specified category. Is there a way to achieve this?


Answers:
author: Stephen Deutsch
body: It's not a perfect solution, but you can use the Search Results macro. Simply put "labelText:spacecategory" in the search terms box, where spacecategory is the name of the space category you want to display, and choose "spacedesc" under content type.

If you want to hide the heading where it shows the number of results and search query, you will have to use javascript, either in a user macro or in the HTML macro:

```
$('.resultSummary').hide();
```
Is there a way to change the max number of spaces shown on the left column of the global dashboard?
Asked by Michael Ling:

I'm referring to the left-hand column with the tabs: Spaces, Pages, \& Network. For the "Space" tab, currently, the max of spaces shown is 20. Any other spaces, user will need to click "View All". Is there a way to increase the max number of spaces shown on this list?


Answers:
author: Brian
body: Hey there Michael,

You might be interested in this Answers post: <https://answers.atlassian.com/questions/37531/any-way-to-globally-change-the-number-of-spaces-shown-on-the-dashboard>

To expand on that, there's a static variable called SPACES_MAX_RESULTS in the GlobalEntitiesContextProvider class that sets the default space size of 20 for the dashboard. So in order to increase that, you would have to modify that Java class and recompile the code.

The alternative for your users, as mentioned before, is for them to "favorite" spaces so that the spaces are easier to find and get to.

Hope this helps!

Cheers,

Brian