youngmon/atlassian-qna huggingface dataset:
Confluence 5.4.4 - ContentByLabel - Page timeout - Dispaly Excerpts
Asked by Rajeev Kapur:

Hello,

Confluence 5.4.4 - MS SQl 2008 R2.

After upgrading to 5.4.4 a page which uses the contentByLabel macro with "Dispalay Excerpts"enabled fails to load, with a XHML timeout error (timeout after 120 seconds). It would appear around 900 pages are being returned. In version 5.1.5 the page loaded with the excerpts displayed, has some thing the new search impacted performance.  


Answers:
author: sniadeks
body: I have the same issue. This is killing performance!


author: Timo Dreier
body: We have the same problem after we upgraded to 5.4.4. If we enabled the "Display excerpt" option it is very, very slow. But in my opinition, it is no solution to increase the page timeout value. Can you please explain us, how the display excerpt option is working? If every page should be parsed to fetch the excerpts, this could be a performance killer.

Thx a lot and best regards,  
Timo


author: stephan.hezel
body: We do also have serious problems caused by the chances in 5.4.4 and now some pages are even not available anymore. When will there be a solution?


author: Deividi Luvison
body: Hey rajeev,

Could you try below steps:

1. Go to Confluence Admin \> Security Configuration.
2. Click Edit.
3. Increase the page timeout from 120 to 200.
4. Hit Save.
5. [Clear Confluence Plugin Cache](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache).

Since there are a lot of labels returning I believe confluence is taking more than 120 second to get the results so let me know if the above work around do the trick for this miss behaviour.

Thanks and Regards,  
David\|Confluence Support Engineer


Tags: content-by-label
How to upgrade Confluence from 5.3.1 to the latest
Asked by CMMS Lab Support:

Given the recent security advistory, i would like to upgrade my confluence 5.3.1 to the latest version. I have a JIRA installation also. What is the step by step procedure for doing these upgrades?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello,

