youngmon/atlassian-qna huggingface dataset:
How long should rebuilding confancestors take?
Asked by Tim Colson:

We noticed some issues that seemed to indicate a need to rebuild the confancestors table as described in this CONFKB: <https://confluence.atlassian.com/display/CONFKB/Unable+to+Move+Pages+with+Attachments>

We fired up the rebuild process...but hours later, the confancestors table only had \~33 entries, nearly 14 hours later, only about 500 entries. In one of our other servers, there are over 800,000 entries. Both systems have over 400,000 pages.

How does the confancestors rebuild process work and is there a way to gauge how long it should take based on the number of pages, or some other metric from the DB?

Follow-on question: are there things that could slow it down, like, for example, a hierarchy in a space that is 100+ levels deep? (yes, really, we have that)


Answers:
author: Sergey Svishchev
body: This magic process is poorly documented -- have you tried asking support?

Maybe one day they will make it automatic (see [](https://jira.atlassian.com/browse/CONF-25188)<https://jira.atlassian.com/browse/CONF-25188>)


Tags: confluence-administration

enterprise
Renaming of Confluence Attachments
Asked by Fabian Toth:

Hi,

i want to rename attachments files within Confluence pages.  
Within the Confluence Documentation, it is described to rename the file by clicking on "properties" next to the respective attachment:

<https://confluence.atlassian.com/display/DOC/Editing+Attachment+Properties>

But there is no link like "properties" next to my attachments:

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

Can anybody help me with this issue?

Thanks

Regards, Fabian


Answers:
author: Bernd Schneider
body: I also couldn't find the solution, but then I found that one step is missing in the description:

* Click 'Lock to Edit'

After that the 'Properties' link appears.


author: Michael Salisbury
body: Hi all, has there been any resolution to this? I am experiencing the same issue with version 5.4.3


author: Fabian Toth
body: Hi Patina, i am using Confluence 5.3 and if i click on "EDIT", the attachment will be opened via the "GO Edit" Plugin within the respective tool like MS Word.


author: rambabu patina
body: Hi Fabian,

Could you please let me know your confluence version. In your screen shot "Edit attachment" is showing if you click on it what is happening let me know.

Thanks,

Patina


author: rambabu patina
body: To edit an attachment's properties, you need the 'Create Attachments' permission. See [Space Permissions](https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview). please contact your admin.

Thanks,

Patina


author: Fabian Toth
body: Hi rambabu, thanks for your answer. I am the admin from the Confluence instance and have full permissions.


Tags: attachment

property
Import XML Download Export to Cloud
Asked by Mick Davidson:

Hello,

We've got both download and cloud Confluences. We want to export lots of pages (but not an entire space) from download to cloud.

Any thoughts or ideas on this - or is it a straightforward import?

Obviously we'll run a custom export so that we only take the pages we want.

Any advice will be much appreciated.

Cheers.


Answers:
author: JohnA
body: Hi Mick,

The only way you will be able o do this is as a space import as this is the only option you have for getting the data into an OnDemand instance. So, what I would do would be to create a new space, transfer the required pages and then export/import that space into the OnDemand instance.

Of course as this is a space import you will also have to make sure that the data is in the same "major version" and this will most likely also involve having to upgrade the data to the correct OD version before transferring the space to the OnDemand instance, but I have included links to the relevant documents you will need below:

Copy pages to new space: <https://confluence.atlassian.com/display/DOC/Copying+a+Page>

Export/Import new space into OnDemand instance: <https://confluence.atlassian.com/display/AOD/Importing+a+Confluence+Space>

All the best,  
John

comments: author: Mick Davidson
body: John,

Thanks, that's excellent. I'll pass it on to those lucky enough to be doing the work. :)

Cheers.


Tags: cloud

download

export

import

xml
User profile plugin - authorising changes
Asked by Steve Thornhill:

Is it possible to preview user changes to the user profile plugin entries prior to publishing them?

This is to ensure that any updates are valid. I've not seen any way to do this yet.


Answers:
author: StephanieC
body: Hi Steve,

a reviewer mechanism is not part of ther User Profile Plugin at the moment. I've created a requirement on your behalf in our JIRA project: <https://jira.communardo.de/browse/UPP-354>.   
Feel free to vote on this issue to increase its importance so it may be included in a future release.

Greetings, Stephanie

comments: author: Steve Thornhill
body: Thank you, I will keep an eye on that.


Tags: confluence-administration

user
Regarding permission in Confluence
Asked by kA:

Hi friends,

In confluence i have one space,

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

In that i have created two (Admin,Developers) group for permission. In case if i enable the permission to delete a page for developers, can they delete Admin page too?.

Please share your thoughts,

Thanks in advance,

Karthik A.


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

The administration pages can not be deleted by anybody.

Giving the Developers the right to Delete pages will mean they can delete pages from the space (blogs, documents,...) they cannot administrate the space (for which they would need Space Admin Rights)

If you do give the delete space permission to a group be aware that they can indeed delete all spaces (also those created by the admins). You could use page restrictions to only give developers view rights on those pages not edit rights.

Best regards,

Peter


author: kA
body: Hi friends,

Thanks for your updates, In case if i add another group and provide the same permission as admin group have. In that situation the Developer group can able to delete there page?

Thanks,

Karthik A.


author: Bharadwaj Jannu
body: It depends on the permissions you give to the group Developers. If you give as Confluence Administrator then he has ability to delete Admin page also.

see <https://confluence.atlassian.com/display/AOD/Global+Permissions+Overview>


Tags: cloud

confluence-cloud
How can I change the text in What's New popup
Asked by HungD:

Hi guys

I want to change the text in the What's new popup (What's New in Confluence 5.3)

