youngmon/atlassian-qna huggingface dataset:
Confluence error in log
Asked by sap:

Hi,

Recently we had a downtime and upon analysing logs i came across this from which the error trail starts leading to more transaction exceptions etc.

***log Unhandled exception occurred whilst decorating page -- url: /confluence/plugins/servlet/confluence/editinword/xxxxx/attachments/ocauth/ \| userName: anonymous java.lang.NullPointerException***

I googled this out and saw some exceptions having similarity but it seems in my case this has got to do something with "ocauth".i saw a KB article

https://confluence.atlassian.com/display/CONFKB/'Edit+in+Word'+Requires+Login+or+Doesn't+Work+at+All

However i am not convinced if thats our exact problem.Has anybody else here faced similar problems and have any idea if the above mentioned reason is the exact one?

Regards,

sandeep


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

I don't believe the error above would cause a confluence outage. You can receive an error like this to access a page however it won't crash confluence as far as I know.

I recommend to review the logs and check the latest error messages before an confluence startup.

Just locate this part "starting confluence", then check right above the error messages. It should have something more conclusive.

Cheers,

Rodrigo


Tags: confluence-administration
We are on OnDemand. How much space for Confluence are we allocated. How much have we used so far?
Asked by John Pfotzer:

We are on OnDemand. How much space for Confluence are we allocated. How much have we used so far?


Answers:
author: Andrew Wolpers [BlackPearl PDM]
body: John,

Each OnDemand subscription **includes 25 GB of disk storage** . Using more than the 25 GB allotment per instance is not currently supported. I would recommend navigating to my.atlassian.com and raising a support ticket for your other question, which is directly related to your instance. I'm sure Atlassian will be able to provide you better assistance there :smile:.

The site you're on now, Answers, is mainly a Q\&A forum provided by Atlassian but most of the interaction comes from users, admins and developers in the Atlassian ecosystem.

Good luck!


Tags: cloud

confluence-cloud
Not able to log into OnDemand causing me not to able to install Confluence.
Asked by Tammy_Beachem:

I had a typo in my email when first signing up, and I'm afraid that's still biting me in the butt today. My company is Webcleats and my email is [tammyb@webcleats.com.](mailto:tammyb@webcleats.com.) I first signed up as [tammyb@weblceats.com](mailto:tammyb@weblceats.com) (switching the l and c in webcleats.) I need to instal confluence for my team, but i'm at a standstill until I get my ondemand situation under control.


Answers:
author: Nic Brough -Adaptavist-
body: I'm a little confused - you don't need Cloud access to install Confluence. Do you mean you want to set up another Cloud instance or install Confluence?


Tags: cloud

confluence-administration
Link to root of space blog
Asked by Todd Rowan:

I've learned how to create a link to an individual blog post within a space, but I would like to be able to create a link to the main page of the blog. A link to exactly that exists within the sidebar, but I haven't been able to create an identical link in one of my pages.

Is this not possible?

I'm using the OnDemand version of confluence.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hi Todd, you can either use `[` and type the name of the page you are attempting to link to, or from the toolbar include a regular link to the page using *Insert Link*. Please let us know if you need further info.

comments: author: Todd Rowan
body: Yeah, it looks like there is no way to easily link to the root of a blog without just creating a full URL with the Insert Link command.


Tags: cloud

confluence-cloud
Limit "Discussion List" macro to discussions on child pages only?
Asked by Ted W:

We have a page called "Projects" within our wiki space. Under that we have child section "Project 1", "Project 2" and "Project 3". Each section has a page for discussions. So the structure of each section looks like this "Projects" -\> "Project N" -\> "Project Discussions". Right now, if we use the "Discussion List" macro it will list all discussions for all child pages in the wiki space. Is there a way to limit the displayed discussions to the child section in which the page containing the "Discussion List" macro resides?


Answers:
author: Melek Jebnoun_Vectors_
body: Hey Ted,

Let us apologize for the delay we took to reply to your question. As we use our support JIRA instance as main support plateform for questions and bugs management sometimes some questions are lost in the huge flow of this Atlassian answers tool.

