youngmon/atlassian-qna huggingface dataset:
Java heap space : failure while Restore XML Backup Data
Asked by zhu zhu:

I am facing the above error while restoring XML data backup of Confluence (4.2.2). My Confluence version is 5.1.4

**I got java.lang.OutOfMemory: Java HeapSpace**

I made the following changes-

I Changed the **catalina.bat** file setting CATALINA_OPTS= -Xms512m -Xmx1024m in plugin directory

I tried giving the atlas-run --jvmargs "-Xmx1024"

Also I tried setting the MAVEN_OPTS= --Xms512m-Xmx1024min the atlas-run.bat

Is there anything needed to change apart from the above steps.

Now i can't complete version upgrade Kindly help me out on this.

Regards,


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

I also recommend to increase the XMS to the same value as the XMX to discourage the Garbage collector and increase performance. As Nic said, the XMX is the target to be increased here.

Cheers,

Rodrigo


author: Luiz Maia
body: Hello,

In addition to Nic's answer, you can also follow the below guide for instructions on how to increase the available heap memory in case you're running Confluence as a service:

<https://confluence.atlassian.com/display/CONFKB/How+to+fix+out+of+memory+errors+by+increasing+available+memory>

Regards,  
LM


author: Nic Brough -Adaptavist-
body: You've managed to hit almost every memory setting **except** the one you actually need to. Put the settings for catalina.bat and atlas-run.bat back the way you found them. Catalina is a default which is overridden later, and atlas-run has **nothing** to do with the installation as it's about a Confluence on an SDK, which you probably don't want to be importing into because it's for development, not testing anyway.

Find **setenv.bat** in the bin directory, adjust the -Xmx setting in there.

comments: author: zhu zhu
body: I edited the setenv.bat,but useless and still Java HeapSpace,so what should i do?


author: Nic Brough -Adaptavist-
body: No idea, what's the new error?


Tags: confluence-administration
Has anyone tried the Roadrunner add-on for Confluence?
Asked by Alan Arriaga:

I couldn't find many reviews about it, so I'm not sure how well it works


Answers:
author: Giuliano C.
body: Hi Alan,

If you are running a Confluence version prior to the 5.6.x ones, you can give a try to see how the add-on works. In the artemis documentation, you can find some pretty good details about the add-on: <https://artemis.atlassian.net/wiki/display/RRFC/Road+Runner+for+Confluence+Home>

However, if you are running a Confluence Cloud instance, I'm afraid that we could not use the add-on, if that's the one you mentioned, because[in the Marketplace page for this add-on](https://marketplace.atlassian.com/plugins/rr), it is only compatible until Confluence 5.6.x and the Cloud versions are in the latest versions of Confluence.

Cheers,

Giu


author: Jonas Andersson
body: Try it? :smile:


Tags: app

cloud
User failed to login after changing username in AD
Asked by RVal:

We have Confluence connected to Crowd directory for authentication. Crowd in turn pulls users from Microsoft AD. Every time existing user name is changed in AD for some reason the user fails to login with the following error:

org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2  
at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:590)

And indeed Confluence has 2 user names for the same user although when I check on Crowd it has only 1 (new one). Even running full synchronization of Crowd directory on Confluence does not help. The only work around that helped is creating a new Crowd directory and replacing old one with the new one.

Is there an easier (better) way to work around this issue ? Looks like this issue persists for a while and I'm not sure if Atlassian is going to fix it. It becomes really annoying as it happens quite often when user was created in AD with one name but then had to be renamed.


Answers:
author: Luiz Maia
body: Hello there,

This is a known bug that has been impacting Confluence and have already been reported to our development team. Please see <https://jira.atlassian.com/browse/CONF-30050> and <https://jira.atlassian.com/browse/CONF-36018>.

While this is not fixed, the workaround of re-adding the user directory is the best approach, but you can also manually delete the duplicated users through the database following the instructions from this guide: <https://confluence.atlassian.com/pages/viewpage.action?pageId=596181603>

Thank you.