![](http://easycaptures.com/fs/uploaded/823/1995295995.png)

Thanks in advance.


Answers:
author: RambanamP
body: you need to change it on bundaled plugins

1. stop the confluence

2. locate the "**confluence-whats-new-XXX.jar** " @ .. \\**Application Data\\Confluence\\bundled-plugins**

3. open the jar/extract and locate the **"i18n.properties"** @**"...** **\\com\\atlassian\\confluence\\plugins\\whatsnew** **"**

4. change the header property value

5. rebuilt the jar

6. restart the server

comments: author: HungD
body: Thank you very much Rambanam


author: RambanamP
body: if any answer help then don't forgot to accept as a answer so it will help other user to choose right answer!! and this issue will closed!


author: Sebastien MARTI
body: Hi all,

Do you know how to change the content of the What's new popup and how to force it to be displayed at the next connection of each users ?

Thx

Seb
Change position of header block, page title and breadcrumbs
Asked by HungD:

Hi support team,

I am building a documentation system and I have some trouble with customizing the header block. I want to change the position of header block, page title and breadcrumbs like your confluence docs site.

I want to know which files I need to work with to customize those things. The more detail, the better as I'm new to Confluence :)

<https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation>

![](http://easycaptures.com/fs/uploaded/823/7380718576.png)

By default, the header block structure is different

![](http://easycaptures.com/fs/uploaded/823/4131735228.png)

Thanks in advance.


Answers:
author: Matthew J. Horn
body: Let's be clear, this site is not technically a "support site". It's geared towards users helping users. If you have a support issue, you should open a ticket with Atlassian.

That being said, this site is monitored by many excellent Atlassian employees who are happy to help.

For what you're suggesting, the easiest thing to do is modify the Page Layout and Main Layout decorators. These can be found in the admin panel for each space. On 4.x, you open up a URL like this:

[http://yoursite.com/spaces/listdecorators.action?key=\<](http://devcenter.verivo.com/spaces/listdecorators.action?key=doc)space_name\>

Where space_name is the key for the space you want to custmize. Then click on the "Customize" link next to the decorator you want to modify.

More info here:

<https://confluence.atlassian.com/display/DOC/Working+with+Page+Layouts+and+Columns+and+Sections>

hth,

matt

comments: author: HungD
body: Thanks for helpful references Matthew Horn
Recommended upgrade path Confluence 3.4. -> 5.3.
Asked by Peter E:

Hello support-team,

We do currently use "Atlassian Confluence 3.4.8". But like to upgrade to 5.3.

Now, I looked up [this article](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence), which mentions two different ways:
> 1. if you want to move from Confluence 3.x to Confluence 5.x, you should first upgrade from 3.x to 4.x, then from 4.x to 5.x.
>
> 2. If you are upgrading from a version earlier than Confluence 3.5, you must use the manual upgrade procedure.

I hope that someone could clarify what is recommended now. Because both variants do fit.

And what versions should I use in my upgrade procedure? 4.X. is unspecific.

Additional information: I want to upgrade to latest Confluence version (which is 5.3.).


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

You should first do the Manual upgrade from your current version 3.4.8 to 3.5.17.

Then you can do the new upgrade procedure from 3.5.17 to 4.3.7 and then to 5.3.1.

Don't forget to check if your plugins still work on the new versions!

Best regards,

Peter


author: Peter E
body: Not exactly rambam.

I think it is clear now, that I should move from 3.4.8 -\> 4.3.7 -\> 5.3.1

Is that right?

And also - as I mentioned, the documentation differs. See my quote.


author: RambanamP
body: same question here

[https://answers.atlassian.com/questions/173313/upgrade-confluence-from-3-3-1-to-the-latest-what-intermediate-step](/questions/173313/upgrade-confluence-from-3-3-1-to-the-latest-what-intermediate-step)

comments: author: Peter E
body: Not exactly rambam.

I think it is clear now, that I should move from 3.4.8 -\> 4.3.7 -\> 5.3.1

Is that right?

And also - as I mentioned, the documentation differs. See my quote.


author: RambanamP
body: i think you have to follow the second point which is

* **Upgrading from an early version of Confluence.** If you are upgrading from a version earlier than Confluence 3.5, you must use the manual upgrade procedure. See [Upgrading Confluence Manually](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence+Manually).


author: RambanamP
body: and don't forgot to test this on test environment before doing it on production!


Tags: confluence-administration

upgrade
Confluence 3.3 JAVA 1.7 Conflict Issue
Asked by Amber Garg:

Dear Team,

Currently I'm Using Confluence 3.3 with JAVA version 1.7 with current JAVA Some plugins are not working, So I want to use JAVA 1.6. Can you please tell in confluence where I can define the JAVA 1.6 Path \& also doing this will affect My Confluence Site.

Thanks

Amber


Answers:
author: Nic Brough -Adaptavist-
body: It depends on how you have installed and configured Confluence. You don't change the version of Java inside Confluence - it's set up for the application server that is going to be running your Confluence and those generally take the setting from the environment.

You'll need to look at the installation instructions for your Confluence version on the Operating System you are running and work out where the app server is getting it from.

As for the effects, I'd suspect your Confluence will continue to run ok - it's old enough that it was written to run under Java 1.6, and so old that your plugins will be similarly built.

I'd seriously recommend upgrading though - your Confluence is unsupported, and you really should be running Java 1.7.

comments: author: Amber Garg
body: Thanks Nic, Actually JAVA Path is not Set on server by deafault confluence is taking from /usr/java/ Can I change the same somewhere in confluence startup script.

Thanks

Amber


author: Nic Brough -Adaptavist-
body: If $JAVA_HOME is not set by default, then part of the startup for Confluence is working out where it is (or making assumptions) and you need to fix that.

Start with a look in the setenv.sh file which should be in the /bin directory under your Confluence installation directory.


author: Amber Garg
body: Dear Nic,

Thanks fot the Information.

Thanks

Amber


author: JohnA
body: Hi Amber,

Confluence 3.3 and Java 1.7 aren't compatible at all so you will certainly nee to downgrade to Java 1.6 as you are planning. Once you have installed the new JDK you then need to reset your $JAVA_HOME variable to point it at the new 1.6 JDK, which you can do by following the instructions in this document: <https://confluence.atlassian.com/display/DOC/Installing+Java+for+Confluence>

All the best,  
John

comments: author: Amber Garg
body: Dear John,

Thanks but when i do echo $JAVA_HOME Nothing is displayed \& when confluence process is start it takes Java Path defualt from /usr, can you please tell me that /usr in confluence where it is defined \& also I'm having 10 User Installed Plugin after that JAVA downgrade it will work fine. Please Assist.

Thanks

Amber


Tags: java
Adding Confluence to an existing Jira account
Asked by Huong Nguyen:

My team is already using Jira but I'd like to use Confluence as well. How do I link or sign up to Confluence and link it to my Jira account?


Answers:
author: Anand Unadkat
body: Hi Huong,

You can do this by creating Application links between them and when you do that, please chose the option which says they both use same username and create the link.

You can also go into JIRA User server in JIRA and Confluence to it with the password and the IP address.

<https://confluence.atlassian.com/display/DOC/Connecting+to+Crowd+or+JIRA+for+User+Management>

Look at Connecting Confluence to JIRA for User Management section in the above link

Hope this helps

Regards

Anand


Tags: atlassian-support
Confluence 5.3.1 and External database SQL Server 2008 R2
Asked by Bill Mariasoosai:

All:

I am using Conflence 5.3.1 ( Evaluataion License) on windows 7

I am trying to connect confluence to an external database ( MSSQL Server 2008 R2)

During the setup wizard, I did not get any option to connect to an external database.

In the evaluation confluence, is it possible to connect to an external database

( MSSQL Server 2008 R2) . If possible, could you please give me any link to relevant documentaion.

Thanks for your help

Bzoo


Answers:
author: Bill Mariasoosai
body: Hi Prasad:

Thanks a lot. Very useful links.

Regards,

Bzoo


author: RambanamP
body: check the following docs

<https://confluence.atlassian.com/display/DOC/Database+Setup+for+SQL+Server>

<https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database>

and also check following doc for know issues while configuring database server

<https://confluence.atlassian.com/display/CONFKB/Known+Issues+For+SQL+Server>
link Blog to wiki page Confluence 3.5
Asked by swaradacs:

I want to link the following blog page to wiki page,

[http://example.com/display/SpaceName/2013/11/14/Page+Name!](http://example.com/display/SpaceName/2013/11/14/Page+Name)

So I am doing this,

\[Page Name\\!\|SpaceName:/2013/11/14/Page Name!\] in the wiki markup.

But this does not create a link. How can I link a blog post in wiki page?


Answers:
author: swaradacs
body: I tried using link tool from UI, it gives same wiki markup and same problem persist. It does not show as link.


Tags: blog

link

markup

page
how do I replicate answers.atlassian for an internal forum?
Asked by Gary Banks:

What technology was used to create answers.atlassian?

We would like to have something similar for an internal forum.


Answers:
author: BillA
body: answers.atlassian is built on top of OSQA but we are in the process of migrating it to Confluence Questions which you can learn more about here <http://www.atlassian.com/questions>

Confluence Questions is being made available for OnDemand instances this week so if you're a Confluence OnDemand customer you will be able to go into "Find new add-ons" in Confluence administration panel and trial Confluence Questions.


author: Nic Brough -Adaptavist-
body: It's based on OSQA (link at the bottom left of every page). It's not an Atlassian product in itself.

There was some talk of releasing it as a product, but a slightly more integrated approach was taken. There is an addon called "Questions for Confluence" which implements a lot (but not all) of the stuff you see here. It's in Beta at the moment - see <https://www.atlassian.com/questions>


Tags: confluence-cloud
Export to HTML file names
Asked by Susan Modlin:

After upgrading from 5.1.3 to 5.3.1, exported HTML files have nu8mbers appended to the file names. How do I get rid of them. This is breaking my help system!


Answers:
author: Susan Modlin
body: It turns out that although I can strip the numbers out, I still have a whole new set of file names. No one can figure out why my previous version (5.1.3) created the files it did when exporting, so it will have to remain a mystery. At this point, I'm simply rebuilding the entire help system with the new file names.


author: Nils Bier _K15t_
body: Hi Susan,

you could also have a look at our [Scroll HTML Exporter.](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-html)

Scroll HTML Exporter offers multiple options to define the naming of the exported HTML files. Besides it is possible to control the whitespace handling and output of special characters.

Cheers,  
Nils

comments: author: Susan Modlin
body: Hi Nils,

I did take your Scroll HTML Exporter plugin for a test drive, but I don't see a way to utilize the heavily customized export layout that we created. So while your plugin allows us to control file naming, it takes away all the goodness, like headers and footers, we've built into our export layouts.

Unless there is something I'm missing...

Thanks,

...Susan


author: Jens Rutschmann [K15t]
body: Hi Susan,

with Scroll HTML Exporter you can create custom export templates which can be configured to your liking:

* HTML structure in general (headers, footers)
* Custom images, CSS, javascripts
* 'static' HTML files to be added to the export (for example legal pages etc.)
* and so on

Have a look at our template guide: <http://www.k15t.com/display/HTML/Creating+a+Template>

Cheers,  
Jens


author: Ryan Goodwin
body: Hi Susan,

You're running into a change that was made due to page names with certain characters or patterns breaking the space html export:

<https://jira.atlassian.com/browse/CONF-4862>

As for removing the numbers, you could probably devise a script that removes the \[0-9\] values between the preceeding _ and the trailing .html. You'll want to ensure you get a solid regex there so that you don't get false positives from any _ or . in the page titles.

comments: author: Susan Modlin
body: Um, I reviewed the Jira you cited and that doesn't make sense. The Jira says it affects 2.x and 4.x, and was resolved close to 18 months ago. However, I didn't run into the problem until I upgraded from 5.1.3. to 5.3.1. Why did I not see the numbers in exported file names until now? And why did you change from word+word to word-word.
Can't play a WMV file
Asked by Clarisse Messey:

Hi,

I am new on Confluence and tried to upload a WMV file using the "Multimedia Macro". However, I can't play the video which opens with VLC. I tried on Mozilla, I.E and Chrome with no success.

Do you have an idea?

Thank you.

Clarisse


Answers:
author: JohnA
body: Hi Clarisse,

You didn' mention which version of Confluence you are using but I suspect you may be encountering this bug with WMV files not playing when embedded in Confluence pages: <https://jira.atlassian.com/browse/CONF-27581>

If this is the case then the workaround is to try converting the file into one of the other supported file formats and embedding it into the page in that format instead, (at least until the bug is fixed). A list of the supported file formats can be found here: <https://confluence.atlassian.com/display/DOC/Embedding+Multimedia+Content>

All the best,  
John


author: Clarisse Messey
body: Ok thanks.

comments: author: RPT Admin
body: Is anyone else encountering this bug uisng Internet Explorer? I can play mp4 files in any browser, but wmv is a complete no-show across both Chrome and IE11.


Tags: confluence-administration
Can't enable 'Default section provider for content name search' in Confluence System add-ons
Asked by Michiel Nieuwstraten:

I can't enable 'Default section provider for content name search' in Confluence System add-ons (Confluence 5.2.5)

Does anyone know of a reason why any System add-on macro can't be enabled?

Any help welcome...


Answers:
author: Jennifer French
body: Atlassian provided this solution that worked for me:

1. Shutdown Confluence
2. Make a backup of the database
3. Remove The following folders:
   * \<confluence-home\>/bundled-plugins folder
   * \<confluence-home\>/plugin-cache folder
   * \<confluence-home\>/plugins-osgi-cache folder
   * \<confluence-home\>/plugins-temp folder

<!-- -->

1. Perform a Select from BANDANA to see the state of plugins:

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

1. Update this to '\</map\>':

```
UPDATE BANDANA SET BANDANAVALUE='<map/>' WHERE BANDANAKEY='plugin.manager.state.Map';
```

1. This will Enable All plugin. (if you need any of these plugins to be disabled, please disable them later)
2. Restart Confluence

comments: author: Prepend - Licenses
body: Thanks for this solution!


author: Michiel Nieuwstraten
body: Thanks for this solution!


author: Bernardo Amado
body: Thank for this solution, What is problem ?


author: Jimmy Liberato
body: Bernardo, if Quick Searches but not regular searches fail, you will get warnings in the log about the system plugin being disabled and a Hercules scan will send you to Quick Navigation Search (also known as Quick Search) Returns No Page Results telling you to enable the plugin. Of course, you can't enable it hence the solution revealed by Jennifer.

Jennifer, is BANDANAVALUE supposed to be 'map/' or '/map'? I haven't got around to trying to fix it yet since it did not seem important enough to take the whole system down just for that. I'll wait for the next upgrade cycle.


Tags: confluence-administration