Concerning your question, The macro is designed to retrieve all the page that are tagged with discussion label because generally it's used in a unique index page.

Still we think that your requirement is relevant and maybe useful to many users. That why can we ask you to create a feature request on the JIRA instance <http://lab.spectrumgroupe.fr/jira/> so you can expose the point and especially track its evolution and its feasibility after our dev team check it.

we thank you a lot for your interest and we renew our apologizes for the delay.
Is it possible to add new links in the Confluence help drop down menu?
Asked by Velizar_Borisov:

Is it possible to add new links in the Confluence help menu? I read that it's possible to do this in JIRA , but I didn't see anything about Confluence. And if it's possible what should I change?   

Thanks in advance!


Answers:
author: Stephen Deutsch
body: You can use this code, it works for us in Confluence 5.4, but should be compatible with later versions. Versions before 5.2 might need a little different code.

```
&lt;script&gt;    AJS.toInit(function(){    AJS.$('.aui-header-primary ul.aui-nav').append('&lt;li id="linkMenu" role="menu"&gt;&lt;a id="link-menu" class="aui-nav-link aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="link-menu-link-content" title="HEADING GOES HERE"&gt;&lt;span class="browse"&gt;HEADING GOES HERE&lt;/span&gt;&lt;span class="aui-icon-dropdown"&gt;&lt;/span&gt;&lt;/a&gt;&lt;nav id="link-menu-link-content" class="aui-dropdown2 aui-style-default aui-dropdown2-in-header" aria-hidden="true"&gt;&lt;div class="aui-dropdown2-section"&gt;&lt;ul id="link-menu-global" class="aui-list-truncate section-leading first"&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/nav&gt;&lt;/li&gt;');    AJS.$('#link-menu-global').append('&lt;li&gt;&lt;a href="https://YOUR_LINK_HERE"&gt;&lt;span&gt;LINK TEXT GOES HERE&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;');    AJS.$('#link-menu-global').append('&lt;li&gt;&lt;a href="https://YOUR_LINK_HERE"&gt;&lt;span&gt;LINK TEXT GOES HERE&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;');	AJS.$('#link-menu-global').append('&lt;li&gt;&lt;a href="https://YOUR_LINK_HERE"&gt;&lt;span&gt;LINK TEXT GOES HERE&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;');    });&lt;/script&gt;
```

Just fill in the blanks (the text in caps) and put it in Custom HTML at the end of the HEAD.

comments: author: Velizar_Borisov
body: This code adds another drop down menu next to the "Create" button and it's awesome. But it's not what I need. I need to add a link in the help menu (under the question mark).


author: Geoff Wilson
body: This was exactly the type of thing i was looking for, that true doesn't answer the OP's question, but awesome for adding my own menus without having to pay $2000 for a friggin plugin doing the same thing!. Thanks


Tags: confluence-administration
Confluence Directory grows unexpectedly
Asked by AKASH BHARDWAJ:

HI All,

We are running Confluence 5.2.5, we have attachments Storage as Database, Recently we have observed that size of our attachment Directory has grown tremendously high around 35 GB. Since we have Attachments stored on Database. what could be the issue.

Please help !!

Thanks,

Akash


Answers:
author: Nic Brough -Adaptavist-
body: If your attachments directory is growing, the obvious answer is that you are not storing attachments in the database and your users are attaching large and/or numerous files. But we can't really tell you.

Analysing what is there is likely to tell you a lot more about what you've done than any uninformed guess we can make. The best we can do without any analysis of the data on the disk really is tell you that "you have put a load of files on the disk, you need to look at why and how"


Tags: confluence-administration
confluence with jira
Asked by Daniel Um:

Dear Attlassian

I want to use a Confluence with JIRA which I using currently now. I don't make sure confluence is correct device for our team, I want use it as trial. I using JIRA and want to use confluence with JIRA.

But, I can't find method to use it with JIRA. Please let me know how to use confluence with JIRA.


Answers:
author: J D
body: Hey,

I dont use both together, but here is what i found about JIRA and Confluence working together:

<https://confluence.atlassian.com/display/DOC/Integrating+JIRA+and+Confluence>

