youngmon/atlassian-qna huggingface dataset:
Office Connector timeout?
Asked by John Rynearson:

Is there a configurable timeout setting somewhere that impacts the Office Connector? We have a user who gets an UPLOAD FAILED message in Excel if he leaves the file open for more than about ten minutes. If he just quickly edits his spreadsheet and saves back to Confluence there is no problem.


Answers:
author: Lasse Kaiser
body: We have the exact same problem with no resolution in sight. Atlassian suggested us to check out this link, so far, to no avail (it might help you, though?): <https://confluence.atlassian.com/display/CONFKB/Office+Connector+Limitations+and+Known+Issues#OfficeConnectorLimitationsandKnownIssues-Prerequisites>. We are using Confluence v. 5.5.2 with Office Connector v. 3.3.4


Tags: ms-office-connector
Confluence Upgrade query
Asked by Niket Mohey:

*1.* *Whether or not Atlassian supports Solaris SPARC hardware for its confluence product .." as according to this link it suggests it does not*

*Source:* [](https://confluence.atlassian.com/display/DOC/Supported+Platforms)*<https://confluence.atlassian.com/display/DOC/Supported+Platforms>*

*Please would Atlassian advise/confirm.*

2. *If Confluence remains on Solaris SPARC hardware if something were to go wrong with Confluence what support would Atlassian provide, if any?*


Answers:
author: Nic Brough -Adaptavist-
body: That's what they publish and that's what they support.

Technically, they would not provide any. If you run into an issue and they suspect it's related to SPARC hardware, then they can, and will, say "We don't support that, you will need to move it"

However, you will find that they try to help you before they resort to that.
Licensing for non-contributors
Asked by Steve Nyhof:

Hi we are a 15 person business and wish to use Confluence for a knowlege base....procedures, policies, how-to guides, file repository, etc.

Only 5 people would create \& update the content, and the rest would only consume it.

Access would be restricted to the 15 employees; we would not want this informaiton publically accessible.

The question is whether the 10 user license is sufficient for my needs? We cannot afford the larger versions. For example can I assign one account with read-only permissions that would be used by several of the non-contributors concurrently on a read-only basis? Or can we restrict access some other way to the content?

I am open to whether we use in-house hosted or the cloud version. If we host in-house, though, I need staff to be able to access the content from remote locations without requiring a VPN.

Regards Steve


Answers:
author: jing_hwa_cheok
body: Hi Steve,

Yes, you can create one read-only permission and provide it to all your non contributor user. In this case, you would need to assign can use to the user in the [Global Permission](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview) but restrict the user in the space and default space permission.

<br />

Hope this suggestion helps!

<br />

<br />

Regards,

Jing Hwa


Tags: licence
Is synchronising two tree structures in order to merge two confluences necessary?
Asked by Jessica Foo:

Hi all,

I'm trying to merge two different confluences one is on demand and the other one is in aws. So far the steps I believe I need to undertake include:

1) Upgrading confluence A from version 5.4 to 5.5 so that it is the same version as confluence B

2) Exporting confluence A

3) Exporting confluence B

4) Merging the two confluences together into a new instance.

Is there anything else I may need to consider? Would I need to synchronise the tree structure in both the confluences or is this not necessary?

Thanks in advanced!


Answers:
author: jing_hwa_cheok
body: Hi Jessica,

<br />

As far as I know, merging the two instance is best done by exporting all your spaces from one of your instance then import it to another.

Here's what I would suggest you to do.

1. Upgrade Confluence A to the same version as Confluence B
2. [Export all Confluence A spaces](https://confluence.atlassian.com/display/DOC/Restoring+a+Space)
3. [Create a full XML backup for Confluence B](https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore)
4. Import the XML backup for Confluence B into a new Confluence C
5. Import all the spaces from Confluence A to new Confluence C

Please note, User installed plugin and users from Confluence A will not be retained. You will need to reinstall them and recreate the user.

<br />

Hope this suggestion helps!

Regards,

Jing Hwa

comments: author: Jessica Foo
body: Hi Jing,

Thanks so much for your response, that really helped me a lot. Another question, if you don't mind providing your insight - How would I sync this with crowd? The previous confluences are both managed by crowd, how would I be able to synch this properly and have all the user data as well.

Thanks in advanced! :)


Tags: confluence-administration
How can I show the "Export to pdf" next to the share button
Asked by Ralph J?ger:

I would like to place a button next to the share button to be able to quickly download the visibile page as pdf.

In standard design the user has to click on "Extras" or "Tools" to use the function.


Answers:
author: Alexey_Rjeutski__Polontech_
body: This is a simple plugin extension. You can create a web item module and put it into appropriate place


