youngmon/atlassian-qna huggingface dataset:
Confluence page/s rendering issues - bug
Asked by Warren McInnes:

There seems to be a problem/bug with the way certain pages render in confluence, I have attached screenshots to show you what i see, the 1st image is the initial load/render of the page and the 2nd image is the load/render of the same page, but after one or numerous refreshes(F5), please look into this and give me a solution? Why doesn't the page render correctly on initial load? What we are doing is creating a central page, but using the Confluence page gadget to include other confluence pages on this one central page. Where our business user can access this central page and by selecting a dropdown link, it will show one of these Confluence page gadget thus displaying a page within the main page, which will show some required information for the user as well as an issue collector for them to make use of. So the problem comes in that this would work perfectly for us if the page loads correctly the 1st time, not to have the user refresh numerous times in order to see what was intended load the 1st time!


Answers:
author: Warren McInnes
body: It is a bug and the Atlassian staff will be looking in to it, however the basis of the problem is that our version of confluence needs to be updated, this issue resolved in the latest version of confluence.


author: AlysonA
body: Hi Warren,
> What we are doing is creating a central page, but using the Confluence page gadget to include other confluence pages on this one central page

Not sure if the issue is related to the Page Gadget, but may I know if you considered using the Include Page macro (<https://confluence.atlassian.com/display/DOC/Include+Page+Macro>) for that purpose? It is a bit simpler than using gadgets IMHO and it can help discarding a gadget-related issue here.

Hope it helps!


author: Warren McInnes
body: This is the 2nd image:![](../../upfiles/image2_1.jpg)


author: Warren McInnes
body: This is the 1st image:![](../../upfiles/image1_5.jpg)


Tags: layout

page
Display specific user information through user profiles on one page
Asked by Kavita Parab:

I want to display user information like user name, designation, phone number and possible image on a single page retrieved from user profile in confluence 4.1. Is there a way to do so?


Answers:
author: Giuliano C.
body: Hey,

You can get the information from the users direcltly for the Database using the following plugin:

<https://marketplace.atlassian.com/plugins/org.swift.confluence.sql>

Hope it helps,

Cheers


author: Mark Hrynczak
body: The [User Profile macro](https://confluence.atlassian.com/display/DOC/User+Profile+Macro) does exactly that.

comments: author: Kavita Parab
body: In this macro i have to mention user name, I want to dispaly all confluence users in this format in one page. Say if i have to display all users of a specific group?
Confluence cannot sync Active Directory after upgrade of Domain controller to 2008 R2
Asked by Scott Carmichael:

Hi

Our domain controllers were upgraded to Windows Server 2008 R2 and now we are getting connection refused when trying to sync.

The Test Settings reports the configuration is fine.

Do you know if there is some configuration required on the Active Directory side?

Regards

Scott


Answers:
author: PauloP
body: Hi Scott

No, there's no special configuration. However, since the AD upgrade process is about the LDAP SCHEME and security update procedures, I'd suggest reviewing all the LDAP struture and credential setting in JIRA settings.

For further assistances, I believe that you should raise a ticket at <https://support.atlassian.com>

Cheers,

Paulo Renato


Tags: active-directory
Cannot use file: uri to link to local files
Asked by Lucas_Clotworthy:

Basically the problem is that there is no response when clicking on a link created with the file: uri.

For example:

I can create a link using the following URL file://///server2/data/file.pdf or file://server2/data/file.pdf but when i click on the link, absolutely nothing happens. However when i paste this URL into my browser, it loads up the document no problem. This leads me to beleive that the problem lies with how confluence is handling the link.

Thanks in advance for any help with this.

<br />


Answers:
author: Christian Czaia _Decadis AG_
body: Hey,

check this question. If you're using a browser other than IE it probably is a security problem...

Cheers

Christian

[https://answers.atlassian.com/questions/21205/confluence-how-to-place-a-link-to-a-file-on-a-server-share-in-a-confluence-page](/questions/21205/confluence-how-to-place-a-link-to-a-file-on-a-server-share-in-a-confluence-page)
Error uploading image using the Brand Designer
Asked by Darryl Duke:

When trying to upload an image using the Images panel Zen's Brand Designer, I get the following error:

* Could not upload the file to Confluence. The server may be unavailable.

What's causing this?


Answers:
author: Darryl Duke
body: This happens when you don't have temporary access to administrative functions. You can get around this two ways:

1. Access the Admin Console and enter your password. This will turn on the access to admin functions (and you'll see a message banner on all pages indicating this).
2. Disable "Secure administrator sessions" from the Security Configuration panel in the Admin Console. This shouldn't be done on publicly accessible servers, but you're developing on a test server behind the firewall, or on your local computer, right?

This is a known bug that will be fixed in Zen 5.2.4.

comments: author: Darryl Duke
body: Update: Zen 5.2.4 has been released, and includes this fix.


author: David at David Simpson Apps
body: @Darryl: You should mark this as correct :)


author: David at David Simpson Apps
body: ...and thanks for this. I've had this problem.


Tags: addon-com.zenfoundation
Using UWC to migrate from 2.10 confluence to 4.3 confluence
Asked by Joseph VanQuakebeke:

We are moving from Linux to Windows and are on an old version of Confluence. To make the move easier and to clean up unused wiki workspaces, I was wondering if I can use UWC (Universal Wiki converter) to move workspaces from 2.10 running on Linux to 4.3 running on Windows. We will still use MySQL for the DB backend and Tomcat for the server.

Thank you

Joe

<br />


Answers:
author: David at David Simpson Apps
body: You could try, but better, I'd suggest just upgrading.

1. Remove all spaces you don't want
2. Migrate to the same Confluence version on Windows -- see <https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>
3. Upgrade, jumping through several point releases. @Amalia Sanusi \[Atlassian\] suggests 2.10 --\> 3.5.17 --\> 4.3

See also: [https://answers.atlassian.com/questions/85735/what-is-the-best-upgrade-path-going-from-confluence-version-2-10-3-to-version-4-3](/questions/85735/what-is-the-best-upgrade-path-going-from-confluence-version-2-10-3-to-version-4-3)

comments: author: Joseph VanQuakebeke
body: I am working with the support team, but there are issues around the older DB. What we are going to do is do 2.10.3 -\> 3.0 -\> 3.5.16-\>4.3 upgrade path.

Thank you

Joe
Remove the possibility to share filter with everyone ?
Asked by Sebastien Falardeau:

Hi,

Since we are now including external users to our JIRA/Confluence environment, we'd like to keep everything as private as possible. We have told our internal users to not use the option to display their filters to everyone but we'd like to know if it was possible to simply remove that option from the dropdown list ?

Thank you


Answers:
author: Matheus Fernandes
body: In JIRA 5.1, this is possible to achieve by modifying the *edit-share-types.jsp* file, inside the *JIRA-INSTALL/atlassian-jira/template/aui* folder. You'll need to edit the file and modify from line 22-26, from:

```
&lt;select id="share_type_selector"&gt;                        &lt;ww:iterator value="."&gt;                            &lt;option value="&lt;ww:property value="./shareType"/&gt;"&gt;&lt;ww:property value="./shareTypeLabel"/&gt;&lt;/option&gt;                        &lt;/ww:iterator&gt;                    &lt;/select&gt;
```

To:

```
&lt;select id="share_type_selector"&gt;                        &lt;ww:iterator value="."&gt;							&lt;ww:if test="./shareTypeLabel != 'Everyone'"&gt;                            &lt;option value="&lt;ww:property value="./shareType"/&gt;"&gt;&lt;ww:property value="./shareTypeLabel"/&gt;&lt;/option&gt;							&lt;/ww:if&gt;                        &lt;/ww:iterator&gt;                    &lt;/select&gt;
```

Then, shutdown JIRA, delete the contents of the *JIRA-INSTALL/work*folder and restart JIRA (The contents of the work directory will be recreated during the restart).

comments: author: Matheus Fernandes
body: KB for this: [How to Remove the 'Everyone' Share Option from Filters](https://confluence.atlassian.com/display/JIRAKB/How+to+Remove+the+%27Everyone%27+Share+Option+from+Filters)
Task List Problem in Confluence 4.3
Asked by tim test:

We updated to 4.3 late yesterday and have found out that the task list are not working. Opening the WorkBox just just shows a perpetual loading screen. ()

Also editing a page and using the "@mentions" doesn't populate a list of users when I start typing names either. I've tried in IE, Firefox and Chrome all not working.

Please any help is appreciated.

Thanks,


Answers:
author: tim test
body: It was actually a bad install, not a bug or glitch with Confluence. The folks over at the Support Portal were extremely helpful and we got it resolved quite quickly. Thanks.


author: SimonS
body: This looks like an upgrade/config issue and will probably require some debugging work, best done with our support team. Please contact our support team via our [Support Portal](https://support.atlassian.com/). If you have never used our support services before, you'll have to [sign up](https://support.atlassian.com/secure/Signup!default.jspa). Let us know the resolution here, if you decide to go that route.


Tags: task
Java Heap Error on Word Document Import
Asked by Sean:

<br />

User is trying to import a word document that's about 3MB in size and keeps getting heap size errors. I've increased the heap size to 512MB for min and 1024MB for the max (server has 8GB of ram and is running Windows 2008 server R2). What do I need to look for to solve this issue? Are there settings specific to the office import?


Answers:
author: Fahd
body: Hi Sean,

Looks like you have hit into this bug - <https://jira.atlassian.com/browse/CONF-17113>

It would be great if you can drop a comment for your Confluence version there.

Regards,  
Fahd


author: Thomas Schlegel
body: Hi Sean,

sometimes we had problems with pictures in the Word documents. We removed the pictures from the doc and added it manually after the import. This worked for us.

Hope this helps

Cheers

Thomas


author: Arthur Gon?alves
body: Hello Sean,

These settings are very specific to your environment. Things like the instance size (number of issues, projects, etc), and the number of installed plugins are directly related with the heap size needed.

Then, I believe that the better way to handle this problem is upon analyzing your logs, on a support ticket. Therefore, could you please open a request at <http://support.atlassian.com> and provide your log files, so the team can quickly analyze your instance and provide a solution?

Cheers!
Recommended in Confluence emails contain broken links
Asked by St?phane Genin:

Hi,

We have configured the Recommeded in Confluence notifications in our Confluence instance.

It works pretty well except that the links contained in the emails and related to Confluence content are broken.

The base URL for my instance is <http://yavin/confluence>.

However, the links are : <http://confluence/display/ADP/Use+Cases>

I don't understand where to configure the base URL of the emails.


Answers:
author: CharlesA
body: You should check that the server base URL is configured correctly in Confluence's General Configuration screen:

<https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL>

This is the setting Confluence uses to generate links in emails, exports, and other situations outside the web UI.
Publishing documentation
Asked by Greg Parsons:

If I use Confluence to create documenation for my product, can I publish the finished documentation into an online HTML format with navigation? I can see that you can export to HTML, but this does not provide the left navigation frame that is provided when you are creating the documentation pages.


Answers:
author: Greg Parsons
body: So we would need to use the download version rather than the OnDemand version we are using currently? I can make the pages public on our OnDemand system, but any anonymous users also see the Jira tab, whereas I really want them just to see the documentation on Confluence only.

comments: author: Harry Chan
body: Hi, you can restrict access to JIRA and certain parts of Confluence but I do agree it'd be a better experience for users if you use standalone Confluence rather than the OnDemand version linked with JIRA as the look and feel wouldn't be as good.


author: Greg Parsons
body: My next question then is whether having developed the documention on the OnDemand version, we can easily trabsfer the content to a standalone public facing server later when we are ready for it to be used?


author: Harry Chan
body: It is possible to do space and/or site exports from Confluence to another Confluence and this has been done before. It's not too difficult.


author: SimonS
body: Hi Greg,

You can't publish to HTML and get all the features that you get when navigating Confluence natively.

Most customers simply install Confluence on a public-facing server and turn on anonymous access so you don't need to log in in order to see everything. Would this work in your case?

-Simon


Tags: atlassian-support
Can I get a report of who has access to each space?
Asked by Gamesys:

I'm wanting to change the way we permission our confluence spaces, but want an easy way to find out what the exisitng permissions are. is there a way to do this?


Answers:
author: Giuliano C.
body: Hello,

There are some ways to identify permissions inside Confluence:

**Global Permissions** set you to assign global permissions to groups, individual users and anonymous users. To better clarify it, you could refer to these page:

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

Also, through the article bellow you can see a page showing how to assing space permissions:

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

There's a Query to better a search through Space Permissions:

**select s.spacename,s.spacekey,p.permtype,p.permgroupname,p.permusername from spacepermissions p inner join spaces s on p.spaceid=s.spaceid;**

Kind Regards
How can I find pages that are using a broken macro ?
Asked by Andre van der Elst:

Over the years I've accumulated a lot of plugins in Confluence and I want to reduce this number.

Is there a way to search for pages using a particular macro ? For example, show all pages that are using the table-plus macro ? This one we no longer need because of improved functionality in the default tables.

I can disable the macro, but then I need to go through thousands of pages manually to check if the macro was used on the page.


Answers:
author: Jason Hensler
body: See this question: [https://answers.atlassian.com/questions/59203/find-pages-that-use-certain-macros-plugins](/questions/59203/find-pages-that-use-certain-macros-plugins)
Confluence upgrade 2.9.2 > 3.5.17 license problems
Asked by Ruben Demey:

Hi,

I'm trying to upgrade Confluence from version 2.9.2 to 3.5.17 (and after that to 4.3).

On first attempt update failed with the following error:
> 2012-09-13 12:29:37,796 ERROR main atlassian.confluence.upgrade.UpgradeLauncherServletContextListener contextInitialized 1: Thank you for upgrading Confluence. The license format for this new version has changed. In order to complete your upgrade and continue using Confluence, **you will need to upgrade your current Confluence license**. This upgrade does not incur any additional costs and does not change Confluence's functionality in any way.
>
> You can upgrade your license [here](http://my.atlassian.com) or for step-by-step instructions please refer to our [documentation](http://docs.atlassian.com/confluence/docs-35/Confluence+3.0.2+Upgrade+Notes#Confluence3.0.2UpgradeNotes-licenseupgrade).
>
> If you cannot upgrade your existing Confluence license, please generate a temporary evaluation license. This will allow you to proceed with the upgrade and give you time to generate a compatible license.
>
> Once you have an upgraded license (or a temporary one), please enter it on this [page]($CONTEXT/fixonly/fixlicense.action) and **restart**.

So, I requested an evaluation license. The generated license was for older versions so I upgraded it to work with version 3 and above.

But, when I try to change the license in the admin panel of Confluence 2.9.2 I receive the following message:

License was not valid and has not been updated.

How can I change the license to a valid Confluence 3 license so the upgrade doesn't fail?

Btw, is it normal that my test server has the same Server ID as the production server I copied the installation from?

Regards,

Igor


Answers:
author: CharlesA
body: Hi, Igor

The new licence format is only supported on Confluence versions 3.0 and later. In order to upgrade directly to 3.5.17 from 2.9.2 you will need to:

1. Begin the 3.5 upgrade

2. Once you see the licence warning that you pasted above, follow the "please enter it on this page" link and provide your updated licence

3. Restart Confluence. The 3.5 upgrade should then continue with the new licence.

To answer your other question, that is entirely normal. If you copy a Confluence installation, it will also copy the server ID.

comments: author: Ruben Demey
body: Yes, \<confluence-url\>/fixonly/fixlicense.action on 3.5.17 did the trick.

I was trying to use that page to upgrade license while running version 2.9.2 (which of course didn't work).


Tags: licence

upgrade
Add Confluence to an existing (JIRA)-OnDemand-Account
Asked by codecentric AG:

I'm using JIRA onDemand and I would like to use also confluence onDemand but not as a separate instance. Integrated features as the JIRA Issue Dialog and so on should be possible between Confluence and JIRA.

Is there a way to buy Confluence and add it to the existing JIRA instance?


Answers:
author: Azwandi Mohd Aris
body: Sure. You will need to login to <https://my.atlassian.com> and under your OnDemand subscription, you can choose 'Configure'. It will bring you to a screen to customise your subscription e.g. adding more applications or users.


author: codecentric AG
body: Ah, thanks...I missed that link...I read somewhere in the documentation that it is not possible, but that was easy...:-)

Thanks!
Drag and drop feature
Asked by Kavita Parab:

Drag and drop feature for confluence 4.1 does not work as google gears is pulled off. Its being a very useful feature, are there any plans to provide any alternative for the same?


Answers:
author: Mark Hrynczak
body: Raise a [support ticket](https://support.atlassian.com)


author: John_Cary
body: I'm using the latest Google Chrome browser ver. 22. I still can't get it to work. Where do I look next for the problem.


author: Mark Hrynczak
body: If you are using a browser such as Safari, Chrome or Firefox, then drag and drop works using the drag-and-drop functionality of [HTML5](http://www.w3.org/TR/html5/).

Drag and Drop is not supported in IE9 - this is because IE9 does not support the HTML drag api. This is a limitation of the browser.

If you already have Google gears installed, then it should continue to work. Unfortunately it is no longer available for installation.

The release of IE10 with HTML5 support should solve this problem for IE users.
SQL plugin: how return the result of a SQL select count query in a velocity variable type "number litteral"
Asked by Martine Martine:

Hi all,

I'm using the SQL plugin in a macro and I do a **SQL select count** request.

The request render a string (for example) **\<p\>3\</p\>**

I have removed the tags but the variable ($OK), is always a string so that I cannot do any calculation after.

Here after is the code:

```
#set($KO=$helper.renderConfluenceMacro("{sql:datasource=confluence|table=false}select count(PROJECT.CONTENTID)from(select (CONTENT_LABEL.CONTENTID) as CONTENTIDfrom CONTENT_LABEL,LABELwhereLABEL.NAME='mi-securetransport'  AND LABEL.LABELID = CONTENT_LABEL.LABELID) PROJECT,(select (CONTENT_LABEL.CONTENTID) as CONTENTIDfrom CONTENT_LABEL,LABELwhereLABEL.NAME='ko'  AND LABEL.LABELID = CONTENT_LABEL.LABELID) LABELOKwherePROJECT.CONTENTID = LABELOK.CONTENTID{sql}"))#set($KO1 = $KO.replaceAll("&lt;p&gt;",""))#set($KO2 = $KO1.replaceAll("&lt;/p&gt;",""))#set($KO3 = $KO2 + 10)$KO3
```

KO3 render the string concatenation of KO2 and 10

Have you any solution?

Thanks


Answers:
author: Bob Swift (personal)
body: <http://stackoverflow.com/questions/2156502/how-to-convert-string-into-integer-in-velocity-template>

comments: author: Martine Martine
body: Thanks Bob, I hope a lot with your answer but I have tried this in a Confluence macro

#set($intString = "9")  
#set($Integer = 0)  
$Integer.parseInt($intString)  

#set( $ALL = $Integer + 5 )  
$ALL

and $ALL always render the concatenation of 9 and 5.

I surely missed something (I'm not a programmer)

What is your opinion?

Best regards


author: Martine Martine
body: Sorry Bob, now it works.

I did that

#set($intString = "9")  
#set($Integer = 0)  
#set ($a =$Integer.parseInt($intString))  

<br />

<br />

#set( $ALL = $a + 5 )  
$ALL

Thanks a lot


Tags: macro

velocity
Restricting access to view labels
Asked by PulseI:

Hi,

We are implementing Confluence as our internal and customer facing Knowledge Base and are wanting to hide the labels (shown on the right hand side of the search results page) when a client or a user who is not logged in.

We have user groups for internal and external users.

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


Answers:
author: Giuliano C.
body: Unfortunately, I'm not sure if a specify label can be restricted, but, if you simply want to hide it, there's an option of CSS to hide the label section autogether:

<br />

#labels-section {display: none}

It's applied in the Stylesheets pane, either in Space Administration for that exclusive space, or globally for all of Confluence in Confluence Administration.

Kind Regards


Tags: label

security