this is the procedure that you need [](https://confluence.atlassian.com/x/4hE)<https://confluence.atlassian.com/x/4hE>

This should be very simple because you're using a recent Confluence version.

Hope this helps,

Fabio


author: Nic Brough -Adaptavist-
body: Read the release notes for intermediate versions and then read the "upgrading Confluence" pages for it.

(oops, sorry, Fabio beat me to it. Follow his link, it's the upgrade doc you need)


Tags: jira
Confluence user management best practice: JIRA+LDAP or just LDAP?
Asked by Mike:

We've got JIRA 6.1 running with authentication delegated to LDAP, **read only**. We'd now like to add the latest Confluence version to the mix and it seems there are a couple options:

1. Delegate Confluence user management to LDAP **read only** , with the same config we're using in JIRA
   * This was the only option on older versions of Confluence/JIRA as discussed in [the docs](https://confluence.atlassian.com/display/CONF34/Delegate+user+management+to+use+JIRA+logins#DelegateusermanagementtouseJIRAlogins-ReadBeforeProceeding)
   * Since LDAP integration is read only, it may be simper to do it this way and avoid un extra service call everytime a user is authenticated (Confluence -\> LDAP rather than Confluence -\> JIRA -\> LDAP)
2. Delegate Confluence user management to JIRA, which is delegating user management to LDAP
   * This seems to be possible on newer versions, as[this diagram shows](https://confluence.atlassian.com/display/DOC/Diagrams+of+Possible+Configurations+for+User+Management#DiagramsofPossibleConfigurationsforUserManagement-ConfluenceConnectingtoJIRAandJIRAConnectingtoLDAP)
   * This would eliminate the need to configure LDAP twice

Is there a best practice for this? Are their additional strengths/weaknesses of each option?


Answers:
author: Bruna Griebeler
body: Hello Mike.  

I Agree with Tiago, the first option is a better practice because it will maintain LDAP as the User Manager, centralising it.  
The only strengths by using Jira for user management is if don't have an LDAP.  
Another option that could be good now that you have Confluence and Jira, is to add Crowd in case you want to enable SSO (Single Sign On).  
In that case, when you have LDAP, Crowd, Jira and Confluence (because of SSO), then we recommend to set LDAP -\> Crowd and then Crowd -\> Jira and Crowd -\> Confluence.

<br />

About Crowd: <https://www.atlassian.com/software/crowd/overview>

<br />

About SSO: [https://confluence.atlassian.com/display/CROWD/Overview+of+SSO\<br\< a=""\>\>
Cheers!](https://confluence.atlassian.com/display/CROWD/Overview+of+SSO%3Cbr)


author: Tiago Comasseto
body: Hi Mike, I'd suggest opition 1. It may be a bit more complicated, but it would avoid an extra cache that is not necessary.

Cheers


Tags: confluence-administration

user-management
UPM disabled after restart of Confluence server
Asked by Martin Melcher:

We are running on Confluence 5.4.2 and have setup our production system; we are using Zen Foundation for the design of the site and during configuring the system and designing the spaces, etc. everything worked fine.

After a restart of the server we encounter a major problem:

- The UPM is disabled after startup

- There Zen Foundation is disabled after startup

This leads to the following behaviours (excerpt from logfile):

- 2014-05-21 16:32:22,353 WARN \[http-8221-4\] \[atlassian.confluence.themes.DefaultThemeManager\] extractTheme Unable to find configured theme module: com.zenfoundation:zen-theme

- 2014-05-21 16:33:43,811 ERROR \[http-8221-3\] \[renderer.v2.components.MacroRendererComponent\] processMacro Unexpected error formatting macro: subspace_breadcrumbs

java.lang.NullPointerException  
- com.atlassian.plugin.web.renderer.RendererException: No renderer found for resource type: soy  
We already emptied the cache folders (after shutdown) and increased -Datlassian.plugins.enable.wait in the JVM environment, but no effect;  
but as we are running on a high end machine, this should not be the problem  
Once the system is up, I'm able to manually enable UPM and Zen Foundation, but the system will not display the menu and bring the SOY-erros.  
Any idea on that problem?  
Thanks in advance,  
Martin


Answers:
author: Martin Melcher
body: The problem is solved. We were using an OpenJDK environment instead of Oracle JDK. After we installed Oracle JDK everything is running fine.

So I will close this question!

Best regards, Martin


author: jing_hwa_cheok
body: Hi Martin,

Seem like Confluence is unable to find certain template. Do you mind to run this query to list the state of the plugin in you Confluence and attach it here?

```
select * from BANDANA where BANDANAKEY='plugin.manager.state.Map';
```

It is possible one of the essential module is not enable.  

Regards,  
Jing Hwa


Tags: addon-com.atlassian.upm.atlassian-universal-pl

confluence-administration
Failed to create group in Confluence
Asked by David Robinson:

Running Confluence 5.4 on Ubuntu Linux LTS 12.04

Three LDAP connections to different AD domains all configured as read only with local groups

In the past I have created groups successfully in Confluence Admin

When I try now (using group name osac) it gives error: Failed to create group "osac". Check your server loigs for more details.

Looked in /opt/atlassian/confluence/logs/catalina.out and can find no relevant entries.

IF


Answers:
author: David Robinson
body: I have resolved this problem . The changes I made were:

Delete an LDAP connector that was not working.

Stop Confluence

Start Confluence

Re-create the LDAP connector with exactly the same settings


author: FelipeA
body: Hi David,

Is your "Crowd Internal Directory" on the first position in Confluence Admin-\>User Directories? You'll need that to create internal groups.

Best regards,

Felipe Alencastro

comments: author: David Robinson
body: Hi Felipe,

Yes, I should have included that in my original post. The config summary for the internal direory is:

Directory ID: 98305

Name: Confluence Internal Directory

Active: true

Type: INTERNAL

Created date: 2014-03-12 14:46:47.0

Updated date: 2014-03-12 14:46:47.0

Allowed operations: \[UPDATE_GROUP, DELETE_USER, UPDATE_ROLE_ATTRIBUTE, UPDATE_USER_ATTRIBUTE, CREATE_USER, DELETE_GROUP, CREATE_GROUP, CREATE_ROLE, UPDATE_GROUP_ATTRIBUTE, UPDATE_ROLE, UPDATE_USER, DELETE_ROLE\]

Implementation class: com.atlassian.crowd.directory.InternalDirectory

Encryption type: atlassian-security

Attributes:

"user_encryption_method": "atlassian-security"


Tags: confluence-administration
Create JIRA issue in Confluence
Asked by Tobias Weber:

I have Confluence v5.5 connected to JIRA v6.1.3. I want to create a new JIRA issue via Create Issues pop-up within the wiki. But I receive a Note like: "You do not have permission to access any projects in ..." But as an JIRA and Confluence admin I can watch, edit, etc. everything in the project in JIRA. What setting has to be changed to be able to create a JIRA issue on that way?

Thanks in advance.


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

Do you have configured your application link to use trusted communication?

[](https://confluence.atlassian.com/display/DOC/Setting+Up+Trusted+Communication+between+JIRA+and+Confluence)<https://confluence.atlassian.com/display/DOC/Setting+Up+Trusted+Communication+between+JIRA+and+Confluence>

Best regards,

Peter

comments: author: Tobias Weber
body: Hi Peter,

thanks for your help.

Yes meanwhile completely. The Trusted Application as well as OAuth. The JIRA login pops quickly for a second and afterwards the same message again. No progress so far.


author: Peter Van de Voorde
body: Did you try removing the application links completely and recreating them?

Do you get any errors in you JIRA or Confluence log file?

Can you use the JIRA Issue macro to create a new issue in JIRA from Confluence, or does this also fail?

Best regards,

Peter


author: Tobias Weber
body: Thanks Peter,

your 3rd question was the best. It did not work. But now it works well. The reason somehow was up to the configuration. Removing them and recreating new. That worked out for me.


author: Peter Van de Voorde
body: I'm glad you fixed the problem :)


author: Tobias Weber
body: problem fixed.
how to setup BBclone ??
Asked by Ricchar M:

Hi there,

I would like to put this counter (BBclone) in my web but I don't know how I can do it, I read about conf file, and everything, I've written everything in this file and I need to put a code in the headers but I don't know which code or how I should write.

Any help please?

Thanks!


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello Ricchar,

another possible solution is Google Analytics plugin [](https://marketplace.atlassian.com/plugins/com.go2group.plugins.confluence-ga)<https://marketplace.atlassian.com/plugins/com.go2group.plugins.confluence-ga>

Hope this helps,

Fabio


author: Fabio Racobaldo _Herzum_
body: Hello Ricchar,

I found a third part plugin that could help you.

[](http://www.bitvoodoo.ch/plugins/confluence-viewtracker-plugin.html)<http://www.bitvoodoo.ch/plugins/confluence-viewtracker-plugin.html>

Hope this helps,

Fabio

comments: author: Ricchar M
body: Thanks Fabio,

The problem is a need to know the IP and with this plugin I can't.


author: Nic Brough -Adaptavist-
body: Hmm. I think I'd be looking for something else. BBclone is a php based function. Confluence doesn't use php. You could try to wedge something in, but I think you'd be better off looking to do this with something more supportable within Confluence's structures.

Could you explain \*exactly\* what you're trying to do in Confluence with this?

comments: author: Ricchar M
body: I would like to know how many visitors my page has and from where as well, I mean, basically who and where visit my page, I put viewtracker plugin but I get just the number but not from.

Any idea how to do it?

Thanks!


author: Nic Brough -Adaptavist-
body: Hmm, well, you said you'd tried viewtracker, and I seem to remember that only tracks numbers.

Last time I did this sort of thing in Confluence, we embedded google analytics code in the headers and then referred to our GA account.

I \*think\* Go2Group wrote a plugin that can help you embed the GA code and use the information in your Confluence reports as well.


Tags: page

view
Add group permissions for multiple spaces
Asked by mreissmann:

Hi guys,

we have several hundred spaces in our instance and need to add space permissions for a single group to a big subset of these. Is there a faster possibility than adding the group manually to each space? maybe with the command line using the api?

Best regards,  
Mario


Answers:
author: Guilherme Nedel [Atlassian]
body: Mario, [Confluence Command Line Interface](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli) can help with that task. You can review the list of functionalities in [CLI documentation](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation).


Tags: group

permission
Dynamically show tasks on a page
Asked by Patrick_Vanhoof:

Is it possible, or is there an option, so that the task report macro on a page shows the task list of the person who opens the page?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello Patrick,

this is th official ATlassian answer to your question

<https://confluence.atlassian.com/display/AOD/Task+Report+Macro>  

#### [Rachel Robins \[Atlassian Technical Writer\]](https://confluence.atlassian.com/display/~rrobins "") {#toc-hId--651312333}

Hi Paul, I'm guessing by current user you mean the user who is currently viewing the page? This is not possible I'm afraid. The Assignee field in the macro lets you filter by a particular person - but you need to enter their name.

Users can also go to Profile \> Tasks to see a more personalised view of all the tasks assigned to them.

comments: author: Fabio Racobaldo _Herzum_
body: Hope this helps
Activity Stream in Confluence showing Current User activities?
Asked by Svante Gustafsson Bj?rkegren:

Hi,

I am looking for a way to show the current logged in user's activities in a space dashboard. But I cannot get the built-in Confluence macro to do this.

Has anyone got this to work?

Any suggestions appreciated!

Cheers,

// Svante


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Svante, if you are looking for commenting, page and blog creation activity, you can use the [Confluence activity stream](https://confluence.atlassian.com/display/DOC/Activity+Stream+Gadget) for that.

In case you are interested in increasing the logging levels for Confluence to have addition information on user activity, you can [increase logging levels](https://confluence.atlassian.com/display/DOC/Working+with+Confluence+Logs), nevertheless that may need some custom development to have the information in a page.

comments: author: Svante Gustafsson Bj?rkegren
body: Ahh, I think you misunderstood me.

I want to filter the existing Activity Stream macro (as you suggested) with the current logged in user to create a common dashboard that shows only the activities for the person looking at the dashboard. (i.e. it will show different result for all users)

I found a feature request on the topic (<https://ecosystem.atlassian.net/browse/STRM-12>) so I guess this is not possible just yet.

Cheers,

// Svante


author: Guilherme Nedel [Atlassian]
body: Yes, Svante that appears to be the case, you can describe your usage case in the improvement ticket, in order to make it more relevant.


author: Svante Gustafsson Bj?rkegren
body: Got it! I have updated the improvement ticket with my use case!

Thnx for your comments!

Cheers,

// Svante


Tags: confluence-administration
Confluence 5.5.x compatibility is required
Asked by Mario_Teetzen:

At the moment there is no support for Confluence 5.5.x.

Is an update planned for this plugin?


Answers:
author: Mario_Teetzen
body: This plugin is built-in, so a new version is automatically available in 5.5.x.


author: Guilherme Nedel [Atlassian]
body: Hello Mario, you can review the activity for the macro component using [this link](https://jira.atlassian.com/browse/CONF/component/12313/?selectedTab=com.atlassian.jira.jira-projects-plugin:component-summary-panel). In addition to that, I would recommend adding comments to tickets such [this one](https://jira.atlassian.com/browse/CONF-33491) which are critical for the component functioning as means to get an ETA about its progress.
How do I have a menu with an ampersand (&) in the title in Theme Press?
Asked by Jonathan Simonoff:

Just started experimenting with Theme Press. We want to name some menus using an ampersand -- "This \& That".

However, when I make a menu and a matching panel with a name containing an ampersand, the menu doesn't find its contents panel. Is there a way to do this?

I also tried "This\&That", which didn't work and "This That", which did work.


Answers:
author: Darryl Duke
body: Hi Jonathan,

This is indeed a bug in Theme Press (thanks for catching!). We now have a fix, which will be in the next release (1.1.3).


Tags: addon-com.brikit.themepress

theme-press
Getting page permissions
Asked by Bimmel:

Using Velocity, how does one get page permissions? I'm ultimately looking to develop an permission indicator system (using a series of icons) that will display if the user/group has permission to a space, set of pages (heirarchy), and/or a single page itself.

I've read how to get user permissions but this wouldn't solve the problem I'm facing such as the following:

```
#set ($pagePermission = $permissionHelper.canView($remoteUser, $action.page))
```

Thanks!


Answers:
author: Bimmel
body: So I believe I figured it out.

```
## get space-level permissions#foreach ($permission in $space.getPermissions())	#set($spacePermission = $spacePermission + "@@" + $permission) ## get permissions#end## get page-level permissions#set ($groupPagePermissions = $&lt;proprietaryHelper&gt;.contentPermissionManager.getContentPermissionSets($page, "View"))
```

This code is added to the Page Layout and from there, I send off the $spacePermission and $groupPagePermissions to JavaScript and use the indexOf method to find groupName and users I'm looking for. Then, JavaScript displays the icons based on a few if/else statements.


Tags: permission
Is it possible to force a Home Page for all users on Confluence?
Asked by Tom Dickson:

Users can change their home page - is it possible to prevent this?

For ease of communication, I'd like to keep the default Site Homepage for all users (and reset any that have changed).


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

It seems this is not possible at the moment, so I have created a feature request for you here: [](https://jira.atlassian.com/browse/CONF-33740)<https://jira.atlassian.com/browse/CONF-33740>

I recommend to vote and watch the feature request to increase popularity. Also, ask your colleagues to vote and watch as well :)

As a workaround, I could create this query that will show all users that have a home page set instead of using the global home page:

```
SELECT um.username, os.entity_key, os.string_val FROM OS_PROPERTYENTRY osJOIN user_mapping um on um.user_key = trim('USERPROPS-' FROM os.entity_name)WHERE os.entity_key = 'confluence.user.site.homepage';
```

and this delete sql will remove their setting leaving only the global home page setting.

```
DELETE FROM os_propertyentry WHERE entity_key = 'confluence.user.site.homepage';
```

Remember, always perform a full backup of the database before performing any update or delete query on it. :)

Cheers,

Rodrigo

comments: author: Rodrigo Girardi Adami
body: I've also created this [KB](https://confluence.atlassian.com/display/CONFKB/How+to+search+for+users+with+home+page+set+and+make+them+use+the+Global+home+space+instead?moved=true) :)

Cheers,

Rodrigo


author: Tom Dickson
body: Thanks! I see some users set to "siteHomepage" - is that the same as having it default?


author: Rodrigo Girardi Adami
body: Hi Tom,

That's correct. I've just tested this here. If there is set a "siteHomepage" there, then that user is using the global home page. And if that row is removed, the user will also user the default global home page as well. You can use both as workaround :)

Cheers,

Rodrigo


Tags: confluence-administration
How do I default a space to a specific user?
Asked by Barbara Labeots:

I would like to make a certain space the default space for a group of users. I do not want our main page to be their default page. This is for our board members and we only want them to see their page only.


Answers:
author: salehparsa
body: Hi Barbara,

I'd recommend you to take a look at our **[Configuring the Site Home Page](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page)**documentation for details of how to configure the site home page.

Cheers,

Saleh

comments: author: Barbara Labeots
body: Saleh,

This allows you to make a certain space the home page for everyone. I have a group that I want to have a different space as the home page. So how do I assign a group a different space as the home page?

Barb


author: Barbara Labeots
body: Saleh,

This allows you to make a certain space the home page for everyone. I have a group that I want to have a different space as the home page. So how do I assign a group a different space as the home page?

Barb
ETA for HipChat for Confluence 5.5.X support?
Asked by Tim Guerrette:

We upgraded out Confluence instance to 5.5.1 today and I noticed the HipChat for Confluence plugin was not compatible. Is there an ETA when this will support 5.5.X?


Answers:
author: Deividi Luvison
body: Hey Tim,

Actually the plugin version 1.7.2 is compatible with 5.5.1, after checking internally the information was updated in ourmarketplace:

[](https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.confluence-hipchat)<https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.confluence-hipchat>

Thanks for bringing thatto us :).

Thanks and Regards,  
David\|Atlassian Support


author: Deividi Luvison
body: Hey Tim,

Actually the plugin version 1.7.2 is compatible with 5.5.1, after checking internally the information was updated in ourmarketplace:

[](https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.confluence-hipchat)<https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.confluence-hipchat>

Thanks for bringing thatto us :).

Thanks and Regards,  
David\|Atlassian Support


Tags: hipchat
Is it possible to create or customize the create space dialog?
Asked by Angad Bhargav:

Is it possible to create a dialog wizard for space creation that allows a user to enter various variable, which would then populate in the index page for the space?


Answers:
author: Tara Chaston
body: I saw in the Confluence Online Help that "Space administrators can customise the items that are visible in the Create dialog." on their Creating Content page but I haven't found a solution to this. Have you been able to resolve this? If so, please share.


Tags: wizard