<http://blogs.atlassian.com/2006/01/how_we_use_jira_and_confluence/>

<http://blogs.atlassian.com/2013/07/display-jira-issues-in-confluence-more-power-more-control/>

Hope that helps.


author: Benito Picarelli
body: Hi there,

Since the application link is based on the base URL of both applications, just make sure to configure it so that JIRA's base URL matches it's URL and do the same for confluence, otherwise you might face some problems with the link.
Is there a way to create an alias for a confluence page? Making it accessible through 2 URLs?
Asked by HW:

Hi there,

one of our Confluence pages is directly accessable via a certain URL. Unfortunately, I am not the webserver administrator, so renaming this confluence page will cause the URL to point to a missing site.

Is there a simple way to create some kind of an alias for that page within confluence? So I can rename it, but keep the original URL that points to the new page?

Thanks for any hints!

Cheers,

Hendrik


Answers:
author: Stephen Deutsch
body: Hi Hendrik,

You could use one of the redirection plugins on the marketplace:

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.redirection>

<https://marketplace.atlassian.com/plugins/com.hascode.confluence.plugin.redirection-plugin>

or if you want something quick (you need a free license for the customware macro, which is kinda annoying), I wrote this user macro:

```
## @param location:title=Location|type=string|required=true|desc=The URL to redirect to## @param delay:title=Delay|type=string|default=0|desc=The number of seconds to delay before redirecting the browser.#set ( $Integer = 0 )#set ( $delay = "0" )#set ( $delay = $paramdelay )#set ( $delay = $Integer.parseInt($delay) * 1000 )#if ( $req.getParameter('redirect') != "false" )  &lt;script&gt;  setTimeout(function() {    window.location = "$paramlocation";  }, $delay);  &lt;/script&gt;#end&lt;ac:macro ac:name="note"&gt;  &lt;ac:parameter ac:name="title"&gt;Redirection notice&lt;/ac:parameter&gt;  &lt;ac:rich-text-body&gt;    &lt;p&gt;This page will redirect to &lt;a href="$paramlocation"&gt;$paramlocation&lt;/a&gt; in about $delay seconds.&lt;/p&gt;  &lt;/ac:rich-text-body&gt;&lt;/ac:macro&gt;
```

