youngmon/atlassian-qna huggingface dataset:
MySQL or PostgreSQL easier setup for Confluence on RHEL?
Asked by Robert Lauriston:

I'm running Confluence on Red Hat Enterprise Linux in an Amazon EC2 instance.

Which would be easier to set up, MySQL or PostreSQL? From the documentation, it sounds like PostgreSQL is:

<https://confluence.atlassian.com/display/DOC/Database+Configuration>


Answers:
author: Nic Brough -Adaptavist-
body: It's not actually a really simple answer! But it's not too bad to work it out

1. If you have more experience with one of them than the other, use that one.

2. If you really don't care or can't decide, then the answer is PostgreSQL, simply because Atlassian have it slightly higher in their list and tend to work with it by default.


author: Adrien Ragot 2
body: I would suggest PostgreSQL if you're free to choose. You can have equal trust in Confluence support for both dbs. I think Atlassian people often use or provide examples in PostgreSQL, but Confluence is also tested and supported in MySQL. You should also choose according to your experience in both systems, or the experience of your co-workers in both systems.


author: Robert Lauriston
body: These commands let me set a psql password for the postgres user:

sudo -u postgres psql postgres

and then at the postgres=# prompt:

\\password postgres


author: Robert Lauriston
body: I followed the instructions on\<http://www.postgresql.org/download/linux/redhat/\>, which are:  

yum install postgresql-server  
service postgresql initdb  
chkconfig postgresql on

None of those commands prompted me for anything.


author: Adrien Ragot 2
body: Did you use JNDI or a straight JDBC? If JNDI, then you've specified the password in conf/server.xml, which is the best way to go.

NB: Btw, check your database encoding is utf8 and not latin1 (SHOW client_encoding; SHOW server_encoding). People have tried, people have had problems with encodings ;)


author: Robert Lauriston
body: Hmm. I followed the instructions to install PostgreSQL:

<http://www.postgresql.org/download/linux/redhat/>

But I was not prompted for a password as described in the Confluence "Database Setup for PostgreSQL" instructions:

[](https://confluence.atlassian.com/display/DOC/Database+Setup+for+PostgreSQL)<https://confluence.atlassian.com/display/DOC/Database+Setup+for+PostgreSQL>


Tags: confluence-administration

linux

mysql

postgres
Export to HTML/XML without using Space Operations.
Asked by Manny Sousa:

We are in need of a way to export pages into HTML and/or XML for users that do not have access to Space Operations. Is there a way for us to add an option to the Tools menu, for example, similar to the Export to PDF function? I am aware of the Scroll HTML plugin, but we were hoping for a solution without the need for additional plugins.

Thanks!


Answers:
author: Adrien Ragot 2
body: The Export permission is separate from Admin permission. Did you observe a discrepancy in this behaviour?

See Space Permissions: [](https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview)<https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview>

comments: author: Manny Sousa
body: No. My question was poorly worded. I said Space Admin in the title when I meant Space Operations. I updated it to reflect that.

Thanks for the feedback!


author: Adrien Ragot 2
body: There's nothing harmful in Space Operation. Look, even Atlassian lets anonymous users access it freely on a public instance: [](https://confluence.atlassian.com/spaces/viewspacesummary.action?key=DOC)<https://confluence.atlassian.com/spaces/viewspacesummary.action?key=DOC>

I agree Space Operations may look scary, but it's not a problem to let users access it.


Tags: export

html

xml
Jira issues with linked confluence page
Asked by Marcel Joemmanbaks:

In Confluence we have a description of all pages of our application. In jira we add a link to a page description for each issue we have. What we would like is to have a list of all jira issues that were linked to a certain page description.

With the jira macros plugin in confluence it is possible to link a jira issue or a table of jira issues based on jql. Problem with that is that it is not possible (or at least i dont know how) to search for linked confluence pages. So i would like a table in confluence with all jira issues that have a link to a certain confluence page.

Does anyone have any suggestions on how i can achieve this?


Answers:
author: Peter Van de Voorde
body: Hi Marcel,

This is actually part of the latest release of Confluence.

So I would say : upgrade your Confluence instance and be happy :)

Some more information : <https://confluence.atlassian.com/display/DOC/Confluence+5.4+Release+Notes>