Regards,  
LM[](https://confluence.atlassian.com/pages/viewpage.action?pageId=596181603)


Tags: confluence-administration
How can i configure a friendly url to pages with accent in name?
Asked by Samanta Miranda:

I need to reference the url's in my system, but all the pages that contain accent in their name have a diferent url, e.g: [http://help.alterdata.com.br/pages/viewpage.action?pageId=4100861#](http://help.alterdata.com.br/pages/viewpage.action?pageId=4100861).

<br />

Is there a way to configure all url's to a friendly url? (e.g: <http://help.alterdata.com.br/display/AS/Requisitos>)


Answers:
author: William Zanchet [Atlassian]
body: Hi Samanta,  

Actually that is correct, if any page has a special character or accent if you will, it will translate to a pageid number, that's how we designed Confluence and how it works. You could try to rename the page without the accent, otherwise we'll still have the page like that.  

Cheers,  
WZ

comments: author: Adrien Ragot 2
body: This is due to accents/special characters not being well recognized in URLs for many users. We've seen situations where simple characters like colon (":") or semicolon (";") were filtered for a user on their work computer but not on their mobile phone. I believe it's better that Atlassian optimized to provide a url which works for everyone.


author: Samanta Miranda
body: Tanks @William Zanchet \[Atlassian\] and @Adrien Ragot (Play SQL / CYO), but i have one more question, these id's will not be affected if i work with Scroll Versions? Because i'll publish the pages in a different space.


author: Cezariusz Marek
body: That's an old bug which Atlassian refuses to fix despite over 350 votes.

Add your vote here: <https://jira.atlassian.com/browse/CONFSERVER-11285>


Tags: special-character

url
Problem after upgrading
Asked by Simona Persico:

Hi all,

we are testing the upgrading of Confluence in our test instance: now the version is 5.1, but when I enter in my instance Recently Updated, the People Directory, Space Activity don't show any record.

We tried to rebuild the index (COntent indexing) , we tried also to [rebuilding the index from scratch](https://confluence.atlassian.com/display/CONFKB/How+to+rebuild+the+content+indexes+from+scratch), but the problem is always present...we need to upgrade to 5.8 but we stop untillwill solve this problem.

Someone can help me?

Thank you!

Simona


Answers:
author: William Zanchet [Atlassian]
body: Hi Simona,  

Based in your description a rebuild the index from scratch should fix this issue as the index is related to the fact that you can't have the recently updated, space activity and people directory working correctly.

I believe you might have some attachments that are breaking the index. Being that said, can you please try the following?  

<https://confluence.atlassian.com/display/CONFKB/How+to+disable+indexing+of+attachments>

Then do a rebuild of the content index from scratch again.

This should do the trick.  

Cheers.  
WZ


Tags: confluence-administration

space-directory

upgrade
plugin macro application
Asked by Hsu Yao Chang:

Dear all,

Would it be possible to found the sql query of macro detail? We would like to use it with database tool.

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Sorry, it's not clear what you are asking for - "found the sql query of macro detail" does not make sense. I suspect you are talking about an add-on as Confluence doesn't have sql macros built in, but you haven't mentioned which one (or if you are simply looking for one?)

comments: author: Hsu Yao Chang
body: Dear Nic Brough,

Thank you for your reply. For example, we use popular macro to make a report, we want to know the sql language which these data generate? Can we do it ?


author: Nic Brough -Adaptavist-
body: What macro? And why do you want SQL from it? Macros may run off the index rather than the database, so the answer could well be "no SQL is run"


Tags: confluence-administration
how to create a browse by topic section in confluence space?
Asked by Akhil_vs:

Hi I am new to confluence and want to know , how to create a browse by topic section in a space so that the pages gets arranged in the alphabetical order as shown in the picture. I am attaching the picture also along with it.


Answers:
author: Stephen Deutsch
body: Hi Akhil,

I think I might know what your problem is now. As I said, if there are not enough labels used, it will simply show from A-Z and not divide it up by letter. There is no way to change this as it is built in Confluence functionality (unless you get Atlassian to change it or someone writes an additional macro).

If the problem is that it is only showing labels from the current space and you want to show labels from all spaces, then you will need to change where it says "Restrict to this space key" to "@all". This is a special term that tells Confluence to look in all spaces.

comments: author: Akhil_vs
body: Thanks a lot stephen it worked. It was due to lack of labels. I created more labels and it automatically started arranging in alphabetical order section wise. I regret for asking this question again, I am completely new to confluence.


author: Stephen Deutsch
body: It's not a problem, we were all new to Confluence at one point :)


author: Stephen Deutsch
body: I see that you have a page you want to copy exactly. The easiest way to do this:

On the page you want to copy, click the ??? menu and choose "View Source"

Press Ctrl+A to select everything, press Ctrl+C to copy

Create a new page and paste (Ctrl+V), and the new page should have exactly the same macros as the page you wanted to copy. The formatting will be a little different (page sections you will have to do yourself, but that shouldn't be too difficult), but after fixing it up you should have a page exactly equal to the one you wanted to copy. If it is different, it is probably because of some setting on your Confluence instance.

Could you try this?

comments: author: Stephen Deutsch
body: If the labels list isn't showing multiple letters like you want, it's probably because you don't have enough labels :)


author: Akhil_vs
body: I got what you are trying to say. But as i am a beginner to this i want to know how to make the label arranged in that alphabetical order.Is there a special macro for it. (I have created labels from a-z). . and i am new to using those labels and macros.


author: Akhil_vs
body: Hi stephen i am getting an error while uploading the picture, so i uploaded it in an external site <http://postimg.org/image/fkk85rhb3/> .Here you will see the browse by topic option, i need to know exactly how it is done. I can only reply to this after 24 hours so expecting a positive reply. I have tried my inserting a macro and came up with this <http://postimg.org/image/ow4ptxt8h/> . But i need it exactly as in first picture.


author: Stephen Deutsch
body: Hi Akhil, no picture ever got attached ;)


Tags: cloud

confluence-cloud
Confluence mobile - where did the page nav go?
Asked by Dave O'Brien:

Just set up a wiki with a tree of pages. Looks fine on desktop, but on the mobile version, there is NO way to navigate using the page tree - the hamburger menu doesn't offer it, the breadcrumb above the title has been removed, etc.

So basically, on mobile, there is no site structure available, just a list of "popular" links.

Seriously? Is there any way to show a page tree on mobile?

I suppose I could add a page tree to the bottom of each page, but that seems like a hack...

Any help appreciated!


Answers:
author: William Zanchet [Atlassian]
body: Hey Dave,

Yes, the mobile version has some limitation and that is one of them. Our team is already focusing in Mobile to have everything available... So stay tune for the next releases.  

Cheers,  
WZ

comments: author: Andy Folland
body: This reply was posted almost 5 years ago.  
Should we continue to "stay tuned"?


Tags: cloud

confluence-cloud
How do I produce a list of all attachments and the pages they are attached to?
Asked by Jason Finns:

I need to produce a list of all attachments in Confluence, and the pages they are attached to. I am attempting to pull this information from the database, but cannot see a way to join the ATTACHMENTS table to the CONTENT table.

I cannot use the listing of attachments in the Content Tools section of a space, because I need this information exported to Excel.


Answers:
author: Luiz Maia
body: Hi Jason,

In fact I also don't see any method to join the Attachments and Content tables from the database, however, this tables have been merged since Confluence 5.7. Now attachments are listed on the "contenttype" column from the Content table, so you would be able to query all content where the contenttype column is an attachment. Below is an example query for that:

```
SELECT * FROM CONTENT WHERE contenttype LIKE 'ATTACHMENT'
```

I'm not sure if it would be feasible for you to upgrade Confluence to 5.7 or later, however it's the only workaround I see for that.

Thanks.

Regards,  
LM


author: Bob Swift (personal)
body: You can use the [Confluence Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/CSOAP) to produce lists of attachments in CSV format that you can import into Excel. Use the [getAttachmentList](https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-getAttachmentList) action.


author: Jason Finns
body: Thank you for your answer Luiz. Unfortunately, I cannot upgrade my Confluence instance right now, so it appears that I am out of options, which is dissappointing. I appreciate your reply though.


Tags: confluence-administration
why does bolding text alter formatting elsewhere
Asked by David DesRoches:


Answers:
author: Doug Swartz
body: In general I don't see this behavior. Can you give us an example?

comments: author: David DesRoches
body: I'm editing a collection of Confluence pages that were imported (1-2 years ago?) from Google Docs. The formatting is pretty screwy and I'm trying to clean that up. If I select a block and start with "Clear Formatting" things go better. But still sometimes I'll go back and bold a word and Confluence will insert a blank space in front of a line 5-10 lines above the one I touched.It seems like there might be invisible traces of style and formatting left over that are messing with the WYSIWYG data model.
how to cancel
Asked by Bonnie Carberry:

how the fuck do i cancel this


Answers:
author: Milo Test
body: This might help:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=321257595>


author: Nic Brough -Adaptavist-
body: Cancel what?


author: Rodrigo Girardi Adami
body: In case you want to cancel the cloud subscription, please follow Milo Grika answer.

If you want to cancel a Confluence license, I suggest to reach the Atlassian Sales team for refunds is applicable.

Cheers,

Rodrigo
Confluence Cloud support for websequencediagrams?
Asked by Jim van Dam:

Are there any plans to support the [websequencediagrams](http://www.websequencediagrams.com/) plugin for Confluence Cloud?

We would really like to integrate that functionality with our Confluence Cloud spaces.

The [hosted-plugin](https://marketplace.atlassian.com/plugins/net.oharagroup.confluence.plugins.confluence-sequence-diagrams) is also currently marked as 'unsupported', while the plugin only calls their external service and returns an image based on the text. This seems harmless, but maybe there are other issues?

Jim


Answers:
author: Adilson Maria
body: Agree with that too! Would be great to support WebSequenceDiagrams on Confluence on Cloud. Any plans for that or may you explain if there is any restriction to make it available today?


author: Slava Guzenko
body: Agree, WebSequenceDiagrams is extremely useful and it should be available in the Cloud version of confluence!


author: Robert Massaioli _Atlassian_
body: There is a paid add-on on the Atlassian Marketplace that gives you this feature: [confluence-sequence-diagrams](https://marketplace.atlassian.com/plugins/net.oharagroup.confluence.plugins.confluence-sequence-diagrams/cloud/overview)

That might meet your needs.

comments: author: Jamie Kenas
body: Hey Robert... Thanks for the quick response.

I have tried that add-on, it's just not quite on par with the websequencediagrams solution which seems to work perfectly with your on-prem solution.


author: Jamie Kenas
body: I agree with Jim, [websequencediagrams](http://www.websequencediagrams.com/) is tremendously more productive for creating sequence diagrams than Gliffy. They have a plugin that works with the on prem version of Confluence. It would be awesome to make that available to the confluence cloud users as well.

<http://www.websequencediagrams.com/confluence/>


author: Jim van Dam
body: Yes, we have a subscription and actually use Gliffy for a lot of our diagrams. But, nothing beats the very quick creation and easy maintenance of sequence diagrams using wsd. We have quite a lot of them (sequence diagrams) and it would be great to integrate it seamlessly in Confluence Cloud.


author: Robert Massaioli _Atlassian_
body: Have you considered Gliffy as an alternative? <https://marketplace.atlassian.com/plugins/com.gliffy.integration.confluence>


Tags: cloud

confluence-cloud

questions-for-confluence
Brikit Theme different layouts for one space
Asked by Powermax1990:

Hey guys,

we use **Confluence** including **brikit theme press**. We created different layouts for some products. Like Layout A for product A, Layout B for product B and so on..

Now i know it is possible to set a default Layout, which will be activated automatically by creating new pages. But there is my problem.   

Because we have different layouts in one Page tree:

**Product A**   
\>\> content pages  
\>\>\> sub page 1  
\>\>\> sub page 1

<br />

**Product B**   
\>\> content pages  
\>\>\> sub page 1  
\>\>\> sub page 1  

etc.  

My finally quest ist how we can set that new pages in the pagetree in Product B becomes Layout B and pages in Product A becomes Layout A automatically?  

In expression predefined layouts based on the pagetree (all pages include in one page have a predefined layout?). That means split the space layout setting to a pagetree based one?  

Because its very strong to edit each page after creating and override the false layout by clicking on the right one in the Page Designer \> Layout Source \> Override Layout...  

Have anyone an idea how to reach this :/ ?  

Thanks a lot


Answers:
author: Maggie Modersohn
body: Hi @Maximilian K?rbel,

Thanks for your question! As you already mentioned, you can set a different default layout on a space by space basis (e.g. Layout A for the Space Product A and Layout B for the Space Product B).

Looking at your question however, it sounds like you haven't separated your Products A and B into different Spaces, otherwise you would be able to set a different default layout for each Space.

There is currently no way to set a different default layout within the same space, you would have to manually override the layout on a page-by-page basis.

My recommendation would be to have different Spaces for Product A and B. You can also file a feature request on brikit.atlassian.net if you would like to have the option to define that all children of one page automatically follow its layout.

I hope this helps. If you would like to discuss this in more detail or prefer to write in German, feel free to email me at maggie at brikit dot com.

Thanks,

Maggie

comments: author: Powermax1990
body: Hey, thank you for your answer @Maggie Modersohn.

An image to explain what i want to do.

<http://fs2.directupload.net/images/150923/sfp8rzuv.png>

Is there no way to define this? For the usecase e.g. displaying not all content in a pagetree (if there 20 Products). Only showing the pagetree of this product and not the others. For this problem we created Layout pages with the changed pagetrees for every product.

Is there a way to do this without 20 Layouts (with 20 seperated pagetrees)?


Tags: addon-com.brikit.themepress

brikit
Must remove group permissions twice for them to be removed
Asked by Nathan Hans:

In Confluence, I want to remove a group from the space permissions. I edit permissions, deselect all for the group. Click save - Group still shows with perms. Edit again, deselect all. click save. Group now doesn't have any permissions.

I would like ti to be removed the first time.

Confluence 5.7

Firefox 40.0.4

Chrome 45.0.2454

IE 11.0.9600


Answers:
author: Antonio Smith
body: This is still happening in version 6.13 Server Enterprise


author: Nathan Hans
body: Yes when I uncheck all the groups manually it also exhibits the same behavior.


author: Guilherme V.
body: Hey Nathan,

Is this only happening with the "Deselect All" button or it happens too when you "uncheck" all groups manually?

Cheers,


Tags: confluence-administration
Does CQ notify a user of someone having downvoted his question/answer?
Asked by werner_baderschneider:

I don't understand the behaviour of CQ regarding email notifications. When and in which cases does a user get notified about votes on his questions and answers? Obviously there is no notification about a downvote and not all upvotes generate a notification.

Is there any documentation about how CQ does notifications?


Answers:
author: Luiz Maia
body: Hi Werner,

Currently Confluence Questions only trigger notifications when answers are accepted. Upvotes and downvotes are not included.

We have a improvement request to add Confluence Questions notifications to the Confluence Workbox. This would allow mail notifications to be configured for this. I suggest you vote on this request: <https://jira.atlassian.com/browse/CQ-172>

Regards,  
LM

comments: author: werner_baderschneider
body: I tested this issue again and I definitly got a notification mail about an upvote for my answer. It says "Mustermann, Max hat f?r Ihre Antwort gestimmt" (google translates this as "Mustermann, Max has voted in favor of your reply") and includes an up-arrow. So where can I find any documentation about the behaviour of notifications in CQ?


Tags: documentation

notification

questions-for-confluence
Hi All, I am trying to use a trial version of Confluence Cloud. But all I can see is the Confluence Documentation pages. I would like to play with the application instead. Could anybody please help?
Asked by Shubhra Kanti Acharya:

Hi All, I am trying to use a trial version of Confluence Cloud. All I could do till now was to log in with my credentials. And all I can see is the Confluence Documentation pages. I would like to play with the application instead. Could anybody please help?


Answers:
author: Mallmann
body: Hi there,

Have you tried to sign up for the free trial in this page? <https://www.atlassian.com/software/confluence/try/>

You should be able to click on *Free Trial* at the bottom of the plan you want to try, then the page will guide you through the necessary steps to get your Free Trial instance ready to use.

Let me know if you have any questions.

Eduardo


author: Nic Brough -Adaptavist-
body: When you set up the trial, you will have been asked for a name which gets translated into a url where your cloud system will live. You need to go there. It should be shown in your my.Atlassian account as well.


Tags: cloud

confluence-cloud