youngmon/atlassian-qna huggingface dataset:
How to make logout work with seraph in Confluence 4.3?
Asked by Kitt Lee:

Hi,

We used this guide (<http://docs.atlassian.com/atlassian-seraph/latest/sso.html>) to write our custom authenticator. Everything works fine i.e. it manage to call our login servlet and redirect back to confluence and shows that the user has logged in to confluence. However, when the user tries to logout by accessing logout.action, it always redirect to login.action?logout=true and shows the following on the page:

You are currently logged in as xxx.

[Click here](http://olcdev.spe.org/olc/dashboard.action) for the dashboard. To log in as another user, you must first [log out](http://olcdev.spe.org/olc/logout.action).

Can someone help to guide us how to make logout working with seraph in confluence 4.3?

Many thanks,

Kitt Lee


Answers:
author: Kitt Lee
body: I found a not-that-elegant solution by adding back the xwork.xml into 4.3 and remove those action mappings for those actions that were having errors prompted.


author: Vladimir Vasilyev
body: Hi Kitt! Recently I faced the same problem and found the solution. In my case it is Confluence 3.5 but I'm pretty sure that it will work for you too.

1) extract xwork.xml from /WEB-INF/lib/confluence-4.3.jar;

2) edit xwork.xml and search for logout action there. Replace result where name="success" to this one:

\<result name="success" type="redirect"\>YOUR_LOGOUT_URL\</result\>

3) put updated xwork.xml to /WEB-INF/classes/

4) restart Confluence.

I hope it will help.

Cheers,

Vladimir.

comments: author: Kitt Lee
body: Hi Vladimir,

Yes I did the same steps in 3.5 before upgrading to 4.3. The logout is still working in 4.3 after upgrading but there were some errors prompted saying some actions couldn't be found in 4.3.

I removed those action mappings from the xwork.xml and everything seems working OK now in 4.3.

Thanks a lot for your reply.

Kitt


Tags: seraph
Confluence Space Migration
Asked by Randy Mcelroy:

We have moved an entire space from one Confluence server to a different server. We performed an XML export and then resored the space onto the new server. Once the space was migrated we reindexed the new server. The problem is that the links are still pointing to the old server. IS there something missing in the instructions that changes the links or do we have to manually update all of the links? We have about 300 pages that we migrated that now have incorrect links.


Answers:
author: Bob Swift (personal)
body: [How to automate adding text to Confluence pages](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+automate+adding+text+to+Confluence+pages) can help correct the situation.


author: Septa Cahyadiputra
body: Hi there,

If the links mentioned are using URL, then it is necessary for you to manually change the links to the new URL as Confluence has no way to modify URL link automatically.

Hope it clarified your doubts.

Regards,  
Septa Cahyadiputra
AOD Confluence only users can't change password
Asked by Tyler Johnson:

I setup a number of users as confluence only. It seems like these users only have a subset of Crowd functionality. Most importantly, they can't change their password from their profile page.

Does this sound correct? Am I missing something?

Thanks!


Answers:
author: Michael Knight
body: Hi Tyler,

This is a known issue in OnDemand at the moment: <https://jira.atlassian.com/browse/AOD-6089>

