youngmon/atlassian-qna huggingface dataset:
Confluence attachment has duplicated labels
Asked by Tiemco de Jong:

On one of our pages with an View Document macro on the attached Excel document has several labels.

The problem however is that the labels have become duplicated and the labels can not be removed anymore.

I tried to remove labels. However after reloading the page, the labels are still there.

Please advise on how to remove the labels.


Answers:
author: hsuhailah
body: You may be hitting this bug: <https://jira.atlassian.com/browse/CONF-26588> and it has been fixed in Confluence 4.3


author: Rodrigo Girardi Adami
body: Hi there!  

you might be hitting some issue regarding refreshing the database information after changing the labels.  

I could find this KB that might help you: [https://confluence.atlassian.com/display/CONFKB/Cannot+Add+or+Remove+a+Favourite+Space+from+the+Dashboard
I](https://confluence.atlassian.com/display/CONFKB/Cannot+Add+or+Remove+a+Favourite+Space+from+the+Dashboard%3Cbr%3E%3Cbr%3EI) suggest to try the suggested workaround and if that doesn't work, I suggest to open a ticket for atlassian support so we can investigate that issue better.  

Hope that helps!  

Regards,  

Rodrigo

comments: author: hsuhailah
body: Heya,

Customer is hitting this bug: <https://jira.atlassian.com/browse/CONF-26588> and it has been rectified in a support ticket.


Tags: duplicate

label
Header for a page hierarchy
Asked by Thomas Havemeister:

Hi !

with Confluence I am creating a document which should be understood as a "draft". The document is a page hierarchy next to other already "published" documents. I would like to add a header on my draft page hierarchy like I probably would do in Word with its header/footer functionality.

Of course I could edit every single page in that hierarchy and add on top some notes, but I wonder if there is a nice plugin or other method which I could not figure out.

thanks for readings,  
thomas


Answers:
author: SarahA
body: Hallo Thomas

Just to clarify: Are you looking for a way of regularly marking pages as "draft", then removing that marking when they're published? The following two add-ons can help you with that:

* Ad Hoc Workflows: <https://marketplace.atlassian.com/plugins/com.comalatech.workflow>
* Zen Foundation theme: <https://marketplace.atlassian.com/plugins/com.zenfoundation>

Alternatively, if you're not needing to add the header regularly, you can do it this way:

1. Put your header text into a single page in Confluence. Let's call that page "_MyHeaderText".
2. Use the Include macro to include the page "_MyHeaderText" at the top of each of your pages that need the header. So, yes, in this case you need to edit every single page. But at least you can keep the words in one place, without needing to update them in multiple places. You could also use a template to help make sure the Include statement gets added to every new page in your tree. Here are the docs for the Include macro: <https://confluence.atlassian.com/display/DOC/Include+Page+Macro>
3. When you no longer need the banner, just remove all the text from the "_MyHeaderText" page. This will remove the text from all the pages. When you have time, you could remove the Include macro from those pages, but it's not necessary.

Alyson has suggested a good way of adding a header to all pages in a space. Another way to do that is via the documentation theme: <https://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme>

Using the Documentation theme is perhaps a bit simpler, and the customisations don't need to be re-applied each time you upgrade Confluence.

I hope this answers your question!

Cheers, Sarah

comments: author: Thomas Havemeister
body: Hi Sarah,

i checked both add-ons but they don't quite match my issue.

I'm very happy with the Include-Page macro. I had like 30 pages which I have changed and added myself a new "standard page as a draft" template. In that combination I'm very happy now and I do have exactly what I was looking for.

thank you very much.


author: AlysonA
body: Hi Thomas,

After researching the Market Place, I'm afraid there isn't a plugin capable of doing that at this time.

Alternatively, you can customize the *Space Admin \> Look and Feel \> Layout \> Page Layout* and add a header for all pages within an specific space. That's the closest I could find that may suit your needs.

Hope it helps.
How to inject a value of selected list-option item into a CustomWare report?
Asked by Stefan Eike:

Hi,

I'm trying to filter CustomWare reports by list-options, but I've been told that my question is more related to the [HTML macro](https://confluence.atlassian.com/display/CONF42/HTML+Macro).

My goal is to create a list with selectable items representing categories of something. By clicking on one or more items, their values should be delivered to another macro, e.g. as filter criterions to a CustomWare report. I do not want to edit the page, add the filter criterion manually to the report and than save the page. That would be a roundabout way, there must be a more simple and dynamic solution. Any ideas?

More detailed description with screenshots can be found here: [Customware Forum](http://community.customware.net/customware/topics/change_report_filters_and_trigger_reports_with_custom_html_forms?utm_content=topic_link&utm_medium=email&utm_source=reply_notification)


Answers:
author: l
body: Any conclusion on this ?


author: l
body: I have been following this thread from customware to here. Have you reached a conclusion, or have you been hung out to dry ?


Tags: filter

injection

macro

report
Confluence request to login when I am saving my current edit.
Asked by Victor Hsu:

Hi,

I am doing some evaluation on Confluence product. During my recent test, sometimes confluence will ask me to login again.

Most situation, it doesn't impact my job. However, sometimes when I plan to save my current page, confluence might ask me to login again and under such condition, I will loss my latest page even can't find it back in the confluence draft function.

Is this normal to confluence? or is there anything wrong within my installation?


Answers:
author: hsuhailah
body: The problem is fixed by ensuring character encoding is set to utf 8 in these components:

* [Database](https://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding)
* [Application Server](https://confluence.atlassian.com/display/DOC/Configuring+URL+Encoding+on+Tomcat+Application+Server)
* [Confluence](https://confluence.atlassian.com/display/DOC/Configuring+Character+Encoding)

comments: author: Victor Hsu
body: after correct the MySQL table character set, everything works fine. Thank you.
Can't get to Global Configuration > Advanced to change date picker formats
Asked by Chris McGuigan:

After trying to follow instructions from;

<https://confluence.atlassian.com/display/JIRA/Customising+the+Look+and+Feel#CustomisingtheLookandFeel-datepickerformats>

and

<https://confluence.atlassian.com/display/JIRA/Configuring+Advanced+Settings>

I can not locate the Advanced screen they refer to.

I have an Advanced menu down the left side of the Global Configuration page with sub-menu's of Indexing \| Attachments \| Events \| Webhooks \| Services \| Scheme tools

I've looked through those menus but can't find any way to access the date picker formatting files.


Answers:
author: Matthew Hunter
body: Hi,

The advanced settings in JIRA aren't actually available on OnDemand unfortunately, you can check out our [restricted functions page](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) for more information. If you do want to change any of these settings you just need to log a support ticket (which I see you've already done) and we'll sort it out for you. :)

Cheers,

Matt
Confluence - distributed via SQL Server Replication
Asked by Tom Morgan:

We are considering using Confluence as a documentation system for our distributed web application. We have 10 remote sites, and use SQL server replication for our web app to keep it in sync.

Has anyone used SQL Server replication to replicate changes from one Confluence installation to another?


Answers:
author: JamieA
body: It certainly won't work. For one thing, the Lucene index will not be notice updates in the database beneath it.

Various caches will not be filled etc.

It's probably suitable for use as the database for a cold standby, but you won't be able to do replication through it.

Why can't the remote sites use the central confluence?

comments: author: Tom Morgan
body: The instances would be at remote sites in countries with very low bandwidth from our central site.


author: AlysonA
body: Hi Tom,

Honestly I've never used SQL Server Replication to replicate data between Confluence servers, so I'm not sure how it would work. Assuming it only clone the data and sync it into another server, it should work if using the same Confluence configuration, but that's only a guess.

Alternatively, the [Confluence Cluster Edition](https://confluence.atlassian.com/display/DOC/Confluence+Clustering+Overview) may be an option for you as it allows you to run multiple copies of Confluence in a cluster using the same database, so that users may access any of the nodes and see the same information. Not sure if that may be of your interest, but thought it was worth to share.

Cheers!

comments: author: Tom Morgan
body: Sorry, clustering does not apply in my situation. The Confluence nodes in my situation would be widely separated in a WAN. The clustering document is intended for nodes that are on the same switch behind a load balancer for HA.

I guess I'll have to try it out in a test environment using SQL Server replication.

TPM


author: Totara DevOps
body: did you ever get this working ? I've got a similar replication need over long distance (UK \<-\> NZ).
Unable to download *.vm attachments from Confluence OnDemand
Asked by JamesS:

We have Velocity templates that we attach in Confluence OnDemand. If it has a name \*.vw (wildcard), it uploads as type 'application/octet-stream' or 'application/x-upload-data' and when I click on it to download, I get a page with only '403 Forbidden nginx'. If I change the name to \*.txt, it's fine


Answers:
author: FernandoA
body: A ticket for this issue has been raised at: <https://jira.atlassian.com/browse/AOD-6292>

Cheers!


author: Nic Brough -Adaptavist-
body: Hmm, that's a setting in nginx, not Confluence.

I suspect you need to contact Atlassian OnDemand support about it - I'm sure they've blocked it for a good reason (the nginx I've got here doesn't block .vm files off-the-shelf, but it's easy to configure it to do so)

comments: author: JamesS
body: Thanks, I've already contacted them.


Tags: cloud

confluence-cloud
Can't run Tomcat behind IIS
Asked by Leonard Shackelford:

I installed confluence (and could access via http: localhost:8090

I installed IIS7

Installed connector

Connected IIS7 and Tomcat but no luck.

Followed instructions here:

<https://confluence.atlassian.com/display/CONFKB/How+To+Setup+Confluence+with+IIS>

Then used this page:

<https://confluence.atlassian.com/display/CONFKB/Connecting+Confluence+with+IIS+7>

I don't see startup errors in confluence log.

A page opens up to empty C: Confluence folder.

I can pull up a test default.htm page in default web site (aka IIS appears to be working).

It 'acts' like the handoff between IIS and Tomcat is not occurring.

What should the default direcotory and document be for confluence virtual directory?

Any suggested problem areas I should look at?

I'm using MS Server 2008

tomcat-connectors-1.2.37-windows-x86_64-iis

I have attached Confluence Logs and Isapi_redirect logs


Answers:
author: Leonard Shackelford
body: I used document here to use microsofts application request routing tool to pass confluence tomcat requests to tomcat. I have not tested all confluence functionality, but initial testing is good.

<http://dannybaggs.wordpress.com/2010/05/14/iis7-tomcat-application-request-routing/>

Thank you Danny!

Regards - Leonard Shackelford

comments: author: Leonard Shackelford
body: I just did more testing. The Application Request Routing works like a champ. I have full Confluence functionality and route all request to a .NET site on same server to IIS. As most Admins, I like working with the the same product stack but confluence is so dang awesome I have to add tomcat to the mix :)
Confluence: Error formatting macro
Asked by Martin Morin:

I have the following issue:

Error formatting macro: recently-updated-dashboard: com.atlassian.confluence.renderer.template.TemplateRenderingException: Unable to find template renderer to handle file extension .soy

Note: this is a new installation under ArchLinux


Answers:
author: Martin Morin
body: I ended moving on a system with more resources and that solved my issue


author: hsuhailah
body: Possibly Atlassian Soy Templates Plugin and/or Confluence Soy Templates Support Plugin got disabled. To check on this, navigate to **Confluence Admin \> Manage Add-Ons**and ensure that the System Plugins and all of their modules are enabled.

PS: Are you using the bundled HSQLDB or connecting Confluence with an external database? If you are using an external database e.g. MySQL AND you failed to enable one or both of the mentioned plugins, you can try to manually enable it through the database following [this documentation](https://confluence.atlassian.com/display/CONFKB/Comment+Box+Disappears%3A+%24soyTemplateRendererHelper.getRenderedTemplateHtml).


author: Martin Morin
body: This is a brand new installation. No pluggins installed. I have did a clean-up of the Home dir and restarted the application multiple times so far and it did not resolve the issue. The issue might be caused by poor specs on the server. I will upgrade the specs and see if it resolves the issue or if the cloud server is causing me issues.


author: Ching Chew
body: I just restarted Confluence and everything works great.


author: Ching Chew
body: Hi all,

I am also having the same issue on Ubuntu 10.4 using 'atlassian-confluence-4.3.5-x64.bin' (on Amazon EC2). Installation completed nicely using MySQL database.

Getting the same error as OP when I click the dashboard link.

Thanks in advance for any help.


author: Jemy
body: Hi ,

it seems to be renderer is not getting the file with extention .soy?

did u upgraded the confluence?

weather file is available in given directory it should be?

regards,

tousif shaikh.
what is use of labels in confluence?
Asked by Jemy:

Hi team,

what is the use of labels for each page in confluence?

i want to categorized the spaces how i can do it?

please let me know your suggections.

thank's.


Answers:
author: SarahA
body: Hallo Samuls

Nic is right. In addition to his answer, you may find the documentation useful.

This page tells you how to use labels to categorise spaces: <https://confluence.atlassian.com/display/DOC/Using+Labels+to+Categorise+Spaces>

And this page, and its children, tell you all about labels and what you can do with pages once you have labelled them: <https://confluence.atlassian.com/display/DOC/Working+with+Confluence+Labels>

I hope this answers your question! And a very happy holiday season to you. :)

Cheers, Sarah


author: Nic Brough -Adaptavist-
body: Labels are there for putting arbitrary tags on pages, so that you can logically group them together, and search for them together. For example, in a confluence system dedicated to a zoo, you might label all the pages that refer to penguins indirectly with "penguin" (e.g. the pages that say "this animal is scared of penguins" or "penguins love to eat this")
Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.
Asked by sonal aggarwal:

I am using confluence wsdl "https://portal.globallogic.com/confluence-staging/rpc/soap-axis/confluenceservice-v1?wsdl " to use its various methods in my application.

I need to display the recent updates which are shown in confluence. But unfortunately I am not able to see the web method for it.

Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

Thanks

Sonal


Answers:
author: Adam Laskowski
body: Confluence renders the [Recently Updated Macro](https://confluence.atlassian.com/display/DOC/Recently+Updated+Macro) to display that information, but it does not have an exposed stub in [the WSDL](https://confluence.atlassian.com/rpc/soap-axis/confluenceservice-v2?wsdl).

In order to get the content, you would need to put the macro on a page and retrieve the rendered content of the page with the [renderContent method](http://docs.atlassian.com/atlassian-confluence/3.4-crowd-alpha2/confluence-rpc-plugin/apidocs/com/atlassian/confluence/rpc/soap/services/PagesSoapService.html#renderContent(java.lang.String,%20long,%20java.lang.String)). This will give you the raw HTML with the macro rendered that you can parse to retrieve the recently updated div. In Confluence 4.3.x, the default class for the div is **recently-updated recently-updated-concise**. If you are using another version, I recommend inspecting the div element in Confluence to double check.
Confluence Pages don't render, cannot create/edit content
Asked by Pepe:

We are upgrading from Confluence 3.2 to Confluence 3.5 to Confluence 4.3. This instance has a number of plugins, some of which are no longer supported (this may or may not relate to the issues we are seeing). Any time we create a new page or edit an existing one Confluence throws an error when the page is saved. We also see this error in other places in Confluence.

Cause

javax.servlet.ServletException: Servlet execution threw an exception

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

caused by: java.lang.NoClassDefFoundError: org/apache/xerces/dom/DocumentFragmentImpl

at org.apache.xerces.dom.CoreDocumentImpl.createDocumentFragment(Unknown Source)

<br />


Answers:
author: Pepe
body: Tried and true - restarted confluence (not sure why I didn't think of that sooner). I'm not sure what happened but in all the poking around we must have jarred some plugin into behaving badly.
Would like to get thumbnail images on every page footer and link them to respective locations.
Asked by Vishali:

Hi,

Is there a way where we can get thumbnail images on every page footer and link them to respective locations?

Thanks,


Answers:
author: SarahA
body: Hallo Vishal

Alternatively, you can use the Documentation theme and add specific text and images to the footer of every page in a space. This allows you to add different content in the footer per space. The footers appear at the bottom of pages, but not at the bottom of blog posts or the dashboard.

<https://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme>

The above page tells you how to configure the Documentation theme. It also has a custom page header and footer, provided by the theme.

The advantages of this method are that it's simpler than modifying the Velocity templates, and you don't need to re-apply the customisations each time you upgrade Confluence.

I hope this helps!

Cheers,

Sarah

comments: author: Vishali
body: I have used "{include: DOC:My page name\|nopanel=true}" at the footer of Documentation Theme (Browse\>Confluence Admin\>Theme\>Configure Theme). 'My page name' page has the required images and links and DOC is the key of the space where I have the page 'My page name'


author: Daniel Borcherding
body: Hello Vishal,

This is our page about modifying the footer page of Confluence.

<https://confluence.atlassian.com/display/CONFKB/How+to+Edit+the+Footer+in+Confluence>

You will see a bit of text in that document that outlines the text that you need to keep in your footer to remain in line with our EULA. There are also a couple link outs that describe the processes of adding content to the footer. This should be little more than placing an image file on your Confluence server and creating an img element with a src attribute that points that image.

Note: that the webroot of your Confluence instance is your \<confluence_install\>/confluence directory


author: twong_atlassian
body: You could alter the footer template file. The one you probably want is:

./confluence-install/confluence/decorators/includes/footer-content.vm

comments: author: Vishali
body: I am not familiar with what I see in that file. Is there any documentation which I can refer?
JPG not showing up in gallery
Asked by SallyD:

I have a jpg file containing a customer logo. I sucessfully use the file as a space logo and I can insert it into a wiki page with no problem. However, when I add it to a gallery, which includes several other jpg files, it does not display. I see only a white space. I get the same results in IE, Chrome, and Firefox.

Are there upper limits to any of the properties of a file that would affect this? This file is large. The image size is 9"X5", 300ppi, and the file size is 358kb while the other attached jpgs are in the 17-25kb range. I've tried resizing the file down as far as 3"X1", but that doesn't help either.

Interestingly enough, even at 3"x1", which is now smaller than at least one other working image, this file is still 63KB. Jpgs don't have a preview layer, do they? I'm not a graphic guru but it seems like there is something about this file that I'm missing. I did my downsizing using Adobe Photoshop. I don't know what tool was used to create the original file.

UPDATE: just noticed that searching for this attached file does not work either. I tried to use the shortcut (\[) to insert a link to the jpg file. The auto-complete never offered any matches, so I chose Search. It says no match is found. I clicked Attachments and I get 'error while communicating with the server'. If I try the same steps with one of the other jpg files, the auto-complete provided the file name while I was typing. I clicked Search anyway and it found the file, as expected. Wierd!


Answers:
author: twong_atlassian
body: Blech: I think we're running into some limitations of Answers: There are file attachment limits and the like.

This is quickly turning into more of a support question and less of a community answer thing. It's probably best that you create a ticket at our Support site at [support.atlassian.com](http://support.atlassian.com).

You probably are running into a bug or something... but we're going to have better tools to assist on the other site.

Sorry !  
Tim


author: SallyD
body: I see the embedded image when I preview the comment. Once I click the Comment button, the image is gone.


author: SallyD
body: Attempting to add image (again)


author: SarahA
body: Hallo Sally

Does the image have a space in the file name? If so, you may be running into a variation of this bug: <https://jira.atlassian.com/browse/CONF-22338>

A similar issue was reported in Confluence OnDemand, which is running Confluence 5.0: <https://jira.atlassian.com/browse/CONF-27233>

If this is the cause of your problem, then upgrading to Confluence 4.3.5 may help. It may also be a good idea to contact our support team at [http://support.atlassian.com](http://support.atlassian.com,), to verify that this is the cause and the fix.

I hope this helps!

Cheers, Sarah


author: SallyD
body: It's Confluence 4.3.

(Did I miss the option to attach a file versus embedding a huge image in the comment?)


author: twong_atlassian
body: Can you provide the file? What version of Confluence is this?