Best regards,

Peter

comments: author: Marcel Joemmanbaks
body: Sweet stuff, thank you Peter!


author: Marcel Joemmanbaks
body: Hi Peter,

we have upgraded to the newest confluence and newest jira. But i dont seem to find how to achieve my described situation.

In confluence i have a page called A.

In Jira i have added a link to page A for issues 5, 9 and 13.

In page A i can add the Jira macro, but that only allows me to add a single issues or issues as a result from a JQL. In JQL i dont know how to make a selection for all issues that have page A as link. I want to do it this way so that if someone adds a link to page A the issue will be added to the list, instead of manually adding it to page A.


author: PICARD
body: I exactly try to do the same and I can't succeed , does this has changed ? I don't find


Tags: addon-confluence.extra.jira
Setting timeout for JIRA Macro
Asked by Orion IT Team:

We've got JIRA and Confluence download instances both running on our network.

When we use the "JIRA Macro" to try and display JIRA issues on a Confluence page, we get the following error when trying to view a particularly complex filter:

"Read timed out \<br/\>class java.net.SocketTimeoutException"

I'm assuming that this is due to JIRA taking too long to return a response (simpler queries work without any issues).

Is there any way to set the "timeout" in Confluence to allow JIRA more time to respond, before the timeout is triggered and the connection is dropped?


Answers:
author: krishk
body: Here's how you can set the Socket Timeout in Confluence.