To prevent having to do that in the future, you could use a tiny link (under Tools menu, click "Link to this Page." That link will automatically go to that page regardless of whether the name is changed.


Tags: confluence-administration
Displaying the labels of a page within the same page
Asked by Michelle Oliveri:

Is it possible to display the labels attached to a page within the page content itself? We would like to use the include macro to include Page A within Page B. However, Page A appears without showing the labels we have attached to it. We would like the labels to show somehow. Is there a macro we could use to show the labels of a page within the same page content? Thanks!


Answers:
author: Michelle Oliveri
body: Hi Davin,

Thank you for your reply! We tried the user macro that you had provided, but it doesn't seem to be supported by the Cloud. Is there another way?


author: Davin Studer
body: This could be done with a user macro. He is a very quick basic example. You would want to fill it out to meet your needs.

```
## @noparams#foreach($label in $content.getLabels())$label.getName()#end
```


Tags: cloud

confluence-cloud
How to remove variables from Confluence templates?
Asked by Nik Blanchet:

While editing a template in Confluence, I accidentally created some variables that I don't need. How do I delete them so they no longer appear in the Template drop-down in the menu bar?

Delete template variables.png

(I created one that's a duplicate of another, `$$currentDate`, and I have no idea how, but that's beyond the scope of this question.)  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-variables-from-Confluence-templates/qaq-p/391252?attachment-id=11085){#link_11894566264d48}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/66183/1/Delete%20template%20variables.png){#display_11894566264d48_0}


Answers:
author: Davin Studer
body: Typically if you delete one and then save and reopen the template the variable will disappear from the menu.

comments: author: Casey Maynard
body: Thanks. This issue is resolved. It would be helpful to have them removed immediately without having to close and reopen my template, but at least they no longer appear.


Tags: confluence-administration
confluence upgrade from 5.1.4 to 5.6.3
Asked by Janene Hoffmann:

With this upgrade, I need to upgrade Bob Swift SQL Plugin which is now a paid upgrade.  

Can I download the latest SQL Plugin to my test Confluence site and try it out while following company procedures towards purchasing it?


Answers:
author: William Zanchet [Atlassian]
body: Yes, you can go to: <https://marketplace.atlassian.com/plugins/org.swift.confluence.sql> and click on Try it free.


Tags: confluence-administration
Is it possible to to change the macros shown in the menue "insert"?
Asked by heike siegert:

When go to a wiki page under \> "edit" \> "insert" the menu shows around 10 macros (above "other macros"). Is there a way to change those macros and show other macros instead?

Thx

Heike

wiki.png  
[](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-to-change-the-macros-shown-in-the-menue-quot/qaq-p/125232?attachment-id=10432){#link_118945a0bfdca4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/20917/1/wiki.png){#display_118945a0bfdca4_0}


Answers:
author: Rodrigo Girardi Adami
body: Hello Heike,

I believe this is possible, but with some coding and customization.

I could find[this page](https://developer.atlassian.com/display/CONFDEV/Adding+an+Option+to+the+Editor+Insert+Menu) which have some tips on how to implement that. Although it says that it was created for confluence 4.3, it might work with the latest versions as the editor haven't changed so far.

I hope this helps.

Cheers,

Rodrigo


author: Davin Studer
body: I too would love to know if this is editable as the default ones for our org are hardly ever used. If it is editable I'm sure it would have to be in some config file somewhere on the server as there is no way to set it within Confluence.
Is it possible to create JIRA issue from Confluence custom form ?
Asked by Jijo John [DevOps Consultant]:

Hello team,

Can I create JIRA issue from Confluence page having custom form?

How can i achieve this using add-on or any hints that can configuring help.

Can i get confirmation back which JIRA issue id on confluence ?

Regards,

Jijo


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

As far as I know, from confluence 5.4 onwards it is possible to create JIRA issues from confluence side even having custom fields.

Check here: <https://jira.atlassian.com/browse/CONF-23424>

Cheers,

Rodrigo

comments: author: Jijo John [DevOps Consultant]
body: Hi Rodrigo,Thanks, i already know there is an option to create issue from confluence. I see the issues with custom field using this, thanks for the link.Regards,- Jijo


Tags: issue

jira

link
Removing errant data on Confluence page
Asked by Michael E Bowman:

I am somewhat new to using Confluence.  

I am in the process of uploading some existing Word documents that have text on them. When the Word documents are uploaded, Confluence seems to have its own scheme for how the text should be formated. (i.e.--1....2...a...b and so on in a more or less outline-like format).   

I can remove most of those by placing cursor next to each character and deleting, but there are always some that are extremely difficult to remove. There always seems to be one remaining character that I can't seem to remove.  

Is there another way that errant text can be removed off of a Confluence page?


Answers:
author: Davin Studer
body: The [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor) will allow you to get rid of any unwanted stuff. Ultimately when migrating from Word to Confluence I always tell my editors not to use the import function but rather to copy and paste from Word into a plain text editor such as notepad to remove any formatting and then copy and paste from notepad into Confluence and reformat the document. This gets you the cleanest result.
Working with WebDAV
Asked by DM:

Hi everyone, I'm a newbie with WebDAV and Confluence. Could someone please explain me how to

import whole folders (with sub folders) to a page?


Answers:
author: Davin Studer
body: With the WebDAV plugin a folder represents either a space (top level folder) or a page (everything else). When it represents a page you will see a file within the folder with the same name as the folder ... {foldername}.txt. This has the contents for the page. Any other files in that folder are page attachments. Any folders within a folder are child pages and the same explanation applies to those folders as well.

It sound like you are wondering about attaching files to a page in a hierarchy and that is not possible. The only way to do something like that would be to zip the folder structure first and then upload the zip file.

comments: author: DM
body: Yes, thank you! Now that I've set up WebDAV, could you please explain me how to convert a folder to a page? You would really help me a lot.


author: DM
body: Oh nevermind, I've found it out myself. Thanks anyway. :)


Tags: directory

import

webdav
Require out of network login
Asked by Nick Kight:

We are facing a bit of a major issue: The solution we are looking for is for on campus (with a certain IP range) we want to allow anonymous access to the Confluence site without log in; for off campus we want to require all users to log in.

This instance of Confluence is our company Intranet, I'm guessing that other companies use Confluence as their intranet as well and may have their instance configured this way. Any help would be extremely and gratefully accepted.


Answers:
author: Davin Studer
body: You are looking for a SSO solution. Check out the [SAML SingleSignOn for Confluence](https://marketplace.atlassian.com/plugins/com.resolution.atlasplugins.samlsso.Confluence), [Kerberos Authentication for Confluence](https://marketplace.atlassian.com/plugins/no.kantega.kerberosauth.kerberosauth-plugin.confluence), and [Integrated Windows Authentication](https://marketplace.atlassian.com/plugins/fi.polarshift.confluence.plugins.kauth.config.iwac) plugins. On site it should use your computer login and sign you in silently and off sight it would prompt for creds.


Tags: confluence-administration
Migrate existing confluence users to active directory
Asked by Niharika Shrivastava:

We have a confluence instance being used from quite some time and now we are planning to integrate it with active directory. We want to migrate the users in confluence to active directory, How can we do this.


Answers:
author: Bhushan Nagaraj
body: Do you usernames on the confluence instance match the ones in the LDAP instance? If yes, simply add the LDAP directory and delete the internal directory user.

If not, first rename the users in Confluence, then integrate with LDAP and then delete internal user.

Make sure you test on a staging instance.


Tags: active-directory
Create button being shown everywhere
Asked by Vitor LC:

Hi.

We've upgraded Confluence from version 4.3.7 to 5.5.2 and for the moment regular users only have the permissions to view content across spaces (they can add pages to their own personal space).

Despite the permissions, the Create button is shown in every space. When clicked, only the personal space is available to the user though. Is this the default behaviour in Confluence 5?

We would like to understand if this is something that comes by default with C5 or if it might be due to some user-installed plug-ins (namely the RefinedWiki Original Theme)...

Thank you.


Answers:
author: Davin Studer
body: It is the default behavior. If you have create permissions for a space you will see the create button.


Tags: confluence-administration
I can not use SSL
Asked by Alex Dobrinin:

Performs actions on this instruction <https://confluence.atlassian.com/display/CONF51/Running+Confluence+Over+SSL+or+HTTPS>  
I use ordinary**Wildcard.** Perform all the steps are added to the file**/opt/atlassian/confluence/conf/server.xml:**  
\<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false" sslProtocol="TLS" SSLEnabled="true"

URIEncoding="UTF-8" keystorePass="mypassword"/\>

perform a restart confluence, but port 8443 is not open to the outside, the SSL does not work.


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

I recommend to set a self signed certificate and check if it works. if it does, then there is a problem with your wildcard certificate.

Also, I recommend to check the Apache tomcat logs (confluence_install/logs) and confluence logs(confluence_home/logs) after the startup so we can see if there are any errors regarding the SSL.

Cheers,

Rodrigo


Tags: confluence-administration
Wiki markup edit in Conlfuence
Asked by Sanu Soman:

Hi All,

We upgraded our confluence instance from 3.5.9 to 5.0.3 version. Now some of the pages are not showing correctly in latest version since it was created by wiki markup method.

Could you please suggest how I can get back the exact look and feel of the page as same as earlier.

Thanks,

Sanu P Soman


Answers:
author: Nic Brough -Adaptavist-
body: Depends on the problem you're having. Is it surrounded by an "unmigrated wiki markup" macro? That implies the upgrade process was unable to translate wiki format into the new storage format.

Or is the content correct and just looking different?

Or is it surrounded by / using other macros?

comments: author: Sanu Soman
body: Hi Nic,Sorry for the delay in response.Seems the page has correct content but it look different and also not having option to edit in wki markup. How we will get this feature back?


Tags: confluence-administration

markup