author: Marin Guentchev, MD, PhD
body: I use [html2pdf.site](https://html2pdf.site/)

they provide a button you can customize and place in your HTML

Good luck

M
Configure JavaMelody Plugin for Confluence to use direct jdbc connection to SQL Database
Asked by Nori Jungmann:

I've installed the JavaMelody Monitoring plugin on our Confluence 5.4.4 instance. It looks really good except it doesn't show the "real" SQL database. I use the direct JDBC connection for our SQL database. However, the other sql data sources that are defined for query / reporting purposes are showing up. Any ideas of how to fix this so that I can see the interaction with the real database and not all of the other data sources?


Answers:
author: Dana Jansen
body: i'm interested in this as well


Tags: confluence-administration
Customizing Space Admin Privileges or Removing Ability to Assign Anonymous Privileges
Asked by Joel Janov:

Is there a way to customize the Space Administrator's privileges so that at no time the space could be made public by giving anonymous privileges to a space? or is there a global setting that can remove the ability for anonymous privileges to be assigned?


Answers:
author: Nic Brough -Adaptavist-
body: No, although I did work with a 3.1 installation when one of the developers had changed one of the core code files to stop people doing it. I think they just removed the "anonymous" section from the .jsp file that handles the space permissions page.


Tags: confluence-administration
Can I alert a HipChat room when a Question is asked with a certain topic?
Asked by Gary McCormick:

Let's say I have a chat room called "Web Design"

<br />

Can I have it alert the room when a question with the topic "web-design" is asked?


Answers:
author: John Masson
body: Hi Gary, there's an [open JIRA ticket](https://jira.atlassian.com/browse/CQ-82) for this suggestion that you may like to watch and vote on.


Tags: confluence-administration

hipchat
Page nesting level limit?
Asked by Greg Dungca:

Is there a limit to the number of nesting levels that can be created for the pages of any given space?


Answers:
author: Alexey_Rjeutski__Polontech_
body: Confluence uses parent-child relation to generate a tree, so there is no actual limit for the space. Please note that from certain period the nesting navigation can become uncomfortable and break some css and views, but that depends mostly on your screen size and browser settings.


Tags: page-tree
one pdf, multiple locations
Asked by Mary Von Tungeln:

In confluence, how do I link the same pdf to multiple pages, rather than attaching it seperately to each page. I only want to have to edit the doc one time.


Answers:
author: Davin Studer
body: This is how we do it. We have a sectrion of our site that we call a resource library. It is where we upload attachments like doc, pdf, xls, ppt, txt, mp4, etc. So we have a page called Resource Library and under that page we have other pages that cattegorize the resources. It looks something like this.

Resource Library  
\|  
\| Administration Resources  
\| Finance Resources  
\| Training Resourcs

The main Resource Library page doesn't have any attachments. Then on the other pages that do have the attachments we label the attachments as such (finance_docs_agreements, finance_docs_policies, finance_docs_accounts_payable). This gives us the ability to group types of documents by label if needed and then show them on another page(s) via the attachments maco width the label filter and source page properties set.

You can also link directly to any of the files from any page if you need to highlight just a specific attachment. This lets us single source our documents so that they don't get attached to multiple pages and then comes the question which one is authoritative sicne they will innevitably get out of sync. You could also put page snippets in the resource library that might be used in multiple pages and include them using the include page macro.

We don't worry about putting images in the library as they usually are screen shots or something like that that are specifc to one page. But most abything else that is an attachments should go into the resource library.

comments: author: Mary Von Tungeln
body: Thanks so much!! This was very helpful for a start. I think I get it, but I want to clarify.

So, the pages that would have previously had their own attachments will just have links back to the Resource Library and no individual attachments.

i.e. the only pages that will have attachments will be the child pages of the resource library.


author: Davin Studer
body: Correct. The cool thing about alot of the Confluence macros that deal with attachments is that they let you specify the page the attachment lives on. It doesn't have to be attcahed to the page that the macro is on. For inastance the PDF, DOC, PPT, and XLS all let you specify which page has the attachment to render. So does the attachments macro.

This is model that we are adopting here in our organization to so that we only have to deal with single sources of information.

If you wanted to you could even put page restriction on the resource library so that only editors can see it and its children and the average person would only see the regular pages.

This will probably require some training and handholder for the editors till they get it ... that is the problem we are having. But once it is done this way it should make things much easier to maintain.
RESTful API connection for Confluence Cloud?
Asked by Gabe Fuentes:

Hello! We recently took on Atlassian toolset and what i want to do is have a Confluence page for each one of our clients with live information from our database about each one. We tried the SQL Connector Beta plugin for Confluence Cloud, however there was an issue with our security protocols (we require validation of IP addresses before allowing access to our database).

So the next idea would be to call our API form Confluence. What would be the best way to do that?


Answers:
author: Daniel Wester
body: Sounds like you're wanting to write an atlassian connect addon then. <http://connect.atlassian.com>


Tags: cloud

confluence-cloud
Image properties not working in PDF export
Asked by m:

I've got images with image properties defined like "shadow". When I do a PDF export there is no shadow on the images while it works within confluence. Is this supposed to work?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Mdo, at the present date the image effects do not get exported to the PDF. Looking at this improvement [ticket here](https://jira.atlassian.com/browse/CONF-29896) the feature does not appear to be arriving anytime soon.

Alternatively, you may be able to customize the export in order to have [effects in images](https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF).


Tags: confluence-administration
How do I search within the SQL of all PocketQuery queries?
Asked by Jacob Boyko:

I have a fairly large number of queries and I would like to be able to search for keywords in the SQL statements.

For example, I'm editing a stored procedure in my database that I know is used in some queries, and I'd like to search for the procedure name so I can check dependencies.

Is there a way to do this? I looked in the database but this query wasn't useful:

```
SELECT * FROM plugindata where PLUGINKEY = 'de.scandio.confluence.plugins.pocketquery'
```


Answers:
author: Felix Grund (Scandio)
body: Hi Jacob,

I prepared a little piece of JavaScript code that retrieves the query objects and their statements in Confluence Admin. When you are on that screen, you can open a browser console (e.g. DevTools in Chrome) and execute the script. It should then print all query objects (which you can expand and see all data) and a string that contains all statements separated.

```
(function($) {	var allQueryObjects = [];	var statementsString = '';	$('#queries-list li').each(function() {		var $this = $(this);		var queryName = $this.data('entityname');		var queryObj = PocketQuery.getEntity('query', queryName);		allQueryObjects.push(queryObj);		statementsString += '\n===\n' + queryObj.statement;	});	console.log('All query objects:');	console.log(allQueryObjects);	console.log('All query statements');	console.log(statementsString);}(jQuery))
```

Let me know if you need further help!

Regards, Felix

comments: author: Jacob Boyko
body: Hi Felix,

Wow, that will work nicely, thanks for such a quick response!

Cheers, Jacob


author: Jacob Boyko
body: This is just related info - it does the same thing for the templates as the above does for the queries:

```
(function($) {    var PQEntityObjects = [];    var outputString = '';     $('#templates-list li').each(function() {        var $this = $(this);        var entityname= $this.data('entityname');        var entityObj = PocketQuery.getEntity('template', entityname);        PQEntityObjects.push(entityObj);        outputString += '\n\n=== '+ entityname +' ===\n' + entityObj.content;    });     console.log('All template objects:');    console.log(PQEntityObjects);     console.log('All template content:');    console.log(outputString); }(jQuery))
```


Tags: confluence-administration
Confluence performance improvement
Asked by Niharika Shrivastava:

Hi!

our confluence instance performance has reduced (takes longer than usual time to load). How do I identify the reasons of slow performance. I tried enabling profiling but it didnt help much.

I want to know from where shall I start and How/what do I identify/monitor and fix.

Really appreciate your responses.


Answers:
author: HosseinA
body: Hi,   

Page profiling would help if only pages are taking some time to load. A performance problem could have various of causes, for example memory allocations, DB and tomcat configurations, GC, third-party applicatinos, and many more.   

Here is a general documentation on performance of Confluence:   
- <https://confluence.atlassian.com/display/DOC/Performance+Tuning>

<br />

You may need to check in the Confluence home directory/logs/atlassian-confluence.log for errors to check if there is any errors related to this.   

I would also suggest that you contact <https://support.atlassian.com>so that we can help you further with this issue.

Regards,
Automacally insert the parent page title in the body of an article using templates
Asked by nferraroc:

I'm creating a template and would like to have the parent page title automatically inserted into the body of the page. I do not want the information to change if the document is moved. Is there a way to do this?


Answers:
author: nferraroc
body: I found a solution with Create Page Macro that will take the title of the parent page and make them into labels on the newley created page. It was exactly what I needed. Here is the link.... <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.createpage#support>


author: Robert Reiner _smartics_
body: I'd like to suggest to check the blueprint context (the way as Yagnesh Bhat described) for a property named 'parentPageId' (maybe this is not available in all versions - I just happend to see it in my environment - I cannot refer to docs). Use this to fetch the page from the PageManager and set the value you require to the context.


author: Yagnesh Bhat
body: What you can try doing is :

1) set a placeholder for the pagetitle in the template

