youngmon/atlassian-qna huggingface dataset:
can a postgres database instance be shared between fisheye and confluence?
Asked by John Casey:

I have a small team \<25 devolopers. We have been running with the default datbase option for fisheye but recently installed confluence on postgres. Is it advisable to run both applications on the same datbase instance?


Answers:
author: gustavo_refosco
body: Hi John,

I'm sorry for my mistake, I totally missed the "instance". Please disregard my concerns (I tought you were talking about using the same database, as many other users raised this question once, sorry for the confusion with your question too).

It shouldn't be an issue to use the same instance for both databases. Indeed the performance might be affected, but I think this would depend on the configuration of your server.


author: John Casey
body: Ex-Oracle DBA here.

Just to be clear, I'm talking about database instance (linux process). One database instance can support mulitple users (fisheyeuser and Confluenceuser) with multiple different schemas. Otherwise i will need to run postgres on two different physical servers or I need to run two postgres instances on the same server (which is a pain <http://opensourcedbms.com/dbms/running-multiple-postgresql-9-2-instances-on-one-server-in-centos-6rhel-6fedora/>).

Databases are suppose to be mult-user and mult-schema. Can you explane why running on the same instance is a bad idea? Performance issues or data integrity issues or some other reason?

thanks,


author: gustavo_refosco
body: Hi John,

This is not advised. Each application has it own schema, so you should use separate databases for them.

For more information about the database migration and steps to migrate for FishEye please take a look at the [Migrating to an External Database](https://confluence.atlassian.com/display/FISHEYE/Migrating+to+an+external+database) document.

For Confluence, please refers to its [Database Configuration](https://confluence.atlassian.com/display/DOC/Database+Configuration) document.

comments: author: John Casey
body: Ex-Oracle DBA here.

Just to be clear, I'm talking about database instance (linux process). One database instance can support mulitple users (fisheyeuser and Confluenceuser) with multiple different schemas. Otherwise i will need to run postgres on two different physical servers or I need to run two postgres instances on the same server (which is a pain[](http://opensourcedbms.com/dbms/running-multiple-postgresql-9-2-instances-on-one-server-in-centos-6rhel-6fedora/)<http://opensourcedbms.com/dbms/running-multiple-postgresql-9-2-instances-on-one-server-in-centos-6rhel-6fedora/>).

Databases are suppose to be mult-user and mult-schema. Can you explane why running on the same instance is a bad idea? Performance issues or data integrity issues or some other reason?

thanks,


Tags: fisheye-crucible
Auto-archive content in Confluence
Asked by Jason Tillman:

Is there a way to require all content created within Confluence to expire/archive in a set period of time (say, six months)? The problem that I've seen with many internal tools is that a lot of content is created, but with newer information coming to light, sometimes the content that is being replaced stays on the site. I would love to have a way where if User A uploads a datasheet on January 1st, they would be prompted to either "renew" the content (thus confirming that it's still relevant and it should still be kept live) or (if nothing is done), it would expire and be archived.


Answers:
author: Davin Studer
body: There is a plugin (paid) for archiving.

[Archiving Plugin for Confluence](https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving)

comments: author: Davin Studer
body: Is this what you are looking for?


author: Davin Studer
body: Feel free to mark the question as answered. :)


author: Michele Lim [Cprime]
body: Hello! We have recently made a free plug [Power Scripts for Confluence](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview) which you can download from the Marketplace to help automate Confluence administration, one of the features is auto archiving. Here's a short video on how to do it [https://youtu.be/lkLUBTgPoIY](https://youtu.be/lkLUBTgPoIY "Share link")

Hope this helps!

Michele

comments: author: Hamdy Atakora
body: But you need Comala workflow for this. Doesn't work by itself.


author: Jason Tillman
body: Thanks, I'll take a look at it to see if it fits our needs. Based on the description, it looks like it does.


Tags: cloud

confluence-cloud
Has anyone implemented Objective Key Results in Confluence?
Asked by Karen RUbin:

Our company is looking at using [Work.com](http://Work.com)to implement Objective Key Results company wide. In the interest of not adding more tools, I'm looking to see if anyone has done this in Confluence and can share how it worked and what they did.


Answers:
author: Anand Inamdar_Amoeboids
body: @Karen RUbin, we have recently launched the JIRA add-on [UpRaise for Employee Success](https://marketplace.atlassian.com/plugins/amoeboids-upraise/cloud/overview). OKRs is one of the core functionalities of UpRaise.


author: MarkC
body: I'm looking at how to make this work within our organization. Did you have any success?


Tags: cloud

confluence-cloud
Byline doesn't show byline info
Asked by Bimmel:

On our test instance of Confluence 5.4.4, the byline displays the following:

added.by.user.last.edited.on.date (view change) show comment

Now, the odd thing is that on spaces that use the Doc Theme, the correct information is displayed there but on spaces that use the Default Theme, just the fore mentioned text. We haven't modified the byline in any way nor the handling of how the header section renders.

Any ideas how to fix this?


Answers:
author: Bimmel
body: It seems that the Page Layout has changed and our server admin copied over the old Page Layout and when I restored the Page Layout to default, it cleared up this issue. However, all of our customizations are now gone. I'll need to rebuild those. :(


Tags: layout

metadata
Disabled users COnfluence receive emails?
Asked by Rahul Aich [Nagra]:

Hi

I have a quick question.

I have a lot of disabled users on our confluence instance, i want to know if i keep them disabled without removing any of their global permissions, will they still be receiving email notifications from confluence?

Rahul


Answers:
author: Tiago Comasseto
body: Rahul, disabled users should not receive mail notifications, despite of still having permission in Confluence.

Cheers

comments: author: Rahul Aich [Nagra]
body: Thanks Taigo


author: Tom Dickson
body: Disabled users, who are a member of a group, will receive email notifications if someone shares a page with that group, at least in 5.2.3


Tags: confluence-administration
Budict exception on anonymous viewing
Asked by Paul Mc Nally:

It seams that the plugin has a problem handling Anonymous access. I have granted anonymous access to read the INTRA and BUDICT spaces. So am I missing something or is there a bug in the permissions system?

```
2014-04-17 14:30:32,420 ERROR [http-8090-36] [atlassian.plugin.web.DefaultWebInterfaceManager] filterFragmentsByCondition Could not evaluate condition 'cz.ders.confluence.plugins.budict.condition.AddMenuItemCondition@76fe0d33' for descriptor: system.content.action/budictAdd/buDictAddPhrase -- url: /display/INTRA/Welcome | page: 328149 | userName: anonymous | action: viewpagejava.lang.NullPointerException        at cz.ders.confluence.plugins.budict.action.ConfluenceAction.hasRight(ConfluenceAction.java:91)
```


Answers:
author: DERS
body: Bug found, fixing now. Hotfix will be released soon.


author: Martin Langr
body: Hi Paul,

new hotfix version released today via [AMKT](https://marketplace.atlassian.com/plugins/cz.ders.confluence.plugins.budict/versions).


author: CTS Software Group SIL PNG
body: Is a hotfix available? Sorry but I am not sure how you will say it is ready. That is, if it will show as a version release on the versions page or a comment here.

We have the same problem. The error only seems to be different in the name of the method that threw the exception. Here is one from our log:

2014-04-29 10:04:32,064 ERROR \[http-80-58\] \[atlassian.plugin.web.DefaultWebInterfaceManager\] filterFragmentsByCondition Could not evaluate condition 'cz.ders.confluence.plugins.budict.condition.ControlMenuItemCondition@5064ba09' for descriptor: system.content.action/budict/buDictControlMenu

-- url: /display/intranet/SIL+PNG+Corporate+Intranet \| page: 55738771 \| userName: anonymous \| action: viewpage

java.lang.NullPointerException


author: DERS
body: Hi Paul, we'll take a look at this.

comments: author: Paul Mc Nally
body: Thank you, I have a full stack trace if that is any help?


Tags: addon-cz.ders.confluence.plugins.budict

confluence-administration
How to edit css for excerpts in page tree macro in the Documentation style?
Asked by Kari Beets:

How can I change the font size for the excerpts shown in the page tree macro in the documentation style?

I've edited the CSS on the page before, so I know I need the name of a class or id, but looking at the Page Source, I don't see the name of the piece that contains the excerpts included in the page tree (since the plugin probably uses Javascript or something...).

This appears to be the part of the code from the page tree:

```
<div class="plugin_pagetree"><div><span class="plugin_pagetree_status hidden">Collapse all</span><div class="plugin_pagetree_expandcollapse"><a class="plugin_pagetree_expandall" href="#">Expand all</a>&nbsp;&nbsp; <a class="plugin_pagetree_collapseall" href="#">Collapse all</a></div></div><ul class="plugin_pagetree_children_list plugin_pagetree_children_list_noleftspace"><div class="plugin_pagetree_children"></div></ul>
```

I'd like to make the text larger and possibly move it away from the page title, but once I can get the right class name, I can work with the css.


Answers:
author: Mehmet Kazgan
body: Have you looked into [XHTML Edit plugin](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor)?

comments: author: Kari Beets
body: Thanks! It looks like that should work.


Tags: cloud

confluence-cloud

excerpt

page-tree
How to add a new Confluence Admin
Asked by George Moncrief:

We just added a new employee to Jira, however we cannot for the life of us get him access to Confluence, which we recently added. He is an administrator in Jira \& Confluence, but is getting the "access denied" screen when attempting to access.

Please help. This is driving us batty!


Answers:
author: Nic Brough -Adaptavist-
body: First, check who has "can use" rights in Confluence - Admin -\> Global permissions. Secondly, if he's an admin in Confluence, he will have access to the admin stuff, but not necessarily any pages.

I think what I'm heading for here is "Check his group membership vs what groups can do". I expect you'll find he's missing a group, or he's got a couple of similar accounts and he's logging into the wrong one
Why can't OnDemand customers modify layouts
Asked by Larry Eisenstein:

I just started using Confluence OnDemand because I came from an environment that had a local install and it never got updated. I convinced my new company how great Confluence is, but now I am running into so many issues where I cannot do in OnDemand what I could do in a local install.

- Editing Layouts

- Removing Child Pages link at the bottom of pages

I was under the impression that OnDemand was the same as the local hosting.


Answers:
author: Boris Georgiev [Appfire]
body: Sad but true :).

Here's a list of the limitations:

[](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand)<https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

However this doc says that you can ask the tech support for some of the restricted features, so you may try....


Tags: cloud

confluence-cloud
Confluence Upgrade and Data Directory Config Issue
Asked by Scott Stricklin:

I'm moving Confluence off an old server onto a new QA and a new production server. I also need to upgrade. I began by creating a backup of the database, installing the current version of Confluence (4.0.3) and pointing the new instance to the database backup. That gave me a working version identical to my current production version, minus the attachments. I followed these steps on both the new QA and production instances.

So, I had two working instances on two separate servers using Confluence 4.0.3. I then upgraded QA to 5.4 and it worked fine. The problem came when I copied over the original data directory to get the attachments, and in the process overwrote confluence.cfg.xml, and whatever other vital file was in that directory structure.

What would be the best strategy to fix this? I corrected the database connection and license information in the XML file from the working production version, but I'm getting an Apache error. Should I just go back and reinstall, or is there an easier way to repair this?


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

Overwriting the confluence cfg file is certain to broke the application since this file contains many configuration parameters including the database connection.

I heavily recommend to restore this file and the rest of the data directory from a backup if you have one and just overwrite the attachments folder next time to retrieve the attachments.

Cheers,

Rodrigo


author: Scott Stricklin
body: Thanks. Sound advice.

comments: author: Rodrigo Girardi Adami
body: You are welcome :)


Tags: confluence-administration
Users cant log in
Asked by Jillian Ferrante:

Hello, I created user names for my team, when they go to sign in, they get a message saying "Your account is not yet available in this OnDemand instance." Just the accounts that were created last week are impacts, we noticed on Monday 4/14 we had trouble logging in.


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: I think these two pages should point you in the right direction:

* Managing users: [](https://confluence.atlassian.com/display/AOD/Managing+Users)<https://confluence.atlassian.com/display/AOD/Managing+Users>
* Managing application access: [](https://confluence.atlassian.com/display/AOD/Managing+application+access)<https://confluence.atlassian.com/display/AOD/Managing+application+access>

I hope that helps!


author: Jillian Ferrante
body: Thank you Dave. I don't see the "Preferences" option to get into the accounts and edit/add accounts. Could you point me in the right direction? Thank You for your help!


author: Dave Theodore [Coyote Creek Consulting]
body: Did you grant them access to the apps they need? If you look at the accounts, you'll see checkboxes below their names. You'll need to tick the boxes of the apps they are allowed to use (and you'll needa licence available for them. You should also check which groups allow "user" access to each tool and make sure the new users are in that group.

comments: author: Jillian Ferrante
body: Thank you Dave. I don't see the "Preferences" option to get into the accounts and edit/add accounts. Could you point me in the right direction? Thank You for your help!


author: Dave Theodore [Coyote Creek Consulting]
body: It could be that you don't have the necessary permissions to edit these users. Are you able to access the account management?


author: Jillian Ferrante
body: No I dont see where that is, where do I go to create new users? (I'm not seeing that option on the page anymore)
Is Karma Plugin affecting confluence Tip macro format?
Asked by Fabian Lopez:

I noticed that after installing Karma Plugin the content of the confluence Tip macro is now centered and I am not able to change it back. Is there any other report on that? Is that a bug?

Can I disable Karma to see if that is really affecting tip? (I don't want to loose the already karma points that our team has, can I disable and enable keeping the information)


Answers:
author: Fabian Lopez
body: I found the answer in Communardo website

A CSS definition causes a wrong layout of the Confluence 'Tip' macro. This issue will be fixed in the next release.

For the moment you can use the following **workaround**:

Insert this stylecode into your global Administration \> Stylesheet section to fix the styling.

|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `body .success {` ` ``color: #``333``;` ` ``text-align: left;` `}` `#givemedalcontainer .success {` ` ``color: green;` ` ``text-align: center;` `}` |

Detailed information is available at the ticket: [KARMA-121](https://jira.communardo.de/browse/KARMA-121) - KARMA breaks Confluence 'Tip' macro - OPEN

comments: author: StephanieC
body: Hi Fabian,

good to see, that you've found your answer already.

Just to let you know: you can disable and even uninstall Karma and will not loose your Karma points, badges, medals.

Greetings

Stephanie Hoffmann  
Communardo Support


Tags: communardo

confluence-administration

karma
Ad Hoc Workflow - Publishing multiple pages
Asked by Kevin Schrauth:

Hi,

Is there an easy way to publish multiple page?

We have about 100 pages and want to publish all of them.

Is there any solution?

Confluence: 5.4.1

Ad Hoc Workflow: 4.3.6


Answers:
author: Kevin Schrauth
body: None?

Needing some extra explanation?
Sharing authentication between JIRA and Confluence with JIRA user server
Asked by Andrew Farren:

I have set up the link between jira and confluence. I can authenticate and log into confluence successfully using jira credentials. However, if I am logged out of both applications and I log into one or the other, when I get to the one I haven't logged into I have to authenticate again.

I am not using crowd. Does the JIRA user server not support this functionality?


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: You need to purchase and set up Crowd to get SSO. Jira User Server is sort of a "Crowd light" and it does not offer SSO.


Tags: confluence-administration

jira

jira-administration

user
Confluence: http to https redirection in Space directory
Asked by LEM:

We managed to set up Confluence from http to https and it seemed to work, but only when clicking the spaces under "Recent spaces".

When going to "Space directory", the links of the site spaces are still the http-links. I tried the following, but it didn' help: [](https://confluence.atlassian.com/display/CONFKB/Not+All+Requests+are+Redirected+to+HTTPS)<https://confluence.atlassian.com/display/CONFKB/Not+All+Requests+are+Redirected+to+HTTPS>

Any ideas?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Can you check if the base URL is updated to https under General configuration?


author: Deividi Luvison
body: Hmmm, that is pretty odd Werner,

The above KB is a section of our main [guide to set up HTTPS/SSL](https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS#RunningConfluenceOverSSLorHTTPS-Step5.AddaSecurityConstrainttoRedirectAllURLstoHTTPS), if that is not configured your Confluence will not redirect from http to https.

Since you followed the KB to add the proper lines into the web.xml file could you please confirm the following:

* Did you also changed your [Base URL](https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL)to https?
* How you set confluence to use HTTPS? was it by following [this](https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS#RunningConfluenceOverSSLorHTTPS-Step5.AddaSecurityConstrainttoRedirectAllURLstoHTTPS) guide?

Thanks and Regards,  
David\|Atlassian Support

comments: author: LEM
body: Guys, you're awesome!

I didn't set the base URL - now everything works pretty well.


Tags: confluence-administration
Insert the latest edit time in a post
Asked by jonghun.yoo:

I'd like to explicitly write current date and time in my post.

Is there any way to automatically insert current date and time in the post, when the post is released or updated?

Thank you in advance.


Answers:
author: Davin Studer
body: It is in the header of the page, but if you really want it in thecontent of the page too you could write a user macro and insert it into the page content or edit the page decorator to include it. Below is a quick example of a user macro for it.

**Macro Name:**   
last_modified

**Macro Title:**   
Last Modified

**Macro Body Processing:**   
No Macro body

**Template:**   
## @noparams  
$content.getLastModificationDate()
Confluence LDAP - How to change all permissions for one group to another?
Asked by Felix Grund (Scandio):

I'm having a very large Confluence installation, where one very large group (say **group A** ) is synchronized from LDAP. We now have a second group (say **group B**) that has the same users in LDAP and is synchronized with Confluence as well. We are now searching for the best way to change all permissions in Confluence associated with group A to group B. Afterwards, we aim to delete group A in LDAP. This is essentially a way to rename the group A to B.

Questions:

1. Is this a proper strategy or is there a better way to achieve this?
2. If it's a good way, what SQL statements do we have to perform? At the moment, I assume the tables CONTENT_PERM and SPACEPERMISSIONS are affected? Are there more?

Our environment:

* Confluence 5.1.5
* Windows Server 2008 R2 Standard
* MSSQL 2008

Thank you very much in advance for any hints!


Answers:
author: Liston Ogana
body: Hello,

Could you provide the script you used to get this done. I have the same problem however the scrip provided in [JRA-1391](https://jira.atlassian.com/browse/JRA-1391) is not particularly working for me.

Thank you!


author: Felix Grund (Scandio)
body: I actually solved this problem using my initial approached described in the question. All other methods seemed inadequate.


author: Davin Studer
body: You might be able to do this in a better fashin than with SQL. The official API's can do this kind of thing. I qwould recommend looking into the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation) as it implements those API's in an easy to use fashion.


author: Felix Grund (Scandio)
body: No ideas?


author: Felix Grund (Scandio)
body: I do not understand. The answer marked as solution says I should run this SQL:

```
Update cwd_group set group_name='&lt;new_group_name&gt;', lower_group_name='&lt;new_group_name&gt;' where lower_group_name='&lt;old_group_name&gt;';
```

However, this won't touch any permissions in the CONTENT_PERM and SPACEPERMISSIONS tables. So these will still point to the old group. Or am I missing something? Actually I do not really want to "rename" a group. I want to **change all group permissions of one group to another**.


author: Tiago Comasseto
body: Hi, I belive you're in the same situation is this other question: [](/questions/98523/need-to-rename-group)<https://answers.atlassian.com/questions/98523/need-to-rename-group>

Cheers


Tags: crowd

ldap
confluence currently down
Asked by jakubjelen:

Page [](https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation)<https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation>and all others return "We are currently experiencing difficulties."


Answers:
author: Nic Brough -Adaptavist-
body: It was down for a while - best part of an hour from when I hit it and it came back.

Atlassian do monitor their systems and were probably trying to fix it.


author: Mick Davidson
body: I just tried it and had no problems going to any pages. Everything was fine. Could this be a local or territorial problem? I'm in the UK. Cheers.


author: Boris Georgiev [Appfire]
body: It's working fine now :)