We have a fix for it, which should be deployed in an upcoming release soon.You can [contact Support](https://support.atlassian.com) and ask them to apply a temporarily workaround to get this working until then.


Tags: cloud

confluence-cloud
Global spaces are not shown on dashboard after Upgrade from Confluence 3.5.16 to 4.3.1
Asked by Julio Mugabe:

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


Answers:
author: Septa Cahyadiputra
body: Hi there,

Could you please elaborate on more detail in regard to no global space shown detailed. By default, Confluence 4 will only display 20 spaces in the dashboard, while the other are accessible trough Space Directory.

If there are no spaces listed at all, you might want to check if there are any customization done on your dashboard and revert it back to default (backup it first) for troubleshooting purposes.

UPDATE:

Thanks for the screenshot. Looks like it is an indexing issue. For troubleshooting purposes you might want to try to disable [all attachment indexing](https://confluence.atlassian.com/display/CONFKB/How+Do+I+Disable+Indexing+of+Attachments), reindex from scratch again and see if the issue persist.

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Julio Mugabe
body: Hi Septa..

Thanks for the note. I have attached a snapshot of the dashboard. There are about 70 global spaces and non of them is displayed at all. Below are the steps are carried out before I run into this issue:

* Created a duplicate copy(test instance) of production Confluence 3.5 and this worked well with not glitch..all spaces were visible
* I then upgraded the test instance to 4.3.1 and again it completed successfully BUT the global spaces are not showing.


author: Julio Mugabe
body: I also tried re-indexing and it did not help at all. Also there is not customizaton on the dashboard.


author: Septa Cahyadiputra
body: Thanks for the screenshot. Looks like it is an indexing issue. For troubleshooting purposes you might want to try to disable [all attachment indexing](https://confluence.atlassian.com/display/CONFKB/How+Do+I+Disable+Indexing+of+Attachments), reindex from scratch again and see if the issue persist.


author: Julio Mugabe
body: I tried this a couple of hours ago and it did not work.


author: Septa Cahyadiputra
body: Is Confluence integrated with LDAP?


author: Julio Mugabe
body: It is integrated with AD and not ldap.


author: Julio Mugabe
body: Managed to fix this. 4.3.x has a new field called spacestatus in the spaces table. During the upgrade process, a null value is placed in there for each space and thats why the spaces dont display on the dashboard. If u manually update this to current for each space., this issue gets fixed.


author: Edwin Stol
body: I am experiencing the same problem; this did not occur moving from 3.5.2 -\> 4.3, but it does when moving to 4.3.6. Is this issue fixed in a newer version?


author: Edwin Stol
body: There is a KB article for this:

<https://confluence.atlassian.com/display/CONFKB/Spaces+are+not+Being+Displayed+on+Dashboard+or+in+Spaces+Directory>


Tags: space
We cannot properly configure Confluence to work with imported SSL cert from IIS
Asked by Network Administrator:

We purchased a wildcard SSL certificate from GeoTrust. We did the CSR through IIS on a different server than the one that runs Confluence. We then exported the certificate from that Windows server with the private key. We used instructions on GeoTrust's site, on your site, and on other sites, and we cannot figure out how to get Confluence to use the certificate. We've been able to convert the certificate into just about any file type out there, but none of those have worked for us.

What does Confluence require of the certificate? What file type does it need to be (.keystore, .key, .cer, .crt, .pfx)? What pieces need to be in the file (private key, public key, secondary CA cert, primary CA cert)? I don't see anywhere in the server.xml connector that mentions the alias; is an alias even necessary?

I have already contacted GeoTrust about this, and they basically said what we have already figured out: We can do pretty much anything we want with the certificate once it has been exported with the private key, but it depends on the constraints of the program that is trying to use it.

Any help would be greatly appreciated.


Answers:
author: Harry Chan
body: Hi[,](http://www.cloudshards.com) Confluence uses Tomcat. Have you tried following Geotrust's Tomcat installation instructions? <http://www.geocerts.com/install/tomcat>

Give it a try and post back if there are any problems[.](http://www.queryfoundry.com)


Tags: certificate

iis

ssl
Configure maximum lifetime of session in Confluence
Asked by Jeffrey Shank:

A client of ours has some very strict IT security rules for vendor systems that will contain sensitive data. One such rule is that a user may not be logged in for more than 10 hours without re-authenticating, regardless of activity.

I believe this is different from session-timeout in web.xml which seems to deal with inactivity timeouts.

Can you please help me understand how I can meet this requirement, if possible?


Answers:
author: Jeffrey Shank
body: I'm asking this question for Confluence as well as JIRA, hence the duplicate. I edited the title and tags to be more clear. Any chance I can get this reopened?


Tags: timeout
Change text color in "heading"
Asked by Derek Gieselman:

Hello,

Is anyone aware of a way to change the text color when working in anything other than "Paragraph"?

<br />

We have not been able to change the text color unless working in "paragraph". We are using Confluence 4.

Thanks in advance,

Derek


Answers:
author: Selcuk Savas
body: Hi Derek,

It should not be an issue. We are on 4.1.4 and it is working fine.

You may want to create a support ticket .

In the mean time, you can use html marco and specify tyhe color or use wiki markup to specify the color

```
{color:green}Bat out of Hell.{color}

I hope it helps.

Cheers,

Selcuk
```

comments: author: Derek Gieselman
body: Thank you very much for your quick response. I didn't think that this was acting normal. The workaround is appreciated!

-Derek


Tags: cloud

confluence-cloud
Stop search results from bringing up attached images.
Asked by Derek Gieselman:

Hello,

Hoping someone will be able to help with this.

When using the search macro, results show image names that have been attached to our pages. We would like the ability to use the search but have the results only show spaces, so the users are not bogged down with image files that are not useful.

Any help is much appreciated.

Thanks in advance,

Derek


Answers:
author: MJ
body: Hi,

I have played around with the search box macro in Confluence to see if I could come up with something that would be fitting for your situation. I'm afraid there isn't a solution to your situation, unless you do not mind the concessions to be done to the search as I will describe in the next paragraph.

When you have inserted the search box macro, you can hover over the the icon that gets created, and choose edit.  
If you then scroll down until the point you reach "Object type", you can define here to which objects your search should be limited. In your situation you could choose for the object "pages" to limit your search. This however excludes blog posts and comments. Attachments are treated as an object, but I have not been able to find any method to EXCLUDE an object from a search box, nor to include multiple objects.

I have created an improvement request for adding excluding objects or including multiple objects to a search box. You can find it [here](https://jira.atlassian.com/browse/AOD-6183#comment-414104)


Tags: cloud

confluence-cloud

search
Why isn't the Media Macro able to find the audio file attached to the page?
Asked by Sami Moran:

Hi, there.

I'm trying to use the Media macro to embed an audio recording on a Confluence page and am getting the following error message:
> Error rendering macro 'multimedia': com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'filename.MP3'

The file is attached directly to the page. I thought that perhaps Confluence just wasn't recognizing that the file is there, so I tested it by creating a link to the attachment. The link works: it opens a new tab and the file plays (eventually).

Am I doing something wrong? What would cause the Media macro to be unable to find a file that is directly attached?

Thanks!

Sami Moran


Answers:
author: Jonathan Simonoff
body: The multimedia macro seems to have trouble with spaces in a filename.

comments: author: Sami Moran
body: Removed the spaces in the file name, and this fixed it.

Thank you!


author: Jonathan Rivas
body: Any other ideas? Even with no spaces I still get an error. I can actually find the the media when i originally use the multimedia macro (if I use a !). However, once I go in and try to edit the macro to adjust size the file can no longer be found.

Even though it is clearly attached to the page.


author: Erin Brusnahan
body: For what it's worth, I'm having that same issue -- that once I try to edit the macro for adjusting size, the file can no longer be found. Reverting to an earlier version of the page restored the macro's ability to display the file, but it's obviously not an ideal solution.

Removing the colon from the page title fixed the "cannot find attachment" nonsense, even though that bug (<https://jira.atlassian.com/browse/CONF-37284>) is ***supposedly*** fixed.


Tags: macro
Why does attached audio file take so long to load with Firefox?
Asked by Sami Moran:

Hi!

I attached an mp3 file to a Confluence 4.0x page and created a link to the attachment.

Using Safari, the attachment loads and plays within a few seconds. With Firefox, it takes more than 3 minutes. Perhaps the problem isn't Confluence, but I play audio files in Firefox frequently. I'm only seeing the problem when the file is coming through Confluence.

Any idea what's going on? Or do we just have to tell our users to use a different browser? :-(

Thanks!


Answers:
author: AlysonA
body: Hi Sami,

Can you confirm which Firefox version you're using? According to the [Supported Platforms for 4.0](https://confluence.atlassian.com/display/CONF40/Supported+Platforms) page only the 3.6, 4.0, 5.0 and 6.0 versions have been tested with Confluence, this might be related.

If the above is not the case, you might want to look at your atlassian-confluence.log located under \<confluence-home\>/logs directory. It may provide some clue here.

Cheers

comments: author: Sami Moran
body: Hi, Alyson.

Thanks for the information. Here's the relevant excerpt from Supported Platforms for 4.0 page you pointed to:
> Mozilla Firefox (all platforms)
>
> ![(tick)](https://confluence.atlassian.com/s/en_GB/3391/c989735defd8798a9d5e69c058c254be2e5a762b.16/_/images/icons/emoticons/check.png) Latest stable version supported   
> ![(tick)](https://confluence.atlassian.com/s/en_GB/3391/c989735defd8798a9d5e69c058c254be2e5a762b.16/_/images/icons/emoticons/check.png) Tested with 3.6, 4.0, 5.0, 6.0 \<sup\>([6](https://confluence.atlassian.com/display/CONF40/Supported+Platforms#SupportedPlatforms-6)\</sup\>\<sup\>)\</sup\>

I'm using Firefox 16.0.4, which is the most recent version. I imagine Firefox 6.0 would be several years out of date. :-)

I'll go look at the logs and see if there are any clues.

Thanks again!
Most Of The Time I Don't Want A Blank Line Automatically Inserted
Asked by OptionSystems:

I don't

want the

blank line

If I wish / choose

I don't want the blank line

Cannot figure out how to stop this

It always seems to give me double spacing

whether want it or not

Confluence / OnDemand

Thanks - Grant


Answers:
author: Michael Knight
body: Hi Grant,

Try holding 'shift' when you press 'enter' to avoid this.

comments: author: OptionSystems
body: Hi Michael,

<br />

Thanks  
Works  
Like   
A  
Bought  
One

Thanks - Grant


Tags: cloud

confluence-cloud
No Favicon for Confluence
Asked by Julia Bell:

There is no favicon for my Confluence OnDemand. Even for spaces which have a custom logo uploaded, even though there is a favicon for Jira (the default). I am using Chrome as a browser.

There is also no favicon for bamboo or fisheye/crucible.

Julia.


Answers:
author: Jeison
body: Hi Julia,

It seems to be a limitation of the latest release, but there's an open improvement request at <https://jira.atlassian.com/browse/AOD-6075>, which aims for having this implemented in the near future. You may want to vote for this improvement request to raise its visibility, and add yourself as a watcher to keep track of the process.

Hope it helps!

comments: author: Ian Munday
body: Any update on this? Rather annoying when working with tabbed browser to not have this.


author: Michael Knight
body: No news on this as far as I know. Any updates will be in [CONF-8247](https://jira.atlassian.com/browse/CONF-8247).


author: Robert Westman
body: I have a downloaded version of confluence and can't see any favicon, although the favicon.ico is in the CONFLUENCE/confluence folder.  

What should I do / where should i post this to get help? :)  

Regards, Robert


author: Ellen Feaheny [AppFusions]
body: Voted here - [CONF-8247](https://jira.atlassian.com/browse/CONF-8247) - and its climbing, so join up OnDemand-ers...


author: Ellen Feaheny [AppFusions]
body: Voted here - [CONF-8247](https://jira.atlassian.com/browse/CONF-8247) - and its climbing, so join up OnDemand-ers...


Tags: cloud

confluence-cloud
How to search within an expand within a page full of collapsed expand macro's
Asked by ProjectMatthias:

Hey guys,

I'm currently working on a basic page of information for a product. The page is constructed with a plethora of information behind multiple Expand macros (with a total of 100+ expand macro's each with a lot of info behind each one). My problem is I can't find a search engine/macro that will search within these Expand macro's to display results. It would be best to have that page expanded upon the search.

I'm working with a small team of others working with the following versions:

* [Adaptavist Theme Builder](https://www.adaptavist.com/) 4.3.1
* ? Powered by [Atlassian Confluence](http://www.atlassian.com/software/confluence) 4.2.13

Again, my knowledge of the inner workings of Confluence is very limited, so a basic explanation would be amazing!! Thanks for your time.


Answers:
author: Clint Lester
body: I've been having this issue still to this day. Is there any solution to this nearing seven years later? The recommendation is to avoid expand macro in favor of child pages and tabs at this time.


author: Ralf Werner
body: Hi Brandon, the "page tree search" macro could be used to display some of the search hits from inside the EXPAND blocks on a seperate page - but when clicking on the header you get redirected to the original page with all of the items folded...

Same problem here - a big alphabetically sorted topic list using EXPAND blocks - but no way to "search and unfold".


Tags: cloud

confluence-cloud
Can anonymous users see an "include excerpt" from a restricted area?
Asked by Shreena Patel:

Hi there,

I have a section in my confluence space restricted to us only (i.e. internal staff), the rest of the pages are for our user documentation-will be treated as anonymous users once I have completed working on it. If I want users to see a segment of a page which is under the restricted area, how can I do this? At current, I have an "excerpt" in our restricted area and "include excerpt" on the user documentation page for them to see. This is so our developers can add information to their page, which is in one area. Is this correct way to do this or is there a way to give that page partial restrictions to allow this? I don't want to do this the other way around where the excerpt is included in the restricted area section because that will mean the developers have to find the right page within the documentation and edit it. Not sure if this possible.

Your support would be much appreciated.

Thanks,

Shreena


Answers:
author: twong_atlassian
body: Nope. Excerpt-include leverages perms. If they couldn't get to the original content, they access it from another page. If you could, it would represent a significant hole in the entire security structure of Confluence.


author: AgentSmith
body: Greetings!

In general you can leverage the default space permissions and manage permissions accordingly:

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>

There are additional requirements that seem very similar to what you are trying to acheive. You can review the following links and if interested, you can vote and watch them for updates:

* [https://jira.atlassian.com/browse/CONF-7089](http://jira.atlassian.com/browse/CONF-7089)
* <https://jira.atlassian.com/browse/CONF-7742>

I hope this response was helpful. Please let us know if you have any questions.

Cheers,  
Jason \| Atlassian


Tags: cloud

confluence-cloud
Converting from LDAP/AD authentication to local user authentication
Asked by Brian Hart:

I'd like to discontinue use of LDAP/AD authentication in favor of having Confluence-defined users, passwords, and groups. What is the best way to accomplish this so that users won't become unlinked from their pages?


Answers:
author: PauloP
body: Hi there

You should move all the users from LDAP to internal directory. To do that, you can just create the users manually (one by one) in internal directory or performing some SQL statements against your database.

Perharps the following post could be useful to understand what are the tables related to it:

[https://answers.atlassian.com/questions/87000/how-to-migrate-users-from-one-directory-to-another-using-sql?page=1#87293](/questions/87000/how-to-migrate-users-from-one-directory-to-another-using-sql?page=1#87293)

Nonetheless, you my look for further assistance at <https://support.atlassian.com> , raising a new support ticket.

Cheers,

Paulo Renato


Tags: account

authentication

external

ldap
Confluence: how to remove unused space
Asked by Igor Kozhukhov(dilos):

how to remove unused space on onDemand Confluence?

I can add new space, but I can't remove created unused spaces.

-Igor


Answers:
author: Abdoulaye Kindy Diallo
body: Hey Igor,

You can refer to the below guidelines:

* [Deleting a Space](https://confluence.atlassian.com/display/DOC/Deleting+a+Space)
* [Deleting a Page](https://confluence.atlassian.com/display/DOC/Deleting+a+Page)

Hope that helps !!!

comments: author: Igor Kozhukhov(dilos)
body: thanks, it helped.

-Igor


Tags: cloud

space
update space view content
Asked by Igor Kozhukhov(dilos):

Hello,

I have Confluence onDemand for DilOS project - dilos-dev.atlasian.net/wiki/

Could you please help me with configuration Space Content with the same vision as <http://wiki.openindiana.org/oi/OpenIndiana+Wiki+Home>

I want to have:

- on left side: pages

- on right site: page content

how can I configure it by myself or only onDemand admin have permissions for this operation?

Best regards,

-Igor Kozhukhov


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Apply the documentation theme.

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

A space admin can do this.

comments: author: Igor Kozhukhov(dilos)
body: thanks for your answer - works well!

-Igor


Tags: cloud

content

space
How do I add a Confluence trial to my on demand installation of JIRA?
Asked by James Carrington:

I want to try confluence with some colleagues. We have Jira on demand, and want to try Confluence on the same installation.


Answers:
author: Thiago Ribeiro
body: Hello,

To add Confluence to an existing OnDemand account you simply need to log in at [my.atlassian.com](http://my.atlassian.com) and click on manage option. There you will be able to add Confluence and other add-ons.

I hope it helps you!

comments: author: Nathan Keilar
body: Where exatly should it show up? Help ![](http://www.evernote.com/shard/s27/sh/675619b7-c7be-4c29-9918-9e5bfd68165f/1a7037c45612d8364f813d44eafd5b1f)![this is all is see](http://www.evernote.com/shard/s27/sh/675619b7-c7be-4c29-9918-9e5bfd68165f/1a7037c45612d8364f813d44eafd5b1f)


author: James Carrington
body: Thank you - I actually already figured it out from the other answers on here :) Hopefully I have closed the question properly this time! :p