youngmon/atlassian-qna huggingface dataset:
How to migrate Wiki mark up from Confluence 3.5.13 to Confluence 4.2.5 as the new version doesn't support wiki markups?
Asked by vivek.aniyan:

We are having currently Confluence 3.5.13 in the production. Now in the recent future we are planned for an upgrade to Confluence 4.2.5. While migrating the production data to SI as part of the version upgrdation, we are facing an error while trying to copy the wiki markup. While trying to save the Wiki markup we are experiencing an error. PFA the error image.

![](../../upfiles/Erroron_Scaffolding_1.jpg)

my guess now is that the number-dataoption is not properly used in Conlfuence 3.5.13.

Could anyone please help me out in this matter?


Answers:
author: Septa Cahyadiputra
body: Double confirm if your [Scaffolding plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding) is compatible with your current Confluence release version. After upgrading your [Scaffolding plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding) to the compatible release version, please proceed to [re-attempt migration](https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format#MigrationfromWikiMarkuptoXHTML-BasedStorageFormat-Re-attemptMigration) and see how it goes.


author: CharlesH
body: Some plug-ins have changed along with Confluence 4, so you're best bet is to check the documentation provided by the plug-in manufacturer to find out what the changes are. In this case, you'll find that the name field is mandatory for number-data, so in all likelihood the error message is coming from the plugin, not Confluence.

<http://wiki.customware.net/repository/display/SCAF/number-data>


Tags: scaffolding
Testing Confluence upgrades
Asked by AbrahamA:

Hi

I upgraded confluence from 3..02 to 4.2.6

I had to upgrade to 3.5.17 to get to 4.2.6

Question is do I have to test the upgraded version of confluence in 3.5.17 and then upgrade to 4.2.6 and test

Or is it just sufficient to test upgraded version in 4.2.6

What is the recommended approach.

I know testing is always good, but want to know where to spend my time in testing.


Answers:
author: Colin Goudie
body: I would concentrate mostly on 4.2.6 although because of the usermanagement changes in 3.5 I would keep the 3.5 instance around for comparison and testing in case issues do crop up in 4.2 that you can't narrow down to a 4.2 issue

1. Upgrade to 3.5.x

2. Run up 3.5.x, update plugins and do some user tests such as logging in as various users and ensuring access. Making sure the same users/groups are present and everything appears to be in order

3. Backup in parrallel the 3.5 instance

4. Upgrade to 4.2.6

5. Run 4.2.6, update plugins and start extensive testing here
Why is my page tree of my knowledge base located at the top of the screen?
Asked by Shreena Patel:

I have checked if the Velocity Manager is enabled (and it is). My documentation theme is also enabled. How do I get the page tree located on the left and my information displayed on the right, like the knowledge base looks in the demos?? I thought it was a layout setting issue but it says "You can not customise the site look and feel while a theme is active. You must first disable the currently configured theme." Can someone help me? It seems simple but I can't figure it out.


Answers:
author: Shreena Patel
body: Im using Chrome not Internet Explorer. Top bar says in yellow writing "You have temporary access to administrative functions. [Drop access](http://localhost:8090/ajax/dropauthentication.action) if you no longer require it. For more information, refer to [the documentation](http://docs.atlassian.com/confluence/docs-42/Configuring+Secure+Administrator+Sessions)" No Javascript errors.


author: David at David Simpson Apps
body: I've seen this happen when using Internet Explorer in a very locked down corporate environment -- (guessing) Which version of Internet Explorer are you using? Does it display and JavaScript errors when you load the page?
sql-query dataSource not found
Asked by Gerri Urban:

Hello all -

This is driving me crazy. i'm trying to setup some SQL queries to find out how many attachments I have on my wiki and it just isn't working. I have tried the follwing:

<br />

{sql-query:datasource=JDBC/confluence}

{sql-query:datasource=mysql:jdbc/confluence}

I get sql: dataSource: Confluence not found.

if I do: {sql-query:datasource=confluence}

I get: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)

Pretty standard confluence install (on Windows 2003, MySQL installed on the same server, JDBC connector- wiki is running fine with no configuration changes) but these queries just won't work.

not sure what to try next - I've searched the documents out there and tried all that I have found and I can't seem to figure out just what I am missing.

Any help is appreciated.

Thank you!

Lirria


