youngmon/atlassian-qna huggingface dataset:
how to change confluence port to used one
Asked by Shlomi Cohen:

hi

i installed Conf 3.4.7 and the default port is 8090 - [](http://servername:8090)<http://servername:8090>but i need to redirect to address [](http://servername/confluence)<http://servername/confluence>, how i can do this ?


Answers:
author: Adrien Ragot 2
body: What about you just forward the port 80 to 8090?

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090 #On Linux

This way, when you perform maintenance on Confluence, you can redirect port 80 to a static page saying "We'll be back in x minutes".

comments: author: Nic Brough -Adaptavist-
body: They're on a Windows box - no iptables installed by default. Might as well use IIS or Apache, as you're going to have to install something there to make it work.


author: jing_hwa_cheok
body: Hi Shiomi,

<br />

You can run Confluence behind a proxy server and direct your application to port 80. Here's the [document](https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy)which explain the detaile step to achieve this.

<br />

Cheers,

Jing Hwa

comments: author: Shlomi Cohen
body: hi

thanks you for the reply , could you please give more details i am not familiar to work with apache.

BTW : the Conf server run on Win2008R2 , i am using Conf 5.4


author: Shlomi Cohen
body: thanks for your answer i think , i found other option for redercation on Win server 2008 R2

[](http://ashrafhossain.wordpress.com/2010/09/20/how-to-configure-iis-7-and-tomcat-redirection-on-windows-server-2008-64-bit/)<http://ashrafhossain.wordpress.com/2010/09/20/how-to-configure-iis-7-and-tomcat-redirection-on-windows-server-2008-64-bit/>

could you please take a look ? it will do the job ?

thanks

Shlomi


author: Nic Brough -Adaptavist-
body: The document Jing Hwa has pointed to covers it all. Install apache, set it up as instructed. It is actually generic - it's not just Confluence you would do this for, but any web application you want to relocate.

We can't hold your hand through this - you need to follow the documentation and learn for yourself - if you don't understand it because someone has done it for you, then you can't support it or repeat the installation. Give the document a proper try and ask specific questions if you get stuck, by all means, but you need to try!

There are other options though. In this case, Apache is being used as a basic front-end for relocating Confluence.

* You don't have to use Apache. Nginx is a good candidate for the job and there are other web-servers that can front it.
* As you're on Windows, you may have access to (And expertise with) IIS, which can do it too. If you know IIS better than Apache, I'd recommend that.
* You could change the Tomcat to listen on port 80 instead of 8090. This is only suitable if Confluence is the \*only\* web service running on the machine though


author: Nic Brough -Adaptavist-
body: Yes, that's been written by someone who followed Atlassian's instructions on using IIS to do it, as I mentioned.


Tags: confluence-administration
Providing jira search option in a confluence page
Asked by RN:

Is it possible to provide a jira issue search option in a confluence page. I am displaying the filter results in a confluence page, since it can show max of 50, its becoming difficult to search for a particular issue from confluence. Any suggestions?


Answers:
author: Mike at Black Pearl
body: This seems too obvious so I probably dont understand your question. If you use the "JIRA ISSUE" macro you can enter any JQL search. If you are not using the "JIRA ISSUE" macro then we would need more information to answer properly
Installing Office Connector plugin v1.18 in Confluence 3.5 fails as it tried to install v1.15?
Asked by Robert Matthews:

We just installed Confluence 3.5 and found the Office Connector plugin was not included. We located the latest version of the plugin for Confluence 3.5, but when installing the plugin an error displays recommending to check the logs. The Plugin manager screen shows the plugin grayed out. When viewing the selection in the Plugin manager screen the version that was added is 1.15 even though version 1.18 was downloaded and installed. How can I enable this plugin on Confluence 3.5?


Answers:
author: jing_hwa_cheok
body: Hi Robert,

<br />

I believe the office connector 1.15 is the plugin which is bundled with your Confluence 3.5.x. As you know, there is an error when you try to install the latest supported office connector for your Confluence. This lead me to believe that the office connector 1.18 was no installed successfully in your Confluence.

The reason why the office connector 1.15 is disabled and office connector 1.18 installation fail will require a bit more investigation.   

Do you mind to look at your logs? it will probably give you some idea why the installation fail.

<br />

Regads,

Jing Hwa


Tags: confluence-app

ms-office-connector
What do I do when my login credentials aren't recognized?
Asked by Nancy Joseph:

My username and password aren't recognized when I try to login. I can't find out how to fix it


Answers:
author: Nic Brough -Adaptavist-
body: There's a "forgot password" link under the login box usually. If not, then you probably need to contact your admins.

comments: author: Nancy Joseph
body: I used that link but the system didnt recognize my user name or email address, even though my Confluence profile has my email address listed.

I have no idea who the local Confluence site admins are. Not sure if need to get permission for all the company sites I'm trying to access


author: Nic Brough -Adaptavist-
body: Um, if you can't see your profile, how do you know the email is correct?

If it really is correct, and the reset doesn't work, then there really is no choice other than to find your administrators. I'm afraid there is nothing we can really do here - your admins are the only ones who can help you here.
Page history
Asked by Bimmel:

I'm at a bit of lost as to how Confluence keeps log files and page history. When I view the log files found in /var/log/httpd, I see Confluence is only keeping \~4 weeks of log files but when I use macros like Popular, the macro can report data back much further than four weeks. Is Confluence keeping log files in other places that I'm missing or is there some black box history that the individual pages are keeping?

Thanks!


Answers:
author: jing_hwa_cheok
body: Hi Bimmel,

<br />

Confluence store the page hit and like in `<confluence-home>/index/edge`. The logs file is use to record the stacktrace of the confluence and these informaton is not used by the macro in the Confluence.   

Hope this clear your doubts

Regards,  
Jing Hwa

comments: author: Bimmel
body: Hmm, I didn't find the directory you spoke of but I did find this:

```
&lt;confluence-home/application-data/confluence/index/edge
```

Is that the directory you're speaking of? if so, how do I read the files found in there?


author: Bimmel
body: I tried this directory and there seems to be nothing but binary files. I don't believe a third party package (like Splunk) can read these files or am I missing something?


Tags: log
Is there a way for administrator to change notification settings globally in confluence?
Asked by Natalie S_:

Is there a way to change the notification set up in confluence? Right now, as we are developing pages we are making a lot of changes daily. While you can easily uncheck "notify watchers" when editing text/layout of the page, if you upload or delete images or attachments, watchers get notified of all those changes. Which right now is turning into a lot of notifications. We feel like this will annoy our watchers and as a result make them unwatch the page. Is there a way to change these automatic notifications?


Answers:
author: Michael Simon
body: From initial review of the mail configuration about your only option would be to delete your mail server from the server configuration. Not a good solution but a quick way to do it.


Tags: confluence-administration

notification

watcher
Blueprint template "Product Requirements" is blank after clicking Create button.
Asked by Gary Maxwell:

After clicking the "Create" button and selecting "Product Requirements" a dialog appears that only has "Lets get Started message". We are currently running Confluence 5.1.1. Any Ideas?


Answers:
author: Marek Wysocki
body: I was able to get this working by doing the following:

1. Open "Space settings"
2. Go to "Content tools"
3. On "Templates" tab find "Product requirements" blueprint (be sure it's not "Product requirements index")
4. Click "Edit"
5. Click "Save" (you don't have to change anything)

After doing this you should be able to create Product Requirement pages without any further problems.

[@Edward Battistini](/t5/user/viewprofilepage/user-id/3863681) - FYI

comments: author: Kathryn Campo
body: Hello Marek,

Thank you for posting this. I had the same issue and this fixed it.

Kathryn


author: Nathanael Zamir
body: Our space was experiencing the same issue, and this resolved it.

<br />

Thank you


author: johan lambie
body: great, worked form me too!


author: Teresa Hoffman
body: worked for me too.


author: Edward Battistini
body: I'm having this issue too


author: Gary Maxwell
body: Hi Xavier, I receive the following error:

![](../../upfiles/googleConsole.png)


author: Xavier Arques
body: Gary,

Can you open de Google developer console and check if there is no error message.

I experimented the same kind of error and the root cause was a missing resource declared in atlassian-plugin.xml file


author: Gary Maxwell
body: Thanks however I still experience the issue after performing the suggested steps.


author: jing_hwa_cheok
body: Hi Gary.

<br />

Here's a few troubleshooting step to identify the cause of this issue.

1. Enable the[safe mode](https://confluence.atlassian.com/display/UPM/Disabling+and+Enabling+Add-ons)
2. Bypass the proxy and try to access the Confluence URL directly (by default [](http://localhost:8090/)<http://localhost:8090/>). We have received report on exact similar issue which are caused by misconfiguration in the proxy.

<br />


author: Gary Maxwell
body: Step 1. Click Create button:

![](../../upfiles/InitialDialog_4.png)

Step 2: Select Product requirements and click Create button:

![](../../upfiles/ProblemDialog_1.png)

As you can see the dialog is blank.

Thanks Jing!


author: jing_hwa_cheok
body: Hi Gary,

<br />

Do you mind to provide us a screenshot of this dialog box? That will help us understand the issue.


Tags: blueprint

template
Porting Site and Content to another Existing Site
Asked by Brian Thesing:

how can I move content from one site to another also existing site easily?


Answers:
author: Matthew J. Horn
body: It's not clear from your question that you're talking about moving from Confluence to Confluence, with the same database and the same version number. But, for arguments' sake, I'll assume that's what you want to do (say, move all the contents from a dev site to a production site).

The best way to do this is to dump the database and import it. Forget about the XML export from the Confluence admin. If your site is large, it will has a good chance of failure. We've done database backup/restore to "copy" a Confluence site several times, and it works great.
How to remove the table-plus plugin from a table (but keep the table)
Asked by Rich Cumbers:

Hi,

We have historically used the table-plus plugin on old versions of Confluence to get sorted columns etc, however with the recent upgrade to Confluence 5, the native tables have this function. For these cases I would like to remove the table-plus macro, but keep the table. How can I do this?

Cheers

Rich


Answers:
author: Bob Swift (personal)
body: Create a user macro of the same name that essentially does nothing and passes through the body data. This would enable you to switch back if you needed later ;). Make sure you are not also using the csv macro. Then disable or uninstall the plugin.

comments: author: David at David Simpson Apps
body: Nice plan Bob ;)


author: AndreasS
body: Hi Rich,

here are the option I now:

1. Easiest IMHO: Install [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor), click edit on the page where the table-plus macro should be removed, click "\<\>" to open the source editor, search for "table-plus" and remove

   ```
   &lt;ac:macro ac:name="table-plus"&gt;    &lt;ac:parameter ac:name="sortColum"&gt;1&lt;/ac:parameter&gt;    &lt;ac:rich-text-body&gt;
   ```

   and corresponding  

   ```
   &lt;/ac:rich-text-body&gt;&lt;/ac:macro&gt;
   ```

   . Then click "Apply" and look at the result.
2. Complicated for big tables: Select the complete table using the mouse from top-left to bottom-right cell, use cut (CTRL-C) and paste (CTRL-V) outside the "table-plus" macro. Now you can remove the empty "table-plus" macro.
3. Maybe not really what you want: Replace the table-plus macro with the free [Tableenhancer for Confluence](https://marketplace.atlassian.com/plugins/com.tngtech.confluence.plugins.tableenhancer) which provides quite similar functionality but is completely open-source. First install it via UPM than edit the page where table-plus should be replaced, click the macro and edit. Click the link "Select Macro" on bottom-left of the shown dialog. Afterwards, you can select an the macro (e.g. tableenhacer) which replaces the "table-plus" macro.

Hope this help, best regards

Andreas
Export spaces and attachments
Asked by Patrick_Vanhoof:

Hi,

It's quite easy to export a complete space to PDF, and this will include the images on the pages and links to e.g. a Word attachment. But is it possible to export all attachments of a space to e.g. a network drive?

Thanks,

Patrick  
[](https://community.atlassian.com/t5/Confluence-questions/Export-spaces-and-attachments/qaq-p/135920?attachment-id=9620){#link_118a9e078f321d}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/22597/1/2016-09-29%2011_43_58-Export%20Space%20-%20Hafslund%20Integration%20Platform%20-%20Embriq%20Confluence.png){#display_118a9e078f321d_0}


Answers:
author: Patrick_Vanhoof
body: Hi Bob,

Thanks for the answer. But it seems that the xml export also exports the attachment with the Full Export option (also the html export). That seems to be an easier, less technical way to export attachments. But the result is a zip with all coded filenames. You have to search the xml file to know the attachment title and filetype...

Thanks,

Patrick


author: Jagadish Kurli
body: Hi Bob, I want to export the complete space, along with attachments, so that i can import them to another confluence. The one we are using now, confluence server is onsite, but i have admin rights on the space...The version i am using, says this, we are using 5.9.9. Can you suggest me how to export from the UI, want attachements......2016-09-29 11_43_58-Export Space - Hafslund Integration Platform - Embriq Confluence.png  
[](https://community.atlassian.com/t5/Confluence-questions/Export-spaces-and-attachments/qaq-p/135920?attachment-id=4588){#link_118a9e12f46896}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/22600/1/2016-09-29%2011_43_58-Export%20Space%20-%20Hafslund%20Integration%20Platform%20-%20Embriq%20Confluence.png){#display_118a9e12f46896_0}


author: Bob Swift (personal)
body: Yes, using [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP). Use [runFromAttachmentList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-runFromAttachmentList) for the specific space and combine with [getAttachment](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getAttachment). Example:

```
confluence --action runFromAttachmentList --space ABC --common "--action getAttachment --id @pageId@ --file \"temp/@attachment@\" --name \"@attachment@\" "
```

<br />

<br />

comments: author: Jagadish Kurli
body: Hi Bob, I want to export the complete space, along with attachments, so that i can import them to another confluence. The one we are using now, confluence server is onsite, but i have admin rights on the space...The version i am using, says this, we are using 5.9.9. Can you suggest me how to export from the UI, want attachements......2016-09-29 11_43_58-Export Space - Hafslund Integration Platform - Embriq Confluence.png


author: Aron Felberbaum
body: Hi Bob,

Were in Confluence do I use this command?
Upgrade Confluence 2.10.2 to 5.4.1
Asked by Sven Wenzel:

Hi,

we are using Confluence 2.10.2 atm and would like to upgrade to version 5.4.1.

What\`s the best way(simply way) to upgrade?

Thanks for any help


Answers:
author: Nic Brough -Adaptavist-
body: That's rather a large jump in versions, and there's some hiccups.

The best thing you can do is plan for doing at least two phases as the absolute minimum you should to is to take 2.10 to 3.5 and then 3.5 to 5.x - it's really not funny trying to upgrade 3.4 or below to 4 or 5 without going to 3.5 first.

Basic principles though:

* Read all the release notes and upgrade instructions for each step. 2.10 -\> 3.0, 3.0 -\> 3.1, 3.1 -\> 3.2 and so-on. You'll find the upgrade instructions are quite similar, and you need the release notes just to make sure you understand all the changes you will experience
* Test it. All of it. On test kit, obviously
* Watch out for plugins - each one that is not part of the core bundle needs to be checked for relevance, compatibility, licencing and upgrade process. In most cases, the best upgrade route is to actually disable them, upgrade the core data and then install the latest valid versions, but that might not be true for all of them. You may find some won't work on later Confluences, in which case you'll need to work out how to live without them. Some may no longer be needed at all. Some might break in spectacular ways.


author: Sven Wenzel
body: Hi Nic,

thank you very much for your comment. I will try it.


Tags: confluence-administration
Can you use the html macro to insert an image map?
Asked by Natalie S_:

We want to put an image map on several of our pages. It looks like the image map plugin is outdated. Am I able to do this by just putting the code in an html macro?


Answers:
author: Aseem Parikh
body: Hi Natalie,

The HTML macro should be able to get the job done, however I'd strongly urge you to create a [User Macro](https://confluence.atlassian.com/display/DOC/Writing+User+Macros) instead. Enabling the HTML macro is a [security risk](https://confluence.atlassian.com/display/DOC/Enabling+HTML+macros).


Tags: html

html-macro
Confluence Chart Macro incorrect sort for multiple tables where values are empty
Asked by Beverly Flegel:

I'm using the chart macro (bar) to display issues created and resolved over a 12-month period. I'm pulling in two queries (1. Created, 2.Resolved) and returning the results as tables. For some months, though, there may be no values (i.e. no issues created at all, but some were resolved).

Here's what the tables/query results look like:
\<th title="null"\>

|-------|---|
| 13/01 | 3 |
| 13/02 | 1 |
| 13/07 | 1 |
| 13/08 | 2 |
| 13/09 | 3 |
| 13/10 | 3 |
| 13/12 | 1 |

\<th title="null"\>

|-------|---|
| 13/01 | 1 |
| 13/02 | 2 |
| 13/05 | 1 |
| 13/07 | 1 |
| 13/08 | 1 |
| 13/09 | 4 |
| 13/10 | 3 |

So no values exist for the 5th month on the Created table. As a result, the final table is "out of order" with month 5 sitting off like a red-headed step child.

![](../../../upfiles/Chartmacro_1.JPG)

I've tried adding a 3rd table with a 0 value for created, but that just puts it at the front. Any advice on getting this to all shuffle together correctly?


Answers:
author: Bob Swift (personal)
body: Add a table before the real table with Created column of all 0's. I would do this for all 12 months so it covers all the possible months that one or the other queries will produce.

comments: author: Beverly Flegel
body: This worked! Thank you so much!
How can I generate a list/report of where or number of times a 'User Macro' has been installed?
Asked by Sterling Sahaydak:

Setting up a page to provide a list of the User Macros that have been setup in Confluence and want to know as to the usage of a particular macro to understand the impact of deprecating or enhancing an existing User Macro.


Answers:
author: Matthew J. Horn
body: You can use the macro I posted in this thread:

<https://answers.atlassian.com/questions/62513/is-there-a-macro-which-highlights-on-which-pages-a-user-macro-is-in-use-in-confluence>

comments: author: Sterling Sahaydak
body: Great! Worked perfectly.

Thank Matthew!
Zen section menu does not appear
Asked by Stacia Parfionov:

I can't seem to get the Zen section menu to appear consistently.

In the attached screen shot you can see that I was able to add a few Zen sections yesterday. However, today, when I try to add additional sections, I can't get the Zen section menu to appear.

I've tried publishing this page to see if that make a difference, but it did not. Also the page does not have a master page defined so there's no need to toggle that off. (By way of side comment, getting the Master page toggle to show up is extremely frustrating. My cursor has to be in exactly the right spot for it to appear, and as soon as I move my cursor to click on it, it disappears.)

It would be great if:

A) Zen would include the section macro in the list of available macros when you go into edit the page so that you don't have to rely on the section menu to show up so you can add another section.

B) Zen did the same with the Master toggle - make it available as a menu item somewhere else in addition to having the image.

In the meantime, I'll just settle for learning the secret to making the the Zen section menu to appear consistently. Please help.

![](../../upfiles/ZenSectionMenuMissing_1.JPG)


Answers:
author: Stacia Parfionov
body: I figured out the following workaround (though I'd still appreciate an answer to this question from "the experts" :-) ):  

1. Click on the page icon in the Zen toolbar and click **Edit Entire Page** .  
Your page opens in edit mode.

2. Put your cursor in the Confluence section where you want to add content. (Or insert a new Confluence section.)

3. Choose **Insert** -\> **Wiki Markup** from the Confluece menu at the top of your page.  
The Wiki Markup window opens.

4. Enter the following markup in the Wiki Markup window:

{zen-section:id=12345678}

This is a plain, undecorated Zen Section.

{zen-section}

5. Click the **Insert** button to save and close the Wiki Markup window.  
You should now see a Zen section within your Confluence section.


Tags: confluence-administration

zen
Gliffy confluence plugin 6.0.3 - unable to uninstall it from our confluence
Asked by ANNA WANG:

Since Gliffy confluence plugin version 6.0.3 does not support IE 8 any more, I want to downgrade or uninstall it. However, when i tried to uninstall it, the warning message : "An unexpected error occurred. Please refer to the logs for more information." is displayed. please advice.


Answers:
author: jing_hwa_cheok
body: Hi Anna,

<br />

You can delete the plugin directly from your database:

1. Shutdown your Confluence
2. **Backup your database dump so you can revert the changes if needed**
3. Run the query below to delete the plugin from the database:

   ```
   delete from plugindata where pluginkey='com.gliffy.integration.confluence';
   ```

4. Clear plugin cache
5. Restart Confluence

This is merely a workaround and does not solve the issue which are causing the error when you uninstall your plugin. I need you to provide me the error in the \<confluence-home\>/atlassian-confluence.logs which are generated immediately when the issue occur to further investigate this issue.

Regards,  
Jing Hwa