[](https://confluence.atlassian.com/display/DOC/Configuring+HTTP+Timeout+Settings)<https://confluence.atlassian.com/display/DOC/Configuring+HTTP+Timeout+Settings>

- Krish


Tags: confluence-administration
Configuring notifications to send images in mail with content-disposition "inline"
Asked by Madhav Kompella:

Currently, when mail notifications are sent from our installation of Confluence, the content-disposition type is being set as "attachment" with the image (.png) files in the mail being attached to the mail. Instead, is it possible to configure Confluence to send out notifications with content-disposition type set as "inline"?


Answers:
author: Madhav Kompella
body: This is not a problem anymore - after we upgraded to Confluence 5.4.4.
Confluence user list "@" showing duplicates
Asked by Anirudh Sanjeev:

I am trying to tag a user in confluence. When I hit "@" and try to type my name (Anirudh) I get "Administrator" multiple times

Here's a screenshot: [](http://imgur.com/JXLmw1l.png)<http://imgur.com/JXLmw1l.png>

It doesn't happen with anyone else's name. Any fix for this?


Answers:
author: Peter Van de Voorde
body: Hi Anirudh,

Might it be that you have several admin accounts which are all using your name as a full name?

Which browser are you using? This might also be a browser related issue.

Best regards,

Peter

comments: author: Anirudh Sanjeev
body: Peter,

I'm using Chrome (latest version) and have only 7 users one of whom is an administrator ( [](http://i.imgur.com/ywusjkC.png?1)<http://i.imgur.com/ywusjkC.png?1>)


author: Peter Van de Voorde
body: I would post a support request for it here : [](http://support.atlassian.com)<http://support.atlassian.com>

Maybe they can take a look at the logfiles to see if anything is amiss.

Good luck.

Best regards,

Peter


Tags: cloud

confluence-cloud
Global Labels
Asked by Ed Fries:

New user, hosted service. We are planning on having 1 space for each client, we would like to create a list of global labels that are available in all spaces, is this possible? This older link states this is not possible, is that still the case?

[](/questions/88202/how-to-add-confluence-site-wide-labels)<https://answers.atlassian.com/questions/88202/how-to-add-confluence-site-wide-labels>

If labels don't exist across spaces what is the best practice or workaround? I see some posts for Jira and/or plugin scripts, I'm guessing these are not possible w/ the hosted version?

Thank you.


Answers:
author: Ed Fries
body: Could depend on the definition of "global", above link says labels are global but do not cross spaces. Does global mean "available to all users" vs "personal labels"?

In my testing, when I create Label1 in Space1 I do not see that label auto-populate as an option to select when adding a label to a page in Space2? Does this test work for others?


author: Matthew J. Horn
body: It's my understanding that all labels in the same instance of Confluence are "global" labels.

comments: author: Ed Fries
body: Could depend on the definition of "global", above link says labels are global but do not cross spaces. Does global mean "available to all users" vs "personal labels"?

In my testing, when I create Label1 in Space1 I do not see that label auto-populate as an option to select when adding a label to a page in Space2? Does this test work for others?


author: Matthew J. Horn
body: This could be an issue of a timing that you're seeing: if you create a new label, it will not auto-populate until the next time the content is indexed (at least, I think that's when labels get "indexed" and added to the label list). This can take up to 20 minutes or so, but you can trigger an index manually, too, in the admin.


author: Ann Summy
body: I was wondering why after ten minutes my new label isn't populating. I can't get a new dashboard filter set up because of this. Can't believe it can take 20+ minutes.


Tags: label
Create Confluence user authenticated by delegated LDAP
Asked by Philip Steinebrunner:

Hi

I wanted to add a user to Confluence which gets authenticated by Delegated LDAP as I do in JIRA. But in Conflunece there seems to be no way to specify the corresponding directory when creating the user. How can I achieve this like in JIRA?

Regards

Philip

**The JIRA way**

![](../../upfiles/2014-01-20_173743.png)

**The Confluence way**

![](../../upfiles/2014-01-20_173821.png)


Answers:
author: FelipeA
body: Hi Philip,

It looks like your JIRA is using delegated authentication and your Confluence is configured to use LDAP in 'CONNECTOR' way.

You'll have to re-setup your User Directory, accordingly to this documentation: [](https://confluence.atlassian.com/display/DOC/Connecting+to+an+Internal+Directory+with+LDAP+Authentication)<https://confluence.atlassian.com/display/DOC/Connecting+to+an+Internal+Directory+with+LDAP+Authentication>

After that, you should see the option to select "Delegated LDAP Authentication".

If this doesn't work, please create a support ticket at [](http://support.atlassian.com)<http://support.atlassian.com>and we'll assist you with this.

Best Regards,

Felipe Alencastro

comments: author: Philip Steinebrunner
body: Hi Felipe

I already added an Delegated LDAP Authentication to the User Directories but I still cant predefine users without specifying a password as in JIRA. If a new user logs in the user will be created by Confluence.

But it would be great if I can specify the users before they log in to assign group memberships and other things.

Cheers

Philip  


Tags: confluence-administration
Can Confluence Team Calendars Automatically Adjust Planned Dates?
Asked by Phillip Yero:

We just started using Team Calendars and one of the things that would be great if possible would be for Calendars to automatically adjust planned dates when certain issue types are inserted into the calendar. For example, we have a lot of projects planned in our calendar right now, but we might get a project tomorrow that takes priority over everything. Is there a way to insert this new project into the calendar and make everything else that we've planned just shift over without having to go into each issue and change the dates?


Answers:
author: Christina Schantin [Communardo]
body: I am not sure if i understand you correctly.

If you use Team Calendars and Confluence, you can view your different JIRA Projects in one calendar view. Via drag and drop you can easily plan your issues. while you drag and drop your issues, the date will be changed in the jira issue. For that function you should have confluence team calendars \<= 4.0

comments: author: Phillip Yero
body: What I am looking for is a way to automatically adjust the items already in the calendar when something else gets added. So, if I get a new project in and I want everyone (or everyone on a certain team) to drop what they're doing and only work on this new project for the next week, I want to be able to put this issue into the team calendar and have it automatically push everything else forward a week.


Tags: calendar

confluence-administration

team-calendars-for-confluence
Confluence Restore failed from daily-backup
Asked by Marouen Bourbia:

**Hi,**

**I have a problem to restore confluence with Daily-Backup-20140120.zip**

**You can find my error below.**

**Confluence : Version 3.4.8**

**Importation des donn?es**

|---------------------|-----------------------------|
| **Temps ?coul?:**   | 5 , 14 seconds              |
| **Temps restant:**  | 12 , 13 seconds (estimated) |
| **Derni?re ?tape:** | 30% complete                |

Import failed. Hibernate operation: could not insert: \[com.atlassian.confluence.pages.Page#5406797\]; SQL \[\]; Duplicata du champ '5406797' pour la clef 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicata du champ '5406797' pour la clef 'PRIMARY'

Thanks for your help.

Best regard.


Answers:
author: Marouen Bourbia
body: Thanks for response.


author: exploitationB
body: Hi Felipe :

Look my actions :

1 - Drop database "confluence"   
2 - Creation of database "confluence" empty   
3 - Remove the file to recreate confluence.cfg.xml   
4 - configuring the connection to the empty database   
5 - Restoration from a daily backup   
6 - In progress to 30% and then error ...

Regards,

Marouen.


author: FelipeA
body: Hi Marouen,

It seems you trying to restore your Confluence in a database which already has data, is this the case?

If you're trying to restore a whole site backup, you'll have to do it on a newly created database.

Regards,

Felipe Alencastro


Tags: confluence-administration
where will be the confluence plugins (user installed) is stored
Asked by Vijay Krishna B:

I'm searching for the location where the user installed plugins will be stored in confluece.


Answers:
author: Vijay Krishna B
body: **"confluence_home/plugin-cache"**is the location where the user installed plug-ins will be stored.

I'm feeling strange that when i saw the same folder earlier it is not visible.May be the cache is cleared at that moment.


author: Tiago Comasseto
body: Hey, Confluence also stores plugins information into the table *PLUGINDATA* of your database.

Cheers

comments: author: Vijay Krishna B
body: yes,you are correct.But how can we download the plugin file.
updating Confluence Base URL using REST API
Asked by sanyasi rao:

are there any REST API's to update base URL in confluence , like JIRA


Answers:
author: anarcon GmbH
body: Dear all,

we just released a free app for this purpose to the marketplace: <https://marketplace.atlassian.com/apps/1220470/baseurl-rest-endpoint>

Enjoy :-)


author: Sven Wagner
body: @\[deleted\]:

It's 2017 and there is still no REST API for that use case?

Customers need this to update the base URL to automatically refresh their test/dev instances. I don't want to write fancy Java classes to do that. Just post the new base URL in my deploy script.

EDIT: I created a suggestion ticket in JIRA, see <https://jira.atlassian.com/browse/CONFSERVER-53472>


author: RambanamP
body: it seems there is no rest api for that, check the latest rest api here

<https://docs.atlassian.com/atlassian-confluence/REST/latest/>

comments: author: sanyasi rao
body: it there anyother way we can update the base url from within the plugin


author: RambanamP
body: check this doc

[](https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/setup/settings/Settings.html)<https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/setup/settings/Settings.html>

<https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/setup/settings/DefaultSettingsManager.html>


Tags: base-url

rest-api
Disable notification email on deletion of comment
Asked by Patrick_Vanhoof:

Hi,

Everyone who edited a page get email-notifications when the page is edited or comments are added. Also when comments are deleted. I got the question if the notifications of deleted comments can be switched off by users.

Is this possible?

Thanks,

Patrick


Answers:
author: Steve Thornhill
body: With the Confluence settings the only way to do this is to "unwatch" the artical completely.

It may be worth looking at some of the enhanced functionality provided by plugins, but from what I have seen so far none provide the exact requirements you have asked for.

Have you considered raising this as an enhancement request?

comments: author: Patrick_Vanhoof
body: Maybe it's not such a good idea not to be notified when someone deletes your comments anyhow. SO I am not considering an enhancement request.
Stopping anonymous spam comments
Asked by Hans Bergsten:

We suddenly get roughly 50 spam comments per day on our Confluence documentation site where we allow anonymous comments. The comments consist of keywords (e.g. "coach purse store ...") plus a list of URLs. We have captcha enabled but it doesn't help. It also seems like the spam comes from multiple IP addresses so blocking on IP does not seem to be a solution.

Is there a plugin that can analyze comment text before it is saved and filter out spam? I've looked but cannot find anything.

If not, what is the URL for posting a comment? I've analyzed the access log but cannot figure out which URL corresponds to "save comment"? I would expect it to be a POST request, but nothing seems to match. If I knew the pattern for a "save comment" request I may be able to develop my own ServletFilter and handle this.

I would appreciate any hints because it's getting really time consuming to clean upp this mess every day.

Best Regards,  
Hans


Answers:
author: Peter Van de Voorde
body: Hi Hans,

Could this help you out? : [](https://confluence.atlassian.com/display/DOC/Configuring+Captcha+for+Spam+Prevention)<https://confluence.atlassian.com/display/DOC/Configuring+Captcha+for+Spam+Prevention>

Best regards,

Peter


author: Hans Bergsten
body: Thanks for the pointer Florin. I have added my comment to the thread where Atlassian says they will not consider doing naything about this to show that there are others interested in this. I hope others do the same.

Peter, we have captcha enabled but it doesn't help. Please see the link Floring posted.

Thanks,  
Hans


author: Florin Manaila
body: You can find a similar discussion here: [](/questions/251285/captcha-bypassaed)<https://answers.atlassian.com/questions/251285/captcha-bypassaed>


author: Jeff Thomas
body: Hi Hans,

Do you have [Captcha turned on](https://confluence.atlassian.com/display/DOC/Configuring+Captcha+for+Spam+Prevention) for your Confluence instance?


Tags: confluence-administration
Markdown Macro for Confluence compatible with newer versions of Confluence
Asked by matamouros:

Hi,

The Markdown Macro for Confluence (<https://marketplace.atlassian.com/plugins/com.atlassian.plugins.confluence.markdown.confluence-markdown-macro>) states that it's available for Confluence 4.0 - 5.3.4. We have a download instance on our company that we just upgraded to 5.4.3 and its maintainers are refusing to install the plugin because it doesn't explicitely state that it supports 5.4.3...

Is this plugin compatible with newer versions of Confluence? If so, can you also update its details on the above URL?

Thank you,

Pedro.


Answers:
author: Davin Studer
body: It is probably still compatible. When a developer creates a plugin they have to go back into the market and update the listing to say it is compatible with the newer version. If Atlassian hasn't made any changes to the API's that the plugin uses it is probably still compatible. Knowing the changes that happened between 5.3 and 5.4 it is most likely still compatible.


author: DI2E Licensing
body: Atlassian - is there an answer for this?
Was the redirect macro deprecated with Confluence 5.4?
Asked by Gianna Migliorisi:

We have pages that include macros which used to work - the macro being {redirect}. Since we've upgraded, this macro doesn't work. I can't seem to find any reference of it either.

Anyone know?


Answers:
author: Bob Swift (personal)
body: That macro comes from the [ServiceRocket Redirection Plugin](http://docs.servicerocket.com/display/REDIR/Redirection+Plugin)

comments: author: Gianna Migliorisi
body: Thank you. It also looks like they don't even yet support 5.3, let alone 5.4


author: Bob Swift (personal)
body: It likely works on both and they haven't updated compatibility yet. Contact them for the real scoop on it. If I needed it, I would just install and run a simple test.


Tags: addon-net.customware.confluence.plugin.redirection

confluence-administration

server

servicerocket
Change the filename column for all attachment pages in Confluence
Asked by James Roberts:

Is there a way to configure the width of the filename column on the attachment pages in Confluence? Is it a setting in a config file or something that could be handled with css?

Any help would be appreciated.


Answers:
author: Davin Studer
body: You could change the size with css by targeting td cells with a class of filename-column and set the width.

td.filename-column {width: 50%};

However, I don't think that will really get you what you want as long file names actually get truncated and have a "..." placed at the end prior to the page being sent.

To really get around it you would also have to add in some javascript to check if the url contains "viewpageattachments.action?pageId" and then loop through the td tags and get the value in the title attribute and replace the text of the nested anchor element of the td.

You would have to put the javascript in the global custom html. Or you could create a Speakeasy extension. I have moved to putting custom javascript in speakeasy extensions. It makes the cutomizations more modular and easier to turn off if it messes up stuff.


author: Bob Swift (personal)
body: I don't know the answer to your specific question, but, I do know it is very annoying the way it currently works :(. I assume you are talking about the attachments view for a page and not the attachments macro? I gave up on both of them and now ship the [Attachment-table macro](https://bobswift.atlassian.net/wiki/display/TBL/Attachment-table+macro) with the [Table Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/TBL) which provides a customizable list of attachments in a Confluence table. It solved a number of use cases I had relating to listing sets of attachments. By placing the macro on the page, you can avoid the need to go to the attachment's view for many cases.


Tags: confluence-administration