2) From the blueprint context provider, pass the hardcoded value of the parent page to the template's placeholder.

I dont think there is a way to get the parent of the page thats not already created, but what you can do with blueprint is explicitly set the parent page of the documents rendered by the blueprint.


author: Alexey_Rjeutski__Polontech_
body: Please look into [](https://confluence.atlassian.com/display/DOC/Create+from+Template+Macro)<https://confluence.atlassian.com/display/DOC/Create+from+Template+Macro>- it can be at least workaround for your issue.


author: nferraroc
body: The page being created is a child page to the parent. The parent page has already been created and I want that title to be copied into the body of the child page.


author: Alexey_Rjeutski__Polontech_
body: As I remember (cannot check confluence right now) the title is empty when you are creating new page, isn't it? If so, how would that work in theory?


Tags: template
Configure HTML export from Confluence
Asked by Peter Francis:

I need to export a large number of pages from our Confluence wiki to HTML.

I've tried the Export to HTML option and this works fine .

I've even edited the Page Export Layout footer to add the company name etc.

My problem is I want to remove the 'Created by' and 'Last Modified' just below the page title.

Does anyone have any suggestions ?


Answers:
author: Yagnesh Bhat
body: Hi Peter,

If you are planning to import the exported pages to some other space, try changing it in the database straightaway after you import the html pages to that space. I think the CONTENT table has columns called CREATOR and LASTMODDATE, which you can set it to whatever you like (make it empty in your case) .

Even if you dont plan to import those pages to another space, you can still create a temporary space first, then do the database update like mentioned above and then export the pages back. Later on, you can delete the temporaray space if you want.


author: Peter Francis
body: Thanks for the suggestion Yagnesh.

I couldn't find a way of doing what I wanted using the page templates in Confluence. I generated the HTML pages and then went through them in Notepad++ and manually removed the text I didn't want, not the best way to do it but it worked (and I must say the HTML is nicely formatted which made it easy)

If I have to do this on a regular basis I will probably write a PowerShell script to add/remove sections of the pages.

I know the templates are produced using Velocity but its a little complex for the occasional user to hack , maybe a simpler method of controlling the output format would be a good idea.


Tags: confluence-administration
Change conflunce Base URL
Asked by Aussupport:

Hi All,

My internal domain is [internal.com](http://internal.com) and my external domain name is [externaldomain.com](http://externaldomain.com)

i want current [](https://interna.com)<https://interna.com> to access via [](https://externaldomain.com)<https://externaldomain.com>?

My current SSL is \*.externaldomain.com

As


Answers:
author: Nic Brough -Adaptavist-
body: First, set up your network to direct traffic that lands on [](https://external)<https://external>domain.com to your Confluence server (DNS, port-forwarding etc)

Secondly, change the Confluence base url to [](https://externaldomain.com)<https://externaldomain.com>in admin -\> general configuration
Confluence Migration/Upgrade from 3.5 to 5.5
Asked by Pete:

I've inherited an old version of Confluence 3.5 running on SLES, about 11GB worth of data. I want to upgrade it to the latest version 5.5 and move it to a new CentOS server running MySQL 5.5

Ideally I would like to install a clean version of 5.5 on the CentOS server, export the data from the old server and import to the new - but I'm guessing this won't work due to database incompatibilities.

Would I need to update 3.5 to 5.5 on the existing server using the recommended path, then migrate to the clean install on the new server? The existing mySQL install uses myISAM to make things a little more complicated.

Can someone point in the right direction please?

Thanks


Answers:
author: Steve Thornhill
body: Take it slow and steady.

I'd be tempted to backup the old server and restore it to the same level on the new CentOS server, but using mySQL with the correct parameters. After the restore check the database is still using utf8, etc and correct if necessary.

Then you can perform the stepped migration on that server while still having the old one to fall back on if anything goes wrong and you have to wipe/restart.

Make sure you take a decent full backup between each step, saves a bit of time if you need to revert anything.

comments: author: Nic Brough -Adaptavist-
body: I'd also add that I wouldn't recommend 3.5 to 5.5 - although it might work for you, I've done 3.5 to several versions of 5 and the only successful ones have been to 5.0.

The upgrade from 5.0 to 5.latest have been a doddle afterwards though.


author: Pete
body: Interesting.. thanks. Am I right in thinking I will run into problems with the tables being myISAM and 5.5 needing innodb?

comments: author: Steve Thornhill
body: You may well end up running into issues with some of the migration steps.

I would migrate it as soon as possible as stated above - it helps in the long run and saves picking through problems when you run the upgrade steps. You will end up with language settings and data type problems as you go along.


Tags: confluence-administration
whats is difference between full vs. incremental synchronization of AD in jira or confluence
Asked by Paresh Gandhi:

whats is difference between full vs. incremental synchronization of AD in jira or confluence


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

The difference is pretty simple, the incremental syncronization will check if there's any changes like new user/groups/permissions and then sync. The full will sync everything again, regardless of the changes.  

Cheers,

WZ

comments: author: Paresh Gandhi
body: what option i have uncheck to make it full synechronization while configuring active directory.

Also does full synechornzation deletes groups from confulece table if those are deleted from AD.


Tags: active-directory

jira