youngmon/atlassian-qna huggingface dataset:
How to find confluence page with all the big attachments?
Asked by DI2E Licensing:

I know all the big attachments are in this directory:

/opt/atlassian/confluence-data/attachments/ver003/113/1/4751363/73/142/17892323/18187909

How do I translate that into a specific confluence page?

Thanks!


Answers:
author: Don Willis
body: As (sort-of) described in the document Bruna linked to, the url you want to find the page with the attachment in your example is:

<http://yourconfluencebaseincludingcontextpath/pages/viewpage.action?pageId=17892323>

Note that 17892323 is the second-last directory in your path

However a better answer to your wider problem is probably the one at: [](/questions/195387/how-can-i-find-very-large-attachments)<https://answers.atlassian.com/questions/195387/how-can-i-find-very-large-attachments>


author: Bruna Griebeler
body: Hi there,

You might try to find the PageID related to that attachment by checking the attachments table on Confluence database.

**To undesrtand what does this path means:**

[](https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage)<https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage>

[](https://confluence.atlassian.com/download/attachments/179442774/attachmentstorage.png?version=4&modificationDate=1234484336367&api=v2)[https://confluence.atlassian.com/download/attachments/179442774/attachmentstorage.png?version=4\&modificationDate=1234484336367\&api=v2](https://confluence.atlassian.com/download/attachments/179442774/attachmentstorage.png?version=4&modificationDate=1234484336367&api=v2)

**Displaying Attachments:**

[](https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments)<https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments>

**To retrieve an Attachment from FileSystem:**

*select s.spaceid,c.contentid,a.attachmentid from spaces s inner join content c on s.spaceid=c.spaceid inner join attachments a on a.pageid=c.contentid;*


author: DI2E Licensing
body: Thanks to both. I actually went in to the database and using that nice pictorial supplied by Bruna, found the name of the project and doc(s) I was looking for.

BUt I love the meta-searches that Don pointed me to.


Tags: attachment

confluence-administration
How to push a template to other spaces so that it appears in the list of templates
Asked by Reid Manchester:

I've created some very useful templates in a space and would like to push those templates to the template list in other spaces. Is there a way to do this without doing copy/paste of the content into a new template in the target space? Instead, push the template to multiple spaces in one shot.


Answers:
author: Reid Manchester
body: Administrators can define **Global Templates**. See:

[](https://confluence.atlassian.com/display/DOC/Working+with+Templates)<https://confluence.atlassian.com/display/DOC/Working+with+Templates>


author: teo
body: Plugin to copy templates. Export and import templates.  
Copy 'variables, macros, and other elements. It is not possible to copy-paste.  
<https://marketplace.atlassian.com/plugins/com.deiser.confluence.template-ops>


Tags: copy

template
Confluence Page - Pie Chart Macro
Asked by Rohit Murjani:

We used to show Pie charts in our confluence pages that displayed the status of our sub tasks for JIRA projects. The macro was simply called Pie Chart.

Recently, the macro no longers loads and I get this error :Error rendering macro 'gadget' : The gadget at <https://enterpriseshapemanagement.atlassian.net/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:pie-chart-gadget/gadgets/piechart-gadget.xml>was not added to this Confluence instance yet."

I can create a pie chart using the Chart Macro but then I can't click any of the pies within the chart. How can I add the Pie Chart Macro back to the Confluence Macro list?


Answers:
author: BillA
body: This is a known issue with Atlassian OnDemand that we're working on right now. Please watch [CONF-34034](https://jira.atlassian.com/browse/CONF-34034) for updates on the issue status.


Tags: cloud

confluence-cloud
Linking Confluence OnDemand and JIRA OnDemand so they use the same login
Asked by BrightScope Systems:

My company has a JIRA OnDemand account and I recently added the Confluence OnDemand trial to our account. I have gone through the steps of linking them via Application Links, but I am not able to login to the Confluence account under my normal JIRA username/password. How do I use the same user list for both programs and how do I import a project into Confluence from JIRA.

Thank you!


Answers:
author: Jessica_Moszkowicz
body: You need to make sure that that user has application access to both JIRA and Confluence. Look under user management and then application access. Hope this helps!

comments: author: BrightScope Systems
body: Thank you for the quick response!

When I go to user access on the JIRA side I don't see any options for confluence. When I try to grant access, I don't see anyway to add Confluence fron the list of users.

The same thing happens on the Confluence side. Do I not have them linked correctly?


author: Jessica_Moszkowicz
body: Hmm, I'm guessing they must not be linked correctly. Do you have administrator access? If so and if things are linked, clicking on the cog wheel in the upper right of the JIRA or Confluence screen should have (at least 3) sections: one of the application you're in, one for user management, and one for other applications (JIRA or Confluence as the case may be). If you aren't seeing the other applications stuff, I'm guessing something went wrong with the link process.


author: BrightScope Systems
body: Also, I do have admin.


author: BrightScope Systems
body: I have access to the Confluence Admin from JIRA and the JIRA admin from confluence.

![](../../upfiles/Admin.JPG)

When I open the User Management for Confluence this is what I see:

![](../../upfiles/Access.JPG)


author: BrightScope Systems
body: I think I may have added it as a separate subscription. I linked them via application links which is why I was able to see any admin stuff at all. I'm assuming it needs to be listed under the same Product in the Licenses menu?


Tags: cloud

confluence-cloud
Moved Product Documentation Space and lost pages
Asked by Ryan Dodds:

Hi,

I moved Product Documenation space page to our Product Space which had 5 pages in it. I then deleted the Product Documentation space. I expected to see the pages now under Product --\> Product Home --\> Product Documentation BUT they are not there and I cannot find them anywhere.

Any chance to retreive documents from a deleted space?

Thanks,

Ryan


Answers:
author: Kay Brown
body: Did you just move the Home page and not the child pages?

Kay


author: Kay Brown
body: Do you have a backup? You can restore the pages from backup.

Kay


Tags: cloud

confluence-cloud
version control
Asked by Mike Syversen:

are there version controls


Answers:
author: Nic Brough -Adaptavist-
body: Yes.

(You might want to expand your question if you need more details)


author: Kirstin Seidel-Gebert
body: E.g.: [Scroll Versions](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions)

comments: author: Nic Brough -Adaptavist-
body: Could be a good answer. We can't tell without a proper question!


Tags: history
Accidentally Deleted Page in Confluence On Demand
Asked by LauraA:

If an agent in my company accidentally deleted a page that should not be deleted, is there a way to restore that page with all of it's attachments?


Answers:
author: Daren Chung
body: I did something similar.

1. Go to the space where the page was located.
2. Find the "Space Admin" link. In our Confluence, I found it in the horixontal nav under "Browse"
3. Once in the space admin, find "Trash"
4. Usually, you can recover pages from trash.

Good luck!

comments: author: LauraA
body: Thank you! That worked perfectly!


Tags: cloud

confluence-cloud

delete
Confluence and Confluence Questions Training
Asked by Srikanth Kalangi:

Hi Team,

We at Castlighthealth are in the process of purchasing the Confluence and Conflunce Questions. Once we purchase the application, we would like to understand the training aspects of this application. As our employee's are new to this application, a training session will be really helpfull.


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

Atlassian Experts are indeed your best option if you need training.

We at RealDolmen do provide training for all Atlassian applications, and can customize this training to your needs. I'm sure there are several other experts that do the same.

Best regards,

Peter


author: Mallmann
body: Hello Srikanth,

We actually do not provide training sessions for our products. However, we have lots of documentations on how to use the tools and also a portal with useful trainings: [](http://university.atlassian.com)<http://university.atlassian.com>

You might also be interested in contacting one of the [Atlassian Experts](https://www.atlassian.com/resources/experts), in case you'd rather have someone working close to your team on it.

Best regards,

Eduardo Mallmann

Atlassian Support

comments: author: Srikanth Kalangi
body: Hi Eduardo,

Thank you for the information. I have few more questions, would be very helpful if they are answered.

1. What will be the process to notify Atassian to inform Castlighthealth about any bugs/version upgrades or such information related to Confluence/Confluence Questions.

2. How can we seek help from Atlassian when it comes to installing/configuring the application in our environment.
Changing bullet margins in Confluence
Asked by R Donato:

Hi,

I'm using 5.5.2 and I am using the Confluence Source Editor macro. I want to align the bullets on a page to the left. I'm using the \<ul style="margin: -20px; padding: -20px;"\>

In edit mode, it displays just the way I want it. But once I press Save, the bullets move back to the original location to the right.

Any suggestions?

Thanks much


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Rosemary, you may like to try that using an HTML Macro container into the editor. This bundled feature does not come enabled, but can be turned on through *Manage Add Ons* \> *HTML Macro* component.

Further to this, you may learn about that feature in [this page](https://confluence.atlassian.com/display/CONF50/HTML+Macro).


Tags: content
Why is there google analytics code in our OnDemand Confluence source?
Asked by InviqaS:

We have noticed that all our wiki pages in our Confluence on Demand has Google analytics code in them.

Why?

What has added this? I cannot find any reference to it in the administration

Are we able to view the analytics data generated by it. If not can we disable it as it adds calls to google with every page view.


Answers:
author: Peter Van de Voorde
body: This is something Atlassian did.

If you need more information about it you should log a request here : [](https://support.atlassian.com)<https://support.atlassian.com>

Best regards,

Peter


author: InviqaS
body: The answer seems to be unanimous and I have created a ticket on the Atlassian support site.


author: Luciano Fagundes
body: Please submitt a ticket on [](http://support.atlassian.com)<http://support.atlassian.com>

Cheers

Luciano

comments: author: David at David Simpson Apps
body: @LucianoWhat's the privacy policy wrt OnDemand \& Google Analytics? Do you have a link?


author: Luciano Fagundes
body: Sure David,

Here it goes: [](https://www.atlassian.com/hosted/security)<https://www.atlassian.com/hosted/security>

Cheers

Luciano


author: David at David Simpson Apps
body: Atlassian use Google Analytics throughout their OnDemand service. Unfortunately, you cannot view the data. I'm not convinced that it can be turned off, but submit a ticket at [support.atlassian.com](http://support.atlassian.com)


Tags: confluence-administration
Copying a space - Ondemand
Asked by RPT Admin:

Does anyone have step-by-step instructions how to copy a space using Confluence OnDemand. There is some excellent documentation on copying a space into a new site - but what I want to do is to copy a space (so that I can capture the audit trail, frozen at a specific moment in time) and then archive it as part of a formal audit trail. I will then continue developing another version of the same space, using the same site.

The stumbling block is the error message that I get when trying to upload the exported space back to the original site: "A space with the Key XXX already exists".

Prior to uploading, I edited entities.xml to amend all reference to the old spacekey and changed them to a new, unique, spacekey. But I still got the error message.

Unfortunately, using the download version is not an option for me, so I can't use the copy space plugin.


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

Did you edit the other files in the zip file too?

Best regards,

Peter

comments: author: RPT Admin
body: Ahh ... no. Just the xml. What other files do i need to edit?


author: Peter Van de Voorde
body: You need to edit the exportDescriptor.properties too, it also contains a spacekey reference.


author: RPT Admin
body: Sorted, thank you.


author: Bob Swift (personal)
body: You might find that [copySpace](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-copySpace) from [Confluence Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/CSOAP) will fit your use case more easily than save/restore.

comments: author: RPT Admin
body: Thanks for fast response - this is a one-off, so I'm quite happy to do it manually on this occasion.


author: David Stephensen
body: This was helpful! Thanks!


author: Ursula Hoult
body: Hi, I'm also trying to do this. I've done the following:

1. Done an .xml export of the Space
2. unzipped and edited the entities and the exportDescriptor files to change the name of the Space key
3. re-zipped the file
4. imported the zip file

However I got the following error

"The following error(s) occurred:

The zip file did not contain an entry 'exportDescriptor.properties'. It contained: Confluence-space-export-072353-6.xml/attachments/," (this error went on for sometime listing attachments).

Is there a step I've missed or anything else I need to do to import a copy of the space?

Many thanks!


Tags: cloud

confluence-cloud
Base Url and Database changes are not working for new url without port number
Asked by Pawan Upadhyay:

Hi,

After changing in base url, I am not able to access the confluenc wiki with new url. Still old url is working.

Old url : http//\<serverName\>:8080/pages

Changes url: http//myname.com/pages

After change the BaseUrl, i have restarted the Confluence service and tried to hit changed url,but not working. When I hit old url then confluence is working. I can not see any where the existing url in any config file/database/baseurl....everwhere changed url is visible, But still why my Confluence is pointing old url???

Please let know the steps to change url for Confluence Wiki and also let me know where I am missing?

Thanks,

Pawan


Answers:
author: Nic Brough -Adaptavist-
body: The base url is a Confluence setting - it tells Confluence where you expect to reach it.

The url is determined by your DNS services

Confluence isnt pointing at your old url, it's your network that's doing it. You need to get the new url set up in your DNS system.

comments: author: Pawan Upadhyay
body: Hi Nic,

I have checked, everything is fine. DNS is not configured, not able to see under -\>Control Panel \| Administrative Tools -\> . Is there anywhere else, we can check? Working on Windows server 2008. In server.xml: Port:8080

\<Context path="/pages" docBase="../confluence" debug="0" reloadable="false"\>

There is no proxy setting.

We are Using AJP as connector. Where to check DNS entry related to Confluence, because we are access from client not from server in client network?

Is there any other file of confluence which have url related info, except server.xml, bandhana table and base url of admin page?

I am wondering from where the working url is coming. I have modified in BaseUrl, bandhana table but still old url is working.

Thanks,

Pawan


author: Peter Van de Voorde
body: Hi Pawan,

You'll need to make sure that your hosts file contains a reference pointing your new url towards your localhost.

You'll also need to change the port where confluence is running on the port 80 instead of 8080.

Best regards,

Peter


author: Nic Brough -Adaptavist-
body: Sorry, I misread this slightly, I thought you were changing the name, hence the reference to DNS, but all you're doing is trying to drop the 8080

You can do that in two ways.

1. Proxy it, so that traffic arriving on port 80 flows to 8080. You'll need a proxying web-server to do that - IIS can be grudgingly made to do it, or use Apache or Nginx or or or...

2. Run Tomcat on port 80 instead of 8080. Stop Jira, change the port in server.xml and restart it. You don't need to do anything other than that. Although, if you were running it on a Unix box, you'd have to fiddle a bit more because it won't let you run processes on a port under 1024 without special rights - I don't know if Windows has a similar security issue
UserAccessor.removeUsers takes a lot of time
Asked by Shravan P:

I am trying to remove certain users from confluence as a bulk operation. I see that a call to this method takes close to 30 sec for one user. To delete 50 users, it takes 25 min. UserAccessor.removeUsers removes the users association with groups before removing the user. I tried doing this myself but I dont see any performance improvement. This is the code i am using:

```
User user = userAccessor.getUserIfAvailable(email);                if (user != null) {                    Pager&lt;Group&gt; pager = groupManager.getGroups(user);                    Iterator pgit = pager.iterator();                    while(pgit.hasNext()){                        Group g = (Group)pgit.next();                        groupManager.removeMembership(g, user);                        LOG.debug("Removed membership="+g.getName());                    }                    userAccessor.removeUser(user);                    LOG.debug(count+". Removed user=" + email);                    count++;                }
```

Since I need to delete about 1000 users, this is taking a lot of time. Anybody know how to speed up the process?


Answers:
author: Bruna Griebeler
body: Hi Shravan,

How is the database latency? (this information is set on your confluence logs).

If it's database related, check also for the Database connection pool (you might increase it and check if the delay decrease):

[](https://confluence.atlassian.com/display/DOC/Performance+Tuning)<https://confluence.atlassian.com/display/DOC/Performance+Tuning>

comments: author: Shravan P
body: Thanks for the reply Bruna. The latency is 1ms to 2ms. I also went and checked the cache tuning document: [](https://confluence.atlassian.com/display/DOC/Cache+Performance+Tuning)<https://confluence.atlassian.com/display/DOC/Cache+Performance+Tuning>

Since this is a user deletion operation, I flushed the user related caches. I expected some performance improvement since the user deletion now wouldnt have to update the cache. But I was wrong. It took the same amount of time.

You see, in our dev server it is taking 30 sec to delete the user. But on our production server, it is taking 9 min to delete one user. And this is adding quite a bit of load on the server too.

Anything else I should try?

Thanks,

Shravan
Confluence upgrade 5.0.3 to 5.5 failed ( test environment )
Asked by MilanCiti:

Hello All

Confluence upgrade from 5.0.3 to 5.5 failed, with ***failed during the SCHEMA_UPGRADE phase due to: Table 'LABEL' has more than one primary key.***

This problem has already been explained on the following [](https://confluence.atlassian.com/pages/viewpage.action?pageId=419004803)<https://confluence.atlassian.com/pages/viewpage.action?pageId=419004803>

Since, I am going to perfrom another attempt do I need to follow resolution suggested before upgrade ( since I know it know ) or when I got an error.

Or I need to have intermediate step instead , for example 5.0.3 - 5.2/5.3 - 5.5 ?

Thank you for your advice.

Regards,

Milan Stakic


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

No you don't need to go to an intermediate step, you are already in an intermediate step. So you can go ahead and upgrade to the latest.  
Cheers,  
WZ


author: Peter Van de Voorde
body: Hi Milan,

I would follow the resolution before executing the upgrade.

Best regards,

Peter


Tags: confluence-administration
How to limit search to the current subfolder
Asked by Gasan Guseinov:

Hi, Currently confluence can only search in a certain space. But let's say, that space contains multiple subfolders or directories. And I want to search for a certain word only in a directory i currently standing on, rather than in the whole space. Is it possible? If yes, then how?


Answers:
author: Don Willis
body: By directory you mean parent-page?  
You can add a Page Tree Search macro to a page that lets you search for content in that page and its children. When you do that search you can see that the raw search syntax for it is

ancestorIds:\<pageid\> AND \<search words\>

It's a shame you can't search by ancestorName of course.


Tags: search
Can I see who has modified labels?
Asked by Helen Griffith:

If someone adds/removes a label on a page, is there any way I can see who?


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

I don't think so, it's not part of the page history or the page activity information.

And it's also not in the log file.

Best regards,

Peter


author: Helen Griffith
body: Thanks Peter... Hmmm that's disappointing.


Tags: cloud

confluence-cloud
Confluence Questions - can i view the full expert list?
Asked by David Blades:

On the Questions 'Experts' page I can view Top Experts this week and Top Experts of all time but the list only seems to show the top 9 experts. Can I view a list that shows everyone who has a points total?

The reason we need this is so we can recognise 'top' experts on a periodic basis (e.g. quarterly) and so I want to track everyone's points tally. Thanks


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello David, currently the Questions customization possibilities are not very diverse, as you can see under *\<your_Confluence_domain\>/admin/questions/customise.action* . This is something that has been [requested here](https://jira.atlassian.com/browse/CQ-765) you may like to add your comments to that feature ticket.

Hope it helps!


author: Malcolm Cook
body: [@john](/t5/user/viewprofilepage/user-id/853586) - still seeking CQ needs? Try these suggestions (emailed too!):

List of topic experts should not be limited to the top 10. It should scroll infinitely.

Experts on a topic should be accessible via macro.

Users should be able to self-proclaim themselves as an "expert" (so they are found when sought). Anyone who "self-proclaims" gets a point.

Self-proclaim should be an aspect of user profile. Filling out your profile should allow you to declare yourself an expert on anything you choose.

Self-proclaim should ALSO be settable from any page with short-cut key "!" serving to declare the current user an expert in a topic having the name of the current page.

The option provided by the confluence Questions macro providing a button to allow adding a new question should work even if there are no pre-existing questions with the given Topic. Doh!

Question macro should take a meta-token allowing to display questions with a topic being the name of the current page.

comments: author: john
body: Hi Malcolm, thanks for reaching out with the feedback.

I'm no longer working on Questions (Jira now), but I'll pass your feedback on to the Confluence team. Cheers!


author: john
body: David - would love to hear a bit more about how you all are using CQ and the needs around the experts piece. If you wouldn't mind - drop me a note at jwetenhall (at) [atlassian.com](http://atlassian.com)- would love to hear your feedback.

John Wetenhall

Product Marketing, Confluence Questions


Tags: confluence-administration

questions-for-confluence