Answers:
author: Bob Swift (personal)
body: Have you looked at [SQL plugin datasource configuration](https://bobswift.atlassian.net/wiki/display/SQL/SQL+plugin+datasource+configuration) ? If that doesn't help, create an issue (issue tab from that page) and attach your server.xml (where you configured your datasource) and the wiki markup you are using.

comments: author: Gerri Urban
body: thanks Bob! I had tried that and it didn't help - I just posted the issue. I'm sure it's a config issue and I just can't see the error.

Lirria


author: Bob Swift (personal)
body: Resolved in [SQL-151](https://bobswift.atlassian.net/browse/SQL-151)


Tags: data-source

sql
How do you edit the search results page?
Asked by Patrick Illian:

I would like to edit the search results page so that if a person's search yields no results, there is a custom message and an option to email the admin with info on what they were searching for.

Is this possible? I notice you can edit the global layouts of the dashboard and what not. Just looking to see if there is a similar option for the search results menu.


Answers:
author: Matthew J. Horn
body: If you don't want to go the plugin route, you could work with the global layouts:

[https://answers.atlassian.com/questions/55842/how-do-i-customize-the-search-result-page](/questions/55842/how-do-i-customize-the-search-result-page)

comments: author: Patrick Illian
body: Yeah, I think this is the most practical for me at the moment. Thanks for the response!


author: Andrew Frayling
body: Hi Patrick,Search results are pluggable so you should be able to write a plugins to edit the search results page. atlassian have a tutorial on how to do this at <https://developer.atlassian.com/display/CONFDEV/Writing+a+search+result+renderer>Hope that helps?Andrew

comments: author: Patrick Illian
body: That might help, thank you!


Tags: administration

result

search
Popular content - how to exclude pages and how to change its layout
Asked by Tomas Zubov:

Hello,

1) How can I exclude home page from popular content?

2) How can I change the layout of this? I need to display popular content with exatly the same layout as recently updated


Answers:
author: Giuliano C.
body: Hello,

I'm not sure about it, but based on the index, it's not possible to remove home page from popular content, because it will be rebuilded as it is based on index.

About the popular content Layout, is a interesting feature, but may be you can just remove it and don't change its layout. Sorry that Confluence doesn't have a concrete solution for it at the moment.

Please, take a look at:

[Working with Page Layouts and Columns and Sections](https://confluence.atlassian.com/display/DOC/Working+with+Page+Layouts+and+Columns+and+Sections "Working with Page Layouts and Columns and Sections")

[Likes and Populas Content](https://confluence.atlassian.com/display/DOC/Likes+and+Popular+Content "Likes and Popular Content")

[Customising the Dashboard](https://confluence.atlassian.com/display/DOC/Customising+the+Dashboard "Customising the Dashboard")

Hope it helps you, Tomas!

All the best,

Giuliano
Share page to the group in Confluence 3.5.9
Asked by Atis Slisans:

I only see that username or email is available for sharing the page.

Is it possible to share page with a group? How?

Thanks, in advance!


Answers:
author: Mark Hrynczak
body: It is not currently possible to do this within Confluence. A workaround would be to set up a group mailing list for each group that you want to share with, and then share the page to that group email.

There is an open feature request to support sharing to groups: <https://jira.atlassian.com/browse/CONF-22430>

Watch that issue to stay informed on it's progress.

comments: author: Atis Slisans
body: thanks.

Idea with mailing list was my only idea too.


author: HDub
body: I created a user for each mailing list. Not much fun to assign a user for each group, lowering the number of available users. However it makes sharing with a group much easier.
Advice on how to import a product documentation created with RoboHelp into Confluence
Asked by Kirstin Seidel-Gebert:

We newly upgraded our Confluence installation from version 2.x to 4.2. As Confluence is providing an easy way to build up and maintain a documentation, we want to import our existing RoboHelp HTML documentation into Confluence.

However, all ways of importing content into Confluence seem to have drawbacks:

- Importing Word documents neglects links and images.

- The PHP script supplied by a users community doesn't work out of the box, but throws errors.

- The indirect way via a MediaWiki didn't work either.

We have appr. 1800 pages to convert, so doing this manually would be too much time consuming. How do other customers of yours solve this problem?

Regards,

Kirstin


Answers:
author: Kirstin Seidel-Gebert
body: We finally did it via the Word import and added the images manually.


author: Kirstin Seidel-Gebert
body: We finally did it via the Word import and added the images manually.


author: Bob Swift (personal)
body: Well, you could use the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) together with the [Confluence Html Plugin](https://bobswift.atlassian.net/wiki/display/HTML). That will get the content in, but it is HTML and you probably want to convert the data for native Confluence editing. That will take some scripting or transform.
Read {list-data} and assign value to a variable.
Asked by Stefan Eike:

I do really feel ashame asking this noobish question, 'cause the answer will be self-evident, but I couldn't get it and wastet more than an hour ...

I'm developing users macros and space templates. Somewhere in my template is a **{list-data}** . I want to display the value of the selected option (in this case **o1** or **o2**) somewhere else on the same page and assign it to a variable.

{list-data:**mylistdata** \|type=select\|multiple=false\|required=true\|blank=true\|width=100%}  
{list-option:value=**o1** }Option 1{list-option}  
{list-option:value=**o2** }Option 2{list-option}  
{list-data}

Do I really have to use a macro like **{report-info}** or something similar?


Answers:
author: Thomas Schlegel
body: Hi Stefan,

just type:

{get-data:mylistdata}Default value{get-data}

Cheers

Thomas

comments: author: Stefan Eike
body: Thank you Thomas-S. Do you have an idea, if and how I can assign the return value to a variable? Or if and how I can add the value as a label using {add-label}?


author: Stefan Eike
body: \^\^ That's it!


author: Stefan Eike
body: {replace-and-render}  
{replace-item:%mynewlabel%}{get-data:mylistdata}{replace-item}  
{replace-body}{add-label:%mynewlabel%}{replace-body}  
{replace-and-render}


author: Stefan Eike
body: Ok, I can add is as a lable, but this is not working, if the return value contains free spaces. So I have to do some stuff with the return value. Therefore I need it in a variable. This does not work:  

{replace-and-render}  
{replace-item:%mynewlabel%}{get-data:mylistdata}{replace-item}  
{replace-body}  
%mynewlabel%  
{replace-body}  
{replace-and-render}

And ideas?


Tags: list

user-macro
Where are the restricted groups in use?
Asked by Rumceisz:

Hi All,

we have a common Jira- Confluence user management in our company. Because of this we use only groups for granting permissions for users in both applications.

Now as an admin I handle up to 200 spaces in Confluence and about 800 groups for granting permissions on the spaces/projects.

Our problem is that there are more and more groups in Confluence which serve page restriction purposes and when a space admin submits a user access ticket that we add the user to a restriction group, it is very cumbersome to find out on which space is the particular restriction group. I mean that there is not enough to add the user to a restriction group unless ading him/her to a space group.

So I need a user macro which lists all the restriction groups (which don't grant space permission) with the space names is working on. Or the reverse would be as arbitrary: listing all the spaces of the Confluence instance and listing the restriction group below each space.

Can it be done such a feature?

Thanks in advance!

Rumi


Answers:
author: Bob Swift (personal)
body: [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) [getSpacePermissionList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getSpacePermissionList) might help. Put the results on a Confluence page with [Confluence CLI Plugin](https://bobswift.atlassian.net/wiki/display/CCLI)

comments: author: Rumceisz
body: Hi Bob,

thank you!

Is there a macro maybe too?


author: Bob Swift (personal)
body: cli macro in [Confluence CLI Plugin](https://bobswift.atlassian.net/wiki/display/CCLI)


author: Rumceisz
body: I mean a solution without installing a plugin.


author: Bob Swift (personal)
body: Attach the output of the CLI or script converting the output into page content formatted the way you want.


author: David at David Simpson Apps
body: Confluence CLI is always a help :)


Tags: group

macro

restriction
how can I print a page displaying team calendars?
Asked by James Kleinig:

Where we're aggregated multiple calendars together on a Confluence page, would be really useful for users to be able to print off a snapshot of the events as seen on the page.

Perhaps formatted as a PDF?

Currently we'd have to take a screen grab. Not ideal.


Answers:
author: Sean King
body: File \> Print works better than Tools \> Export to PDF. Changing the page to landscape with smaller margines seems to fit everything nicely.


author: MichaelO
body: really good, a calendar for 400$ cannot be printed. What a sh.. !!


author: Matthew Erickson
body: Hi james,

Unfortunatly the moment Team Calendars does not print very well. There is an issue here you can vote for: https://jira.atlassian.com/browse/TEAMCAL-175


Tags: print

team-calendars-for-confluence
Confluence bootstrap/selectsetupstep.action will not load
Asked by Lyndon-Michael Gordon:

I have just unpacked Confluence-3.4.9-std, and left all defaults in place, with the exception of changing the port to 8090. However, I get a 404 page everytime I am trying to access the initial setup screen.

I have mucked around with all the LoadBalancer rules and can not tell what is failing where. So far, I have a baseurl setup with 8090, without any hhtp profile or ssl profile. The logs show Confluence starting up just fine. I also deleted all files from CONFLUENCE_HOME and TOMCAT_HOME, as I saw this in a previous post.

\<atlassian-confluence.log\>

```
2012-07-02 12:22:06,727 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.4.9 (build #2042)2012-07-02 12:22:09,323 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system2012-07-02 12:22:09,644 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.3172012-07-02 12:22:12,854 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
```

\<catalina.out\>

```
Jul 2, 2012 12:22:02 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.Jul 2, 2012 12:22:02 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.Jul 2, 2012 12:22:02 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.Jul 2, 2012 12:22:02 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.Jul 2, 2012 12:22:02 PM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8090Jul 2, 2012 12:22:02 PM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 336 msJul 2, 2012 12:22:02 PM org.apache.catalina.core.StandardService startINFO: Starting service Tomcat-StandaloneJul 2, 2012 12:22:02 PM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.322012-07-02 12:22:06,727 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.4.9 (build #2042)2012-07-02 12:22:09,323 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system2012-07-02 12:22:09,644 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.317Jul 2, 2012 12:22:12 PM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8090Jul 2, 2012 12:22:12 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 10605 ms
```


Answers:
author: Whit Blauvelt
body: Still a problem in 2016.


author: EZE ONUOHA
body: I have similar problem. No one has been able to assist yet
No users able to log in to confluence. Admin user can log in, but has lost priveleges
Asked by NameMedia:

No users able to log in to confluence. Admin user can log in, but has lost priveleges.

For example, when I try and log in as the admin user, the password is accepted, but when trying to go to the admin login page, I see this:

You do not have permission to access /admin/default.jsp. To access this page, please log in as a user with sufficient permissions.

All of our confluence users are synced out of JIRA Crowd from our JIRA installation. JIRA, Fisheye/Crucible, and Confluence are all on the same server, JIRA, Fisheye, and Crucible still seem to be working.

Jim


Answers:
author: Nic Brough -Adaptavist-
body: I think the first question is "what did you change". It sounds very much like the connection to Crowd has died, and it's reverted to using the internal database of users, which won't contain your Crowd users (and I suspect Crowd was telling it your Admin user was in the admin group and is not doing that any more)

Check your log files to see what is going on, especially around the last time Confluence started up - there should be something about it connecting to Crowd there. And, obviously, go over your changes to see if anything has been done that could be breaking the connection to Crowd.
LDAP Configuration issue
Asked by shivanand kadalli:

I have two Issues

1) I need to understand how to configure lDAP synch in such a way that based on groups filter for active directory groups, users should be downloaded and synched. and not seperately. Its simply : get only these groups and all users belonging to these groups.

2) Once the synch is setup, where does the confluence store this information in the system? I wanted to use this stored xml for future alterations in filter. The reason i want to do this way is, I use siteminder and in my case, for any alter, i have to change the siteminder settings and then needs confluence re-start which is a lenghty and potentially a disruptive step.

Thanks

shiv


Answers:
author: Harry Chan
body: Hi, in Confluence 3.5 and above you can simply setup LDAP by going into Confluence Administration-\>User Directories. You can use an LDAP filter to do what you need.

This configuration file can be viewed by pressing Configuration Summary also under User Directories.
Confluence macro migrated to 4.2 showing unknown.?
Asked by tousifs:

Hi All,

I have already migrated confleunce data. now i am changing plugin making it compatible to 4.2.2.

prior it was not available with macro browser.now its available with macro browser for existing pages all macros are showing **unknown**.

do i need to do the data migration one more time?

atlassian-plugin.xml entry for xhtml. 4.2.2

**\<xhtml-macro key="test"**   
**name="test"**   
**class="com.test.confluence.plugin.macros.test"\>**   
**\<category name="development"/\>**   
**\<parameters/\>**

atlassian-plugin.xml 3.1.2

**\<macro name='test' class='com.test.confluence.plugin.macros.test' key='test'\>**   
**\<!-- TODO: Add macro description --\>**   
**\<!-- \<description\>\</description\> --\>**   
**\</macro\>**

all macros are showing as unknown is there any way how to update content compatible with xhtml-macro.

also for 4.2.2 can i write macro inside macro?

thanks.


Answers:
author: Matthew J. Horn
body: I can aswer the last question: yes, you can use a macro inside a macro:

<http://www.confluenza.com/2012/06/11/use-a-macro-within-a-macro/>
How to Solve Disconnected Arabic/Persian Characters on Export to PDF
Asked by Masood Banaie:

There is a problem with the Export to PDF option whenever the sentences are in Arabic/Persian characters that makes the words unreadable in the exported PDF.

How can I solve the problem?


Answers:
author: LucasA
body: Hello,

You have to upload the necessary font files to your instance. Since you will need sysadmin rights, please raise a support issue on href="https://support"\>https://support.atlassian.com .

Cheers,

Lucas Lima

Atlassian Support

comments: author: Masood Banaie
body: Thanks!

But, you mean I can't solve this myself?


author: Alejandro Conde Carrillo
body: I think this could be a problem with the font you are using in your PDF exports. You could upload a new font for your PDF exports as explained in this [link](https://confluence.atlassian.com/display/CONF43/Creating+PDF+in+Another+Language "Creating PDF in Another Language").


Tags: confluence-